diff options
-rw-r--r-- | default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/default.nix b/default.nix index 03869bc..575d176 100644 --- a/default.nix +++ b/default.nix @@ -75,8 +75,8 @@ let # Export nixpkgs and standard library lib pkgs = nixpkgs; lib = nixpkgs.lib // { types = types; shard = callBionix ./lib/shard.nix {};}; - stage = x@{ name, stripStorePaths ? true, ... }: - (if stripStorePaths then strip else x: x) ({ multicore = false; } // nixpkgs.stdenvNoCC.mkDerivation (x // {name = "bionix-" + name; })); + stage = x@{ name, stripStorePaths ? true, multicore ? false, ... }: + (if stripStorePaths then strip else x: x) (nixpkgs.stdenvNoCC.mkDerivation (x // {name = "bionix-" + name; inherit multicore;})); strip = drv: drv.overrideAttrs (attrs: { buildCommand = attrs.buildCommand + '' @@ -96,7 +96,7 @@ let rewriteOutput $o done ''; - }); + }); # splitting/joining splitFile = file: drv: stage { |