dpkg: 1.18.1 -> 1.18.2
This commit is contained in:
parent
5ab17dbe98
commit
80a882e6cc
@ -1,13 +1,13 @@
|
||||
{ stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper }:
|
||||
|
||||
let version = "1.18.1"; in
|
||||
let version = "1.18.2"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dpkg-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz";
|
||||
sha256 = "1nlr0djn5zl9cmlcxxmd7dk3fx0zw9gi4qm7cfz0r5qwl9yaj9nb";
|
||||
sha256 = "192pqjd0c7i91kiqzn3cq2sqp5vivf0079i0wybdc9yhfcm4yj0i";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -20,10 +20,10 @@ stdenv.mkDerivation {
|
||||
configureFlags = "--disable-dselect --with-admindir=/var/lib/dpkg PERL_LIBDIR=$(out)/${perl.libPrefix}";
|
||||
|
||||
preConfigure = ''
|
||||
# Nice: dpkg has a circular dependency on itself. Its configure
|
||||
# Nice: dpkg has a circular dependency on itself. Its configure
|
||||
# script calls scripts/dpkg-architecture, which calls "dpkg" in
|
||||
# $PATH. It doesn't actually use its result, but fails if it
|
||||
# isn't present. So make a dummy available.
|
||||
# $PATH. It doesn't actually use its result, but fails if it
|
||||
# isn't present, so make a dummy available.
|
||||
touch $TMPDIR/dpkg
|
||||
chmod +x $TMPDIR/dpkg
|
||||
PATH=$TMPDIR:$PATH
|
||||
|
Loading…
Reference in New Issue
Block a user