release-cuda: allow passing system
to release-lib
This commit is contained in:
parent
b5c2e5aee6
commit
40dc65f56d
@ -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