diff --git a/pkgs/development/libraries/haskell/cabal/cabal.nix b/pkgs/development/libraries/haskell/cabal/cabal.nix index 5b9ac3da9b6e..1bda5329c525 100644 --- a/pkgs/development/libraries/haskell/cabal/cabal.nix +++ b/pkgs/development/libraries/haskell/cabal/cabal.nix @@ -47,7 +47,7 @@ attrs : test -f $i && ghc --make $i done - for p in $propagatedBuildInputs; do + for p in $propagatedBuildNativeInputs; do for d in lib{,64}; do if [ -e "$p/$d" ]; then extraLibDirs="$extraLibDirs --extra-lib-dir=$p/$d"