Merge pull request #148073 from risicle/ris-libxc-darwin

libxc: fix darwin build
This commit is contained in:
markuskowa 2021-12-02 01:36:24 +01:00 committed by GitHub
commit e04e9a466b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DENABLE_FORTRAN=ON"
"-DBUILD_SHARED_LIBS=ON"
# needed for tests to link
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
# Force compilation of higher derivatives
"-DDISABLE_VXC=0"
"-DDISABLE_FXC=0"
@ -27,10 +29,6 @@ stdenv.mkDerivation rec {
"-DDISABLE_LXC=0"
];
preCheck = ''
export LD_LIBRARY_PATH=$(pwd)
'';
doCheck = true;
meta = with lib; {