diff options
| author | Robert Scott <code@humanleg.org.uk> | 2021-12-03 13:28:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-03 13:28:51 +0000 |
| commit | 1227d3631d90cdfd464cd818c9206837ec9bc23c (patch) | |
| tree | a59541f6d042a3d2c3d182791bf39fc2929e023a | |
| parent | Merge pull request #148422 from NixOS/backport-148418-to-release-21.11 (diff) | |
| parent | libxc: fix darwin build (diff) | |
| download | nixpkgs-1227d3631d90cdfd464cd818c9206837ec9bc23c.tar.gz | |
Merge pull request #148229 from NixOS/backport-148073-to-release-21.11
[Backport release-21.11] libxc: fix darwin build
| -rw-r--r-- | pkgs/development/libraries/libxc/default.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libxc/default.nix b/pkgs/development/libraries/libxc/default.nix index 046d630888c4..5ed5ef1fc373 100644 --- a/pkgs/development/libraries/libxc/default.nix +++ b/pkgs/development/libraries/libxc/default.nix @@ -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; { |
