krb5: simplify unpacking
This commit is contained in:
parent
1878ac9335
commit
9b091e8a0c
@ -26,11 +26,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ openssl ]
|
buildInputs = [ openssl ]
|
||||||
++ optionals (!libOnly) [ openldap libedit ];
|
++ optionals (!libOnly) [ openldap libedit ];
|
||||||
|
|
||||||
unpackPhase = ''
|
preConfigure = "cd ./src";
|
||||||
tar -xf $src
|
|
||||||
#tar -xzf krb5-${version}.tar.gz
|
|
||||||
cd krb5-${version}/src
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildPhase = optionalString libOnly ''
|
buildPhase = optionalString libOnly ''
|
||||||
(cd util; make -j $NIX_BUILD_CORES)
|
(cd util; make -j $NIX_BUILD_CORES)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user