Open anntnzrb opened 2 months ago
Hi had the same problem, just today. But this worked for me:
nix flake show . --impure # mark the dot
I think this is a quirk which requires to use .
with --impure
.
I'm using the flake-parts template
Just needs --impure
.
Hi had the same problem, just today. But this worked for me:
nix flake show . --impure # mark the dot
I think this is a quirk which requires to use
.
with--impure
.I'm using the flake-parts template
Just needs
--impure
.
This should theoretically solve this issue, however, what about #1018 ?
My vague understanding with #1018 is that you have to modify your flake to add a new input.
Describe the bug There is an issue with the
simple
andflake-parts
templates in the repository. When running thenix flake show
command, it results in an error related to theupdate (//) operator
.To reproduce Steps to reproduce:
nix flake new -t <...>
simple
orflake-parts
template directory.nix flake show
command.Error Message:
Version
Tested on WSL, NixOS, and Nix-Darwin environments.