From 9519ca27310be7daff71a0c9f03d42980cd61ec7 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Mon, 29 Jun 2020 14:54:59 +0200 Subject: [PATCH] fake_nixpkgs: add link to doc --- images/nix/fake_nixpkgs/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/images/nix/fake_nixpkgs/default.nix b/images/nix/fake_nixpkgs/default.nix index e45432a..55e2369 100644 --- a/images/nix/fake_nixpkgs/default.nix +++ b/images/nix/fake_nixpkgs/default.nix @@ -2,6 +2,9 @@ _: 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" +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" ''