diff options
author | lassulus <lassulus@lassul.us> | 2021-12-08 12:27:11 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-12-08 12:27:11 +0100 |
commit | c28f9c0a79d5c7a170f9db13e7016d2c006cf617 (patch) | |
tree | d17e15e65d6747cae2467d7ce3070e5281f2685f | |
parent | 0e49bfcb384c912f7d32cadbe258962dc88301c9 (diff) |
makefu krops: don't rely on <nixpkgs>
-rw-r--r-- | krops.nix | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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"; |