l coaxmetal.r: force only git.ref
This commit is contained in:
parent
6ad567a18e
commit
ee50871bd1
@ -1,7 +1,7 @@
|
||||
{ lib, pkgs, test, ... }: let
|
||||
npkgs = lib.importJSON ../../../krebs/nixpkgs-unstable.json;
|
||||
in {
|
||||
nixpkgs = lib.mkForce (if test then { derivation = let
|
||||
nixpkgs = (if test then lib.mkForce ({ derivation = let
|
||||
rev = npkgs.rev;
|
||||
sha256 = npkgs.sha256;
|
||||
in ''
|
||||
@ -15,7 +15,7 @@ in {
|
||||
rev = "${rev}";
|
||||
sha256 = "${sha256}";
|
||||
}
|
||||
''; } else {
|
||||
git.ref = npkgs.rev;
|
||||
''; }) else {
|
||||
git.ref = lib.mkForce npkgs.rev;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user