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.
This commit is contained in:
zimbatm authored and GitHub committed 2020-06-17 20:49:42 +00:00
1 parent 0f24a9c94a
commit 0b362172fb
2 files changed
+8 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
_:
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"
''