fixed references to /bin/mount and /bin/umount

svn path=/nixpkgs/trunk/; revision=11204
This commit is contained in:
Tobias Hammerschmidt 2008-03-19 13:08:11 +00:00
parent 597536e494
commit 1e2a4064f4
2 changed files with 8 additions and 3 deletions

View File

@ -9,9 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "3394bd1c9d0f3640803dc65ebbb42ee945db47e06f1a2b84ad257bad5e3c10f3";
};
buildInputs = [fuse pkgconfig];
buildInputs = [fuse pkgconfig utillinux];
preConfigure="
sed -e 's:/sbin:@sbindir@:' -i src/Makefile.in
sed -e 's:/bin/mount:${utillinux}/bin/mount:' -i libfuse-lite/mount_util.c
sed -e 's:/bin/umount:${utillinux}/bin/umount:' -i libfuse-lite/mount_util.c
";
preConfigure="sed -e 's:/sbin:@sbindir@:' -i src/Makefile.in";
configureFlags="--enable-shared --disable-static --disable-ldconfig --exec-prefix=\${prefix}";
meta = {

View File

@ -6045,7 +6045,7 @@ let pkgs = rec {
};
ntfs3g = import ../misc/ntfs-3g {
inherit fetchurl stdenv fuse pkgconfig;
inherit fetchurl stdenv fuse pkgconfig utillinux;
};
ntfsprogs = import ../misc/ntfsprogs {