krb5: simplify unpacking

This commit is contained in:
Vladimír Čunát 2016-01-02 11:44:38 +01:00
parent 1878ac9335
commit 9b091e8a0c

View File

@ -26,11 +26,7 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl ]
++ optionals (!libOnly) [ openldap libedit ];
unpackPhase = ''
tar -xf $src
#tar -xzf krb5-${version}.tar.gz
cd krb5-${version}/src
'';
preConfigure = "cd ./src";
buildPhase = optionalString libOnly ''
(cd util; make -j $NIX_BUILD_CORES)