diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2016-12-12 11:08:23 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2016-12-12 11:08:23 +0100 |
| commit | 98f6b407ec4ebf3b163cc229fe44d77fa453ad15 (patch) | |
| tree | e9bc75751df92931cfec76da4256293c741386d7 /modules | |
| parent | da4433fbf8343a2a964e0896ac0c08778aca4a2b (diff) | |
add separate tools to systemPackages
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/nix/nix-tools.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/nix/nix-tools.nix b/modules/nix/nix-tools.nix index 11b222b..580244d 100644 --- a/modules/nix/nix-tools.nix +++ b/modules/nix/nix-tools.nix @@ -9,15 +9,10 @@ in { config = { - system.build.nix = pkgs.runCommand "nix-darwin" {} '' - mkdir -p $out/bin - ln -s ${tools.darwin-option} $out/bin/darwin-option - ln -s ${tools.darwin-rebuild} $out/bin/darwin-rebuild - ''; - environment.systemPackages = [ # Include nix-tools by default - config.system.build.nix + tools.darwin-option + tools.darwin-rebuild ]; }; |
