File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -371,11 +371,15 @@ let
371
371
# Not sure why pkgconfig needs to be propagatedBuildInputs but
372
372
# for gi-gtk-hs it seems to help.
373
373
++ builtins . concatLists pkgconfig
374
- ++ configFiles . libDeps
374
+ # These only need to be propagated for library components (otherwise they
375
+ # will be in `buildInputs`)
376
+ ++ lib . optionals ( haskellLib . isLibrary componentId ) configFiles . libDeps
375
377
++ lib . optionals ( stdenv . hostPlatform . isWindows )
376
378
( lib . flatten component . libs ) ;
377
379
378
- buildInputs = lib . optionals ( ! stdenv . hostPlatform . isWindows )
380
+ buildInputs =
381
+ lib . optionals ( ! haskellLib . isLibrary componentId ) configFiles . libDeps
382
+ ++ lib . optionals ( ! stdenv . hostPlatform . isWindows )
379
383
( lib . flatten component . libs ) ;
380
384
381
385
nativeBuildInputs =
You can’t perform that action at this time.
0 commit comments