mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
Merge pull request #334840 from SomeoneSerge/fix/release-cuda/pure-eval
release-cuda: allow passing `system` to release-lib
This commit is contained in:
commit
034d0a7d15
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user