release-cuda: account for Hydra passing extra flags (#337839)

This commit is contained in:
Someone 2024-08-28 08:10:12 +00:00 committed by GitHub
commit 2893de7dd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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