oops, don't forget binutils
svn path=/nixpkgs/trunk/; revision=1587
This commit is contained in:
parent
69ef6a1d5e
commit
342c818833
8
pkgs/stdenv/nix-linux-static/binutils-static/builder.sh
Normal file
8
pkgs/stdenv/nix-linux-static/binutils-static/builder.sh
Normal file
@ -0,0 +1,8 @@
|
||||
. $stdenv/setup
|
||||
|
||||
PATH=$gzip:$PATH
|
||||
|
||||
$curl/bin/curl $src > $tarball
|
||||
$tar/bin/tar zxvf $tarball
|
||||
mkdir $out
|
||||
cp -a binutils-2.15/* $out
|
9
pkgs/stdenv/nix-linux-static/binutils-static/default.nix
Normal file
9
pkgs/stdenv/nix-linux-static/binutils-static/default.nix
Normal file
@ -0,0 +1,9 @@
|
||||
{stdenv, gnutar, gzip, curl}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit gnutar gzip curl;
|
||||
name = "binutils-static-2.15";
|
||||
builder = ./builder.sh;
|
||||
src = http://losser.st-lab.cs.uu.nl/~armijn/.nix/binutils-2.15-static.tar.gz;
|
||||
tarball = "binutils-2.15-static.tar.gz";
|
||||
}
|
Loading…
Reference in New Issue
Block a user