1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 03:51:07 +01:00

Use only tools from Nixpkgs in activation script

Note, we still pull in the user's `PATH` in case the user has defined
their own activation blocks that depend on additional tools.
Eventually this will be deprecated and removed.

See #99.
This commit is contained in:
Robert Helgesson 2017-10-20 14:02:05 +02:00
parent b9f49cee45
commit 30b9d7f00e
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
5 changed files with 43 additions and 3 deletions

View file

@ -248,6 +248,12 @@ in
activationBinPaths = lib.makeBinPath [
pkgs.bash
pkgs.coreutils
pkgs.diffutils # For `cmp` and `diff`.
pkgs.findutils
pkgs.gnugrep
pkgs.gnused
pkgs.ncurses # For `tput`.
pkgs.nix
];
sf = pkgs.writeText "activation-script" ''