summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--makefu/krops.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/makefu/krops.nix b/makefu/krops.nix
index 1db4401a4..da6e38e7e 100644
--- a/makefu/krops.nix
+++ b/makefu/krops.nix
@@ -25,7 +25,10 @@
symlink = "/nix/var/nix/profiles/per-user/root/channels/nixos/";
} else {
derivation = ''
- with import <nixpkgs> {};
+ with import (builtins.fetchTarball {
+ url = "https://github.com/nixos/nixpkgs/archive/${nixpkgs-src.rev}.tar.gz";
+ sha256 = "${nixpkgs-src.sha256}";
+ }) {};
pkgs.fetchFromGitHub {
owner = "nixos";
repo = "nixpkgs";