docker-nixpkgs/images/nix/fake_nixpkgs/default.nix
zimbatm 0b362172fb
nix: introduce fake nixpkgs (#9)
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.
2020-06-17 20:49:42 +00:00

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"
''