Merge pull request #4596 from abbradar/rpmextract

Add "rpmextract" script and use it
This commit is contained in:
Michael Raskin
2014-10-20 22:00:59 +04:00
8 changed files with 43 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, makeWrapper, requireFile, patchelf, rpm, cpio, libaio }:
{ stdenv, makeWrapper, requireFile, patchelf, rpmextract, libaio }:
assert stdenv.system == "x86_64-linux";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
unpackCmd = ''
(mkdir -p "${name}" && cd "${name}" &&
${rpm}/bin/rpm2cpio "$curSrc" | ${cpio}/bin/cpio -id)
${rpmextract}/bin/rpmextract "$curSrc")
'';
buildPhase = let