mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
more fixes
svn path=/nixpkgs/branches/nixos-pkgs/; revision=1828
This commit is contained in:
parent
3782c94ebb
commit
63b86ec696
@ -11,7 +11,7 @@ rec {
|
||||
args = [ ./scripts/curl-unpack ];
|
||||
};
|
||||
|
||||
download = {url, pkgname, postprocess ? null, extra ? null, extra2 ? null}: derivation {
|
||||
download = {url, pkgname, postprocess ? null, extra ? null, extra2 ? null, extra3 ? null}: derivation {
|
||||
name = pkgname;
|
||||
builder = ./bash-static/bash;
|
||||
tar = ./gnutar-static/bin/tar;
|
||||
@ -20,7 +20,7 @@ rec {
|
||||
cp = ./tools/cp;
|
||||
system = "i686-linux";
|
||||
args = [ ./scripts/download-script ];
|
||||
inherit postprocess extra extra2;
|
||||
inherit postprocess extra extra2 extra3;
|
||||
};
|
||||
|
||||
/*
|
||||
@ -70,7 +70,7 @@ rec {
|
||||
url = http://losser.st-lab.cs.uu.nl/~armijn/.nix/glibc-2.3.3-static-2.tar.gz;
|
||||
pkgname = "glibc";
|
||||
patchelf = ./patchelf-static/patchelf;
|
||||
findutils = findutils;
|
||||
extra3 = findutils;
|
||||
postprocess = ./scripts/add-symlink.sh;
|
||||
extra = linuxHeaders;
|
||||
extra2 = coreutils;
|
||||
|
@ -2,4 +2,4 @@ $extra2/bin/chmod u+w $out/include
|
||||
(cd $out/include && $extra2/bin/ln -s $extra/include/* .) || exit 1
|
||||
|
||||
cd $out
|
||||
$findutils/bin/find . | $findutils/bin/xargs $patchelf --interpreter $out/lib/ld-linux.so.2 --shrink-rpath
|
||||
$extra3/bin/find . | $extra3/bin/xargs $patchelf --interpreter $out/lib/ld-linux.so.2 --shrink-rpath
|
||||
|
Loading…
Reference in New Issue
Block a user