mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
libsodium: split dev output, enableParallelBuilding
This commit is contained in:
parent
90d5e87862
commit
86cc3d32ac
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "120jkda2q58p0n68banh64vsfm3hgqnacagj425d218cr4ycdkyb";
|
||||
};
|
||||
|
||||
outputs = [ "dev" "out" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-libsodium-headers=${libsodium}/include"
|
||||
"--with-libsodium-libs=${libsodium}/lib"
|
||||
"--with-libsodium-headers=${libsodium.dev}/include"
|
||||
"--with-libsodium-libs=${libsodium.out}/lib"
|
||||
"--enable-ntox"
|
||||
"--enable-daemon"
|
||||
];
|
||||
|
@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-libsodium-headers=${libsodium}/include"
|
||||
"--with-libsodium-libs=${libsodium}/lib"
|
||||
"--with-libsodium-headers=${libsodium.dev}/include"
|
||||
"--with-libsodium-libs=${libsodium.out}/lib"
|
||||
"--enable-ntox"
|
||||
"--enable-daemon"
|
||||
];
|
||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation {
|
||||
configurePhase = ''
|
||||
patchShebangs configure
|
||||
substituteInPlace configure --replace "which" "command -v"
|
||||
NACL_INC_DIR=${libsodium}/include/sodium NACL_LIB=sodium ./configure
|
||||
NACL_INC_DIR=${libsodium.dev}/include/sodium NACL_LIB=sodium ./configure
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user