Merge pull request #334840 from SomeoneSerge/fix/release-cuda/pure-eval

release-cuda: allow passing `system` to release-lib
This commit is contained in:
Someone 2024-08-21 15:10:12 +00:00 committed by GitHub
commit 034d0a7d15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,7 +43,8 @@ in
inHydra = true;
};
},
}:
...
}@args:
assert builtins.elem variant [
"cuda"
@ -52,7 +53,9 @@ assert builtins.elem variant [
];
let
release-lib = import ./release-lib.nix { inherit supportedSystems nixpkgsArgs; };
release-lib = import ./release-lib.nix (
{ inherit supportedSystems nixpkgsArgs; } // builtins.removeAttrs args [ "variant" ]
);
inherit (release-lib) lib;
inherit (release-lib)