mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
packaging/everything.nix: Fix doc and man outputs
We want the $doc, $man outputs to be symlinks pointing to nix-manual and nix-manual.man. Creating the directories first makes the `ln` command produce symlink $doc/${nix-manual} instead. ``` $file /nix/store/q4dwlnd36gpfajgfcp6hca2xwy068wjq-nix-2.27.1-man/rwh8ky3k040wyrywl8k2v5b3csdfbdg7-nix-manual-2.27.1-man /nix/store/q4dwlnd36gpfajgfcp6hca2xwy068wjq-nix-2.27.1-man/rwh8ky3k040wyrywl8k2v5b3csdfbdg7-nix-manual-2.27.1-man: symbolic link to /nix/store/rwh8ky3k040wyrywl8k2v5b3csdfbdg7-nix-manual-2.27.1-man ``` This is the reason `nix-env --help` is once again broken on 2.26/2.27/master after4108529
. (cherry picked from commit0ddfbc5939
)
This commit is contained in:
parent
e39c497cee
commit
c73f672afd
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
devPaths = lib.mapAttrsToList (_k: lib.getDev) finalAttrs.finalPackage.libs;
|
||||
in
|
||||
''
|
||||
mkdir -p $out $dev $doc $man
|
||||
mkdir -p $out $dev
|
||||
|
||||
# Merged outputs
|
||||
lndir ${nix-cli} $out
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue