dpkg: 1.18.1 -> 1.18.2

This commit is contained in:
Tobias Geerinckx-Rice 2015-08-31 15:21:10 +02:00
parent 5ab17dbe98
commit 80a882e6cc

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper }: { stdenv, fetchurl, perl, zlib, bzip2, xz, makeWrapper }:
let version = "1.18.1"; in let version = "1.18.2"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "dpkg-${version}"; name = "dpkg-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz"; url = "mirror://debian/pool/main/d/dpkg/dpkg_${version}.tar.xz";
sha256 = "1nlr0djn5zl9cmlcxxmd7dk3fx0zw9gi4qm7cfz0r5qwl9yaj9nb"; sha256 = "192pqjd0c7i91kiqzn3cq2sqp5vivf0079i0wybdc9yhfcm4yj0i";
}; };
postPatch = '' postPatch = ''
@ -23,7 +23,7 @@ stdenv.mkDerivation {
# 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 # script calls scripts/dpkg-architecture, which calls "dpkg" in
# $PATH. It doesn't actually use its result, but fails if it # $PATH. It doesn't actually use its result, but fails if it
# isn't present. So make a dummy available. # isn't present, so make a dummy available.
touch $TMPDIR/dpkg touch $TMPDIR/dpkg
chmod +x $TMPDIR/dpkg chmod +x $TMPDIR/dpkg
PATH=$TMPDIR:$PATH PATH=$TMPDIR:$PATH