Merging pull request 121 from MarcWeber: update/fix debootstrap with minor fixes

This commit is contained in:
Michael Raskin
2012-10-05 12:26:13 +04:00
2 changed files with 86 additions and 60 deletions
+13 -5
View File
@@ -1,13 +1,21 @@
{stdenv, fetchurl}:
{stdenv, fetchurl, utillinux}:
stdenv.mkDerivation {
name = "fakeroot-1.18.1";
stdenv.mkDerivation rec {
name = "fakeroot-1.18.4";
src = fetchurl {
url = http://ftp.de.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.18.1.orig.tar.bz2;
sha256 = "0h5jsw715a9hv32cb1m1bajy26l7xxrbgrk6qk1b6m91lxh6rnw9";
url = https://launchpad.net/ubuntu/+archive/primary/+files/fakeroot_1.18.4.orig.tar.bz2;
sha256 = "18mydrz49n7ic7147pikkpdb96x00s9wisdk6hrc75ll7vx9wd8a";
};
buildInputs = [ utillinux /* provides getopt */ ];
postUnpack = ''
for prog in getopt; do
sed -i "s@getopt@$(type -p getopt)@g" ${name}/scripts/fakeroot.in
done
'';
meta = {
homepage = http://fakeroot.alioth.debian.org/;
description = "Give a fake root environment through LD_PRELOAD";