diff options
author | lassulus <lassulus@lassul.us> | 2021-10-24 20:34:17 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-24 20:34:17 +0200 |
commit | ee50871bd10676e26b280084417bcbc9963ffe70 (patch) | |
tree | 81a5c5a9efcde35aa627d7b4debd82d79aca366f /lass/1systems | |
parent | 6ad567a18ed27b8c07bd79e045ac082f1dfe148e (diff) |
l coaxmetal.r: force only git.ref
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/coaxmetal/source.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lass/1systems/coaxmetal/source.nix b/lass/1systems/coaxmetal/source.nix index 7f335ec05..abbf26c75 100644 --- a/lass/1systems/coaxmetal/source.nix +++ b/lass/1systems/coaxmetal/source.nix @@ -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; }); } |