mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 05:00:16 +00:00
lmdb: fix on OSX
This commit is contained in:
parent
657b1ccc47
commit
91e9673954
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, fetchzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let optional = stdenv.lib.optional;
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "lmdb-${version}";
|
||||
version = "0.9.16";
|
||||
|
||||
|
@ -11,7 +12,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postUnpack = "sourceRoot=\${sourceRoot}/libraries/liblmdb";
|
||||
|
||||
makeFlags = "prefix=$(out)";
|
||||
makeFlags = ["prefix=$(out)"]
|
||||
++ optional stdenv.cc.isClang "CC=clang";
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = "make test";
|
||||
|
|
Loading…
Reference in a new issue