Merge pull request #21891 from Ericson2314/release-cross
top-level: Add more options to release-cross.nix, normalize param com…
This commit is contained in:
commit
b859ae25dd
@ -1,4 +1,12 @@
|
|||||||
with import ./release-lib.nix { supportedSystems = [ builtins.currentSystem ]; };
|
|
||||||
|
{ # The platforms for which we build Nixpkgs.
|
||||||
|
supportedSystems ? [ builtins.currentSystem ]
|
||||||
|
, # Strip most of attributes when evaluating to spare memory usage
|
||||||
|
scrubJobs ? true
|
||||||
|
}:
|
||||||
|
|
||||||
|
with import ./release-lib.nix { inherit supportedSystems scrubJobs; };
|
||||||
|
|
||||||
let
|
let
|
||||||
lib = import ../../lib;
|
lib = import ../../lib;
|
||||||
|
|
||||||
|
@ -11,10 +11,10 @@
|
|||||||
|
|
||||||
{ nixpkgs ? { outPath = (import ../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
|
{ nixpkgs ? { outPath = (import ../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
|
||||||
, officialRelease ? false
|
, officialRelease ? false
|
||||||
# The platforms for which we build Nixpkgs.
|
, # The platforms for which we build Nixpkgs.
|
||||||
, supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
|
supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
|
||||||
# Strip most of attributes when evaluating to spare memory usage
|
, # Strip most of attributes when evaluating to spare memory usage
|
||||||
, scrubJobs ? true
|
scrubJobs ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with import ./release-lib.nix { inherit supportedSystems scrubJobs; };
|
with import ./release-lib.nix { inherit supportedSystems scrubJobs; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user