From 208922d9f9889c163368d72080b81dbd837f1c1b Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Sat, 12 Dec 2020 17:20:06 +0100 Subject: [PATCH] Fix nix run It requires an explicit `nixpkgs=` entry in `NIX_PATH` to work. --- modules/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/default.nix b/modules/default.nix index 9663205..dbbddc3 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -73,6 +73,7 @@ nix = { nixPath = [ "/var/src" # pinned nixpkgs and configuration + "nixpkgs=/var/src/nixpkgs" # for nix run ]; # Make sudoers trusted nix users trustedUsers = [ "@wheel" ];