mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* bash 2.0, findutils 4.2.28.
* Some Nix expression simplifications. Sense and simplicity! svn path=/nixpkgs/trunk/; revision=6836
This commit is contained in:
parent
f86c11815f
commit
4d3059721d
@ -1,20 +1,16 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
name = "bash-3.1";
|
||||
stdenv.mkDerivation {
|
||||
name = "bash-3.2";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/bash-3.1.tar.gz;
|
||||
md5 = "ef5304c4b22aaa5088972c792ed45d72";
|
||||
url = http://ftp.gnu.org/pub/gnu/bash/bash-3.2.tar.gz;
|
||||
md5 = "00bfa16d58e034e3c2aa27f390390d30";
|
||||
};
|
||||
|
||||
patches = [./winsize.patch];
|
||||
|
||||
meta = {
|
||||
description = "GNU Bourne-Again Shell, the de facto standard shell on Linux";
|
||||
};
|
||||
}
|
||||
|
||||
// (if stdenv ? isDietLibC then {
|
||||
patches = [./winsize.patch];
|
||||
} else {})
|
||||
|
||||
)
|
||||
|
@ -1,14 +1,14 @@
|
||||
{stdenv, fetchurl, coreutils}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "findutils-4.2.27";
|
||||
name = "findutils-4.2.28";
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/findutils-4.2.27.tar.gz;
|
||||
md5 = "f1e0ddf09f28f8102ff3b90f3b5bc920";
|
||||
url = http://ftp.gnu.org/pub/gnu/findutils/findutils-4.2.28.tar.gz;
|
||||
md5 = "f5fb3349354ee3d94fceb81dab5c71fd";
|
||||
};
|
||||
buildInputs = [coreutils];
|
||||
patches = [./findutils-path.patch]
|
||||
# Note: the dietlibc is just to get findutils to compile. The
|
||||
# locate command probably won't work though.
|
||||
# Note: the dietlibc patch is just to get findutils to compile.
|
||||
# The locate command probably won't work though.
|
||||
++ (if stdenv ? isDietLibC then [./dietlibc-hack.patch] else []);
|
||||
}
|
||||
|
@ -1,19 +1,15 @@
|
||||
{stdenv, fetchurl}: stdenv.mkDerivation ({
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnupatch-2.5.4";
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/patch-2.5.4.tar.gz;
|
||||
md5 = "ee5ae84d115f051d87fcaaef3b4ae782";
|
||||
};
|
||||
} //
|
||||
# !!! hack
|
||||
(if stdenv.system != "i686-linux" then {
|
||||
patches = [./setmode.patch];
|
||||
configureFlags = "dummy"; # doesn't build on Darwin unless a platform is specified
|
||||
} else {})
|
||||
//
|
||||
# !!! hack
|
||||
(if stdenv ? isDietLibC then {
|
||||
# !!! pass this on all platforms
|
||||
configureFlags = "dummy"; # doesn't build unless a platform is specified
|
||||
} else {})
|
||||
)
|
||||
|
||||
# Hack around ancient configure script: doesn't build on many newer
|
||||
# platforms unless a platform is specified.
|
||||
configureFlags = "dummy";
|
||||
|
||||
patches = if stdenv.isDarwin then [./setmode.patch] else [];
|
||||
}
|
||||
|
@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
stdenv.mkDerivation {
|
||||
name = "gnused-4.1.5";
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/sed-4.1.5.tar.gz;
|
||||
md5 = "7a1cbbbb3341287308e140bd4834c3ba";
|
||||
};
|
||||
} //
|
||||
# !!! hack: this should go away in gnused > 4.1.5
|
||||
(if stdenv.system != "i686-linux" then {patches = [./gettext-fix.patch];} else {}))
|
||||
patches = [./gettext-fix.patch];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user