* Set admindir to /var/lib/dpkg.
svn path=/nixpkgs/trunk/; revision=11124
This commit is contained in:
parent
c02aea1925
commit
5f683794c2
1 changed files with 4 additions and 1 deletions
|
@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
|||
sha256 = "1x2ajz5z6zbyv80g2b2fwylxiz7bdm71z0i98zasfjf87wkx4ryn";
|
||||
};
|
||||
|
||||
configureFlags = "--without-dselect"; # --with-admindir=/var/lib/dpkg
|
||||
configureFlags = "--without-dselect --with-admindir=/var/lib/dpkg";
|
||||
|
||||
preConfigure = ''
|
||||
# Can't use substitute pending resolution of NIXPKGS-89.
|
||||
|
@ -21,6 +21,9 @@ stdenv.mkDerivation {
|
|||
touch $TMPDIR/dpkg
|
||||
chmod +x $TMPDIR/dpkg
|
||||
PATH=$TMPDIR:$PATH
|
||||
|
||||
substituteInPlace src/Makefile.in --replace "install-data-local:" "disabled:"
|
||||
substituteInPlace dpkg-split/Makefile.in --replace "install-data-local:" "disabled:"
|
||||
'';
|
||||
|
||||
buildInputs = [perl zlib bzip2];
|
||||
|
|
Loading…
Reference in a new issue