Merge pull request #40442 from obsidiansystems/cabal-frameworks

haskell-generic-builder: Add extra framework dirs
This commit is contained in:
John Ericson 2018-05-18 18:08:20 -04:00 committed by GitHub
commit 2241dedbe6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -248,6 +248,9 @@ stdenv.mkDerivation ({
if [ -d "$p/lib" ]; then
configureFlags+=" --extra-lib-dirs=$p/lib"
fi
if [[ -d "$p/Library/Frameworks" ]]; then
configureFlags+=" --extra-framework-dirs=$p/Library/Frameworks"
fi
done
''
# only use the links hack if we're actually building dylibs. otherwise, the