Closed TornaxO7 closed 6 months ago
Hmmm...What command are you running exactly?
Hmmm...What command are you running exactly?
Either none (since it gets automatically loaded) or nix develop
.
It's really common that flake.nix
and flake.lock
exist in the root directory.
Either none (since it gets automatically loaded)
Its because you left the .envrc
file in the root dir. Put it in the nix
dir and cd
into it, I think that should do the trick.
or
nix develop
.
Just call nix develop
in the nix
dir. IIRC there's also a -f
flag to set the path to flake.nix
file.
It's really common that flake.nix and flake.lock exist in the root directory.
I have seen many projects putting all the nix stuff in a single nix
dir :).
I have seen many projects putting all the nix stuff in a single nix dir :).
Huh, all? I'm aware of packaging and modules but I'm definetely sure that everyone puts at least flake.lock
and flake.nix
in the root directory.
Its because you left the .envrc file in the root dir. Put it in the nix dir and cd into it, I think that should do the trick.
That doesn't work because it unloads if I leave the nix
directory.
Just call nix develop in the nix dir. IIRC there's also a -f flag to set the path to flake.nix file.
Not that I'm aware of and -f
doesn't seem to exist for nix develop
.
Fine I am just merging this.
Looks like that it doesn't work (somehow it used to work on my pc?):