top-level: Add more options to release-cross.nix, normalize param comments

This commit is contained in:
John Ericson 2017-01-14 14:25:01 -05:00
parent b518598a40
commit 427dbcb1d7
2 changed files with 13 additions and 5 deletions

View File

@ -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
lib = import ../../lib;

View File

@ -11,10 +11,10 @@
{ nixpkgs ? { outPath = (import ../.. {}).lib.cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
, officialRelease ? false
# The platforms for which we build Nixpkgs.
, supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
# Strip most of attributes when evaluating to spare memory usage
, scrubJobs ? true
, # The platforms for which we build Nixpkgs.
supportedSystems ? [ "x86_64-linux" "i686-linux" "x86_64-darwin" ]
, # Strip most of attributes when evaluating to spare memory usage
scrubJobs ? true
}:
with import ./release-lib.nix { inherit supportedSystems scrubJobs; };