
Since <nixpkgs> wasn't working, might as well make the error more explicit. That way, users are quickly aware if they forgot to pin their nixpkgs.
7 lines
189 B
Nix
7 lines
189 B
Nix
_:
|
|
throw ''
|
|
This container doesn't include nixpkgs.
|
|
|
|
Pin your dependencies. Or if you must, override the NIX_PATH environment
|
|
variable with eg: "NIX_PATH=nixpkgs=channel:nixos-unstable"
|
|
''
|