Skip to content

Commit 0ddfbc5

Browse files
committed
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 after 4108529.
1 parent d975d32 commit 0ddfbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packaging/everything.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ stdenv.mkDerivation (finalAttrs: {
192192
devPaths = lib.mapAttrsToList (_k: lib.getDev) finalAttrs.finalPackage.libs;
193193
in
194194
''
195-
mkdir -p $out $dev $doc $man
195+
mkdir -p $out $dev
196196
197197
# Merged outputs
198198
lndir ${nix-cli} $out

0 commit comments

Comments
 (0)