base-images/fake_nixpkgs/default.nix

11 lines
318 B
Nix
Raw Normal View History

2023-08-12 08:21:33 +01:00
_:
throw ''
This container doesn't include nixpkgs.
The best way to work around that is to pin your dependencies. See
https://nix.dev/tutorials/towards-reproducibility-pinning-nixpkgs.html
Or if you must, override the NIX_PATH environment variable with eg:
"NIX_PATH=nixpkgs=channel:nixos-unstable"
''