makefu krops: don't rely on <nixpkgs>

This commit is contained in:
lassulus 2021-12-08 12:27:11 +01:00
parent 813e29c498
commit 2be5f54e88

View File

@ -25,7 +25,10 @@
symlink = "/nix/var/nix/profiles/per-user/root/channels/nixos/"; symlink = "/nix/var/nix/profiles/per-user/root/channels/nixos/";
} else { } else {
derivation = '' 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 { pkgs.fetchFromGitHub {
owner = "nixos"; owner = "nixos";
repo = "nixpkgs"; repo = "nixpkgs";