Don't build splices unless required
commitaf92e9a114a42a1c138c34b90b443b41e246cccb
authorTom Smalley <tfsmalley@gmail.com>
dateMon 22 Oct 2018, 19:03 (8 years ago)
parent39bebc2
default.nix+1−1
@@ -297,7 +297,7 @@ in rec {
297297 overrides = totalOverrides;
298298 packages = combinedPackages;
299299 shells = {
300− ghcSavedSplices = (lib.filter (x: lib.hasAttr x combinedPackages) [
300+ ${if android == null && ios == null then null else "ghcSavedSplices"} = (lib.filter (x: lib.hasAttr x combinedPackages) [
301301 commonName
302302 frontendName
303303 ]);