From cb688a90e36d720fc70d77bd1e207bafefcbc449 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Mon, 27 Jun 2022 16:54:29 +0200 Subject: [PATCH] nix-shell: set the NIX_PATH Use the same version of nixpkgs as the shell itself --- shell.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell.nix b/shell.nix index c27ec24..9c27da4 100644 --- a/shell.nix +++ b/shell.nix @@ -13,5 +13,7 @@ mkShell { shellHook = '' # try to work aroud build issues unset TMPDIR + + export NIX_PATH=nixpkgs=${toString nixpkgs} ''; }