mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
This is what happens when you do a normal "cp -a" instead of a "svn cp". Argh. Can somebody please bring out the LART?
svn path=/nixpkgs/trunk/; revision=3733
This commit is contained in:
parent
9bc5482790
commit
eefd0d1745
12
pkgs/os-specific/linux/e2fsprogs-diet/builder.sh
Normal file
12
pkgs/os-specific/linux/e2fsprogs-diet/builder.sh
Normal file
@ -0,0 +1,12 @@
|
||||
. $stdenv/setup
|
||||
|
||||
export NIX_GLIBC_FLAGS_SET=1
|
||||
|
||||
installPhase() {
|
||||
make install
|
||||
cd lib/uuid; make install
|
||||
}
|
||||
|
||||
installPhase=installPhase
|
||||
|
||||
genericBuild
|
13
pkgs/os-specific/linux/e2fsprogs-diet/default.nix
Normal file
13
pkgs/os-specific/linux/e2fsprogs-diet/default.nix
Normal file
@ -0,0 +1,13 @@
|
||||
{stdenv, fetchurl, gettext, dietgcc}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "e2fsprogs-1.36";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/e2fsprogs-1.36.tar.gz;
|
||||
md5 = "1804ee96b76e5e7113fe3cecd6fe582b";
|
||||
};
|
||||
#configureFlags = "--with-diet-libc";
|
||||
buildInputs = [gettext];
|
||||
NIX_GCC = dietgcc;
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
. $stdenv/setup
|
||||
|
||||
export NIX_GLIBC_FLAGS_SET=1
|
||||
|
||||
installPhase() {
|
||||
make install
|
||||
cd lib/uuid; make install
|
||||
|
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, gettext, dietgcc}:
|
||||
{stdenv, fetchurl, gettext}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "e2fsprogs-1.36";
|
||||
@ -7,7 +7,6 @@ stdenv.mkDerivation {
|
||||
url = http://nix.cs.uu.nl/dist/tarballs/e2fsprogs-1.36.tar.gz;
|
||||
md5 = "1804ee96b76e5e7113fe3cecd6fe582b";
|
||||
};
|
||||
#configureFlags = "--with-diet-libc";
|
||||
configureFlags = "--enable-dynamic-e2fsck --enable-elf-shlibs";
|
||||
buildInputs = [gettext];
|
||||
NIX_GCC = dietgcc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user