Skip to content

Commit

Permalink
libcint: fix tests on darwin, set platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank committed Jan 7, 2024
1 parent c7ef5c0 commit dbe38b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/libcint/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ stdenv.mkDerivation rec {
hash = "sha256-qcVVp+81S3Y0fxDWA/PWQeFT2g0N6tIHNUaOHSru2GA=";
};

postPatch = ''
sed -i 's/libcint.so/libcint${stdenv.hostPlatform.extensions.sharedLibrary}/g' testsuite/*.py
'';

nativeBuildInputs = [ cmake ];
buildInputs = [ blas ];
cmakeFlags = [
Expand Down Expand Up @@ -46,5 +50,6 @@ stdenv.mkDerivation rec {
changelog = "https://github.com/sunqm/libcint/blob/master/ChangeLog";
license = licenses.bsd2;
maintainers = with maintainers; [ drewrisinger ];
platforms = platforms.unix;
};
}

0 comments on commit dbe38b2

Please sign in to comment.