Describe the bug
Trying to access a flake though a symlink fails with the following error:
error: path '/tmp/nixfiles' is not a flake (because it's not a directory)
Steps To Reproduce
- Create a symlink to a flake.
- Try to build a derivation through the symlink.
$ ln -s ~/Projects/nixfiles/ /tmp/nixfiles
$ nix build /tmp/nixfiles#hello
error: path '/tmp/nixfiles' is not a flake (because it's not a directory)
Expected behavior
It should resolve the symlink and work with the target directory
nix-env --version output
nix (Nix) 2.14.1
Priorities
Add 👍 to issues you find important.
Describe the bug
Trying to access a flake though a symlink fails with the following error:
Steps To Reproduce
Expected behavior
It should resolve the symlink and work with the target directory
nix-env --versionoutputnix (Nix) 2.14.1
Priorities
Add 👍 to issues you find important.