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

wip/yesman
John Ericson 8 years ago
parent b518598a40
commit 427dbcb1d7
  1. 10
      pkgs/top-level/release-cross.nix
  2. 8
      pkgs/top-level/release.nix

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

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

Loading…
Cancel
Save