mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
release-cuda: account for Hydra passing extra flags (#337839)
This commit is contained in:
commit
2893de7dd8
@ -13,6 +13,7 @@
|
||||
*/
|
||||
|
||||
let
|
||||
lib = import ../../lib;
|
||||
ensureList = x: if builtins.isList x then x else [ x ];
|
||||
allowUnfreePredicate =
|
||||
p:
|
||||
@ -53,11 +54,11 @@ assert builtins.elem variant [
|
||||
];
|
||||
|
||||
let
|
||||
release-lib = import ./release-lib.nix (
|
||||
{ inherit supportedSystems nixpkgsArgs; } // builtins.removeAttrs args [ "variant" ]
|
||||
mkReleaseLib = import ./release-lib.nix;
|
||||
release-lib = mkReleaseLib (
|
||||
{ inherit supportedSystems nixpkgsArgs; } // lib.intersectAttrs (lib.functionArgs mkReleaseLib) args
|
||||
);
|
||||
|
||||
inherit (release-lib) lib;
|
||||
inherit (release-lib)
|
||||
linux
|
||||
mapTestOn
|
||||
|
Loading…
Reference in New Issue
Block a user