nix build
creates a result-${outName}
symlink unexpectedly
#9447
Milestone
nix build
creates a result-${outName}
symlink unexpectedly
#9447
Describe the bug
nix build
's result symlink filename depends on how the output was created, which is quite unexpected and catches me off guard whenever I build a single output.Steps To Reproduce
nix build nix#nix.doc
xdg-open result/share/doc/nix/manual/index.html
Alternatively, try to build and then run a package that has a
bin
outputs, such as those from Nixpkgs HaskellenableSeparateBinOutput
.Expected behavior
nix build
always produces abuild
orbuild-${n}
symlink regardless of how a package implements its package outputs - whether that's through multi-output derivations or multiple derivations. Store-level details such as the output name are insignificant and don't lead to different behaviors on the CLI.nix-env --version
outputAdditional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: