Skip to content

Commit

Permalink
libxc: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Dec 1, 2021
1 parent 39b1caa commit f0a0155
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkgs/development/libraries/libxc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,15 @@ 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"
"-DDISABLE_KXC=0"
"-DDISABLE_LXC=0"
];

preCheck = ''
export LD_LIBRARY_PATH=$(pwd)
'';

doCheck = true;

meta = with lib; {
Expand Down

0 comments on commit f0a0155

Please sign in to comment.