Reverting some changes I brought in by error for util-linux-ng (I was trying their git version, to check some bugfixes they did for my reports).


svn path=/nixpkgs/branches/stdenv-updates/; revision=18880

+4 -13
+3 -12
pkgs/os-specific/linux/util-linux-ng/default.nix
··· 1 - { stdenv, fetchurl, ncurses ? null, autoconf, libtool, automake, 2 - gettext, cvs, pkgconfig, ... }: 3 4 stdenv.mkDerivation rec { 5 name = "util-linux-ng-2.16.2"; 6 - 7 - # src = fetchurl { 8 - # url = "mirror://kernel/linux/utils/util-linux-ng/v2.16/${name}.tar.bz2"; 9 - # sha256 = "1sx3z64z8z95v93k0c9lczcp04zw4nm3d2rkhczkyxcpdfcgbhxi"; 10 - # }; 11 12 src = fetchurl { 13 - url = "file:///home/llbatlle/arm/stdenv-updates/util-linux-ng.tar.gz"; 14 - sha256 = "07ichlan4jqrcz13ldbcrwqn8z28fmj0jz7k4naf1ajyk1l9m4h1"; 15 }; 16 17 configureFlags = '' ··· 19 ${if ncurses == null then "--without-ncurses" else ""} 20 ''; 21 22 - buildNativeInputs = [ autoconf libtool automake gettext pkgconfig cvs ]; 23 buildInputs = stdenv.lib.optional (ncurses != null) ncurses; 24 25 # !!! It would be better to obtain the path to the mount helpers ··· 29 preConfigure = '' 30 substituteInPlace mount/mount.c --replace /sbin/mount. /var/run/current-system/sw/sbin/mount. 31 substituteInPlace mount/umount.c --replace /sbin/umount. /var/run/current-system/sw/sbin/umount. 32 - sh autogen.sh 33 - autoreconf -vfi 34 ''; 35 36 }
··· 1 + { stdenv, fetchurl, ncurses ? null, ... }: 2 3 stdenv.mkDerivation rec { 4 name = "util-linux-ng-2.16.2"; 5 6 src = fetchurl { 7 + url = "mirror://kernel/linux/utils/util-linux-ng/v2.16/${name}.tar.bz2"; 8 + sha256 = "1sx3z64z8z95v93k0c9lczcp04zw4nm3d2rkhczkyxcpdfcgbhxi"; 9 }; 10 11 configureFlags = '' ··· 13 ${if ncurses == null then "--without-ncurses" else ""} 14 ''; 15 16 buildInputs = stdenv.lib.optional (ncurses != null) ncurses; 17 18 # !!! It would be better to obtain the path to the mount helpers ··· 22 preConfigure = '' 23 substituteInPlace mount/mount.c --replace /sbin/mount. /var/run/current-system/sw/sbin/mount. 24 substituteInPlace mount/umount.c --replace /sbin/umount. /var/run/current-system/sw/sbin/umount. 25 ''; 26 27 }
+1 -1
pkgs/top-level/all-packages.nix
··· 6098 utillinuxCurses = utillinuxngCurses; 6099 6100 utillinuxng = makeOverridable (import ../os-specific/linux/util-linux-ng) { 6101 - inherit fetchurl stdenv autoconf libtool automake gettext cvs pkgconfig; 6102 }; 6103 6104 utillinuxngCurses = utillinuxng.override {
··· 6098 utillinuxCurses = utillinuxngCurses; 6099 6100 utillinuxng = makeOverridable (import ../os-specific/linux/util-linux-ng) { 6101 + inherit fetchurl stdenv; 6102 }; 6103 6104 utillinuxngCurses = utillinuxng.override {