From ceaf285c0c4debf8a932fd8d4d281fba100ef3f5 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sun, 3 Jun 2018 12:51:47 -0400 Subject: [PATCH] haskell generic-builder: Use strictDeps always This helps avoid the `ARG_MAX` issues we've been having, and is generally a good idea to ensure cross comparability anyways. --- pkgs/development/haskell-modules/configuration-common.nix | 6 ------ pkgs/development/haskell-modules/generic-builder.nix | 1 + 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index ef7e8e4d4e5..3be577549bd 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1056,12 +1056,6 @@ self: super: { # Work around overspecified constraint on github ==0.18. github-backup = doJailbreak super.github-backup; - # Work around large number of repeated arguments - # https://github.com/NixOS/nixpkgs/issues/40013 - taffybar = super.taffybar.overrideDerivation (drv: { - strictDeps = true; - }); - # dhall-json requires a very particular dhall version dhall-json_1_2_1 = super.dhall-json_1_2_1.override { dhall = self.dhall_1_15_0; }; diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index d1304c79694..38ba2609c75 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -233,6 +233,7 @@ stdenv.mkDerivation ({ inherit src; + strictDeps = true; inherit depsBuildBuild nativeBuildInputs; buildInputs = otherBuildInputs ++ optionals (!hasActiveLibrary) propagatedBuildInputs; propagatedBuildInputs = optionals hasActiveLibrary propagatedBuildInputs;