diff options
author | Robert Hensing <robert@roberthensing.nl> | 2018-02-01 10:34:03 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2018-02-09 18:32:26 +0000 |
commit | 209f8b1acd4c855d223d93f02caf3ccf6cec7e32 (patch) | |
tree | 666e216da70cb49ed3a367cc63ac94a10c3aecd4 /nixos/release-combined.nix | |
parent | 9861064f35923250991a523bc8c274fad3a100d8 (diff) | |
download | nixpkgs-209f8b1acd4c855d223d93f02caf3ccf6cec7e32.tar nixpkgs-209f8b1acd4c855d223d93f02caf3ccf6cec7e32.tar.gz nixpkgs-209f8b1acd4c855d223d93f02caf3ccf6cec7e32.tar.bz2 nixpkgs-209f8b1acd4c855d223d93f02caf3ccf6cec7e32.tar.lz nixpkgs-209f8b1acd4c855d223d93f02caf3ccf6cec7e32.tar.xz nixpkgs-209f8b1acd4c855d223d93f02caf3ccf6cec7e32.tar.zst nixpkgs-209f8b1acd4c855d223d93f02caf3ccf6cec7e32.zip |
nixos/release*.nix: Clean nixpkgs sources by default
Currently, when building NixOS from a git clone, Nix has to copy the entire repo at >1GB into the store by default. That is not necessary and causes a dumping large path message. If you need the old behaviour for some reason, you will have to specify it by passing the path to your repo explicitly as the nixpkgs argument like this: --arg nixpkgs '{outPath = ./.; revCount = 56789; shortRev = "gfedcba"; }'
Diffstat (limited to 'nixos/release-combined.nix')
-rw-r--r-- | nixos/release-combined.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix index d4f77ea445d..9d4a551a958 100644 --- a/nixos/release-combined.nix +++ b/nixos/release-combined.nix @@ -2,7 +2,7 @@ # and nixos-14.04). The channel is updated every time the ‘tested’ job # succeeds, and all other jobs have finished (they may fail). -{ nixpkgs ? { outPath = ./..; revCount = 56789; shortRev = "gfedcba"; } +{ nixpkgs ? { outPath = (import ../lib).cleanSource ./..; revCount = 56789; shortRev = "gfedcba"; } , stableBranch ? false , supportedSystems ? [ "x86_64-linux" ] , limitedSupportedSystems ? [ "i686-linux" ] |