summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-08 12:27:11 +0100
committerlassulus <lassulus@lassul.us>2021-12-08 12:27:11 +0100
commit2be5f54e88e537ab7f957efee98160ef56889969 (patch)
tree514cac87e1aa815d0a705c6b9bec294322d0bb0a
parent813e29c498ca3f7a93dcf47af7e485c716f7b08f (diff)
makefu krops: don't rely on <nixpkgs>
-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";