Closed langston-barrett closed 8 years ago
What abut nix-env -iA go2nix
?
Still no, actually:
code/nixpkgs > git log | head -n 1
commit 83df0e7b18f3856d631a66243f5ad57571b1306c
code/nixpkgs > nix-env -iA go2nix
error: attribute ‘go2nix’ in selection path ‘go2nix’ not found
Sorry if this a dumb error on my part.
You may need to say explicitly where is your nixpkgs
repo like:
code/nixpkgs > nix-env -f . -iA go2nix
Huh, that worked! Thanks! I wonder why I had an issue... Seems like the package name is go1.7-go2nix-1.1.1
, maybe that's part of it.
You can try to do https://github.com/NixOS/nix/issues/487#issuecomment-251756794 if you don't want to use -f
all the time.
@kamilchm Thanks, that is confusing behavior :confused:
The command in the README isn't working for me: