on iko/ghcjs-patch-master help sign in
Add build-tools as component builder argument (#579)
commitaa69e618d2b92547a170a94c0d162d0465f2e9fe authorRichard Wallace <richard.wallace@simspace.com> dateSat 2 May 2020, 20:42 (6 years ago) parent862edbd
1 file changed+2−1
builder/comp-builder.nix+2−1
builder/comp-builder.nix+2−1
@@ -24,6 +24,7 @@ lib.makeOverridable (
2424, preHaddock ? component.preHaddock , postHaddock ? component.postHaddock
2525, shellHook ? ""
2626
27+, build-tools ? component.build-tools
2728, pkgconfig ? component.pkgconfig
2829, platforms ? component.platforms
2930, frameworks ? component.frameworks
@@ -134,7 +135,7 @@ let
134135 executableToolDepends =
135136 (lib.concatMap (c: if c.isHaskell or false
136137 then builtins.attrValues (c.components.exes or {})
137− else [c]) component.build-tools) ++
138+ else [c]) build-tools) ++
138139 lib.optional (pkgconfig != []) buildPackages.pkgconfig;
139140
140141 # Unfortunately, we need to wrap ghc commands for cabal builds to