diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index de64c2b3cc7d..a2f5903e55d2 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.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; diff --git a/pkgs/top-level/release.nix b/pkgs/top-level/release.nix index d3fb4e646c3b..2052957edd61 100644 --- a/pkgs/top-level/release.nix +++ b/pkgs/top-level/release.nix @@ -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; };