diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2016-01-28 11:24:18 +0100 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2016-01-28 11:24:18 +0100 |
commit | ab8a691d059b364c435a1871ae2ef70a578685d8 (patch) | |
tree | a9158496e379970c0cb25b4068488c46fccc3f16 /nixos/modules/programs | |
parent | a33fcc873110a6ded62f3286d9850ac5a445df89 (diff) | |
download | nixlib-ab8a691d059b364c435a1871ae2ef70a578685d8.tar nixlib-ab8a691d059b364c435a1871ae2ef70a578685d8.tar.gz nixlib-ab8a691d059b364c435a1871ae2ef70a578685d8.tar.bz2 nixlib-ab8a691d059b364c435a1871ae2ef70a578685d8.tar.lz nixlib-ab8a691d059b364c435a1871ae2ef70a578685d8.tar.xz nixlib-ab8a691d059b364c435a1871ae2ef70a578685d8.tar.zst nixlib-ab8a691d059b364c435a1871ae2ef70a578685d8.zip |
nixos systemPackages: rework default outputs
- Now `pkg.outputUnspecified = true` but this attribute is missing in every output, so we can recognize whether the user chose or not. If (s)he didn't choose, we put `pkg.bin or pkg.out or pkg` into `systemPackages`. - `outputsToLink` is replaced by `extraOutputsToLink`. We add extra outputs *regardless* of whether the user chose anything. It's mainly meant for outputs with docs and debug symbols. - Note that as a result, some libraries will disappear from system path.
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/man.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/man.nix b/nixos/modules/programs/man.nix index b28506538049..94d026fdaef0 100644 --- a/nixos/modules/programs/man.nix +++ b/nixos/modules/programs/man.nix @@ -23,7 +23,7 @@ with lib; environment.pathsToLink = [ "/share/man" ]; - environment.outputsToLink = [ "man" ]; + environment.extraOutputsToLink = [ "man" ]; }; |