also add a statically linked gcc
svn path=/nixpkgs/trunk/; revision=1585
This commit is contained in:
parent
41a9a00c9b
commit
97ef0bce9a
5
pkgs/stdenv/nix-linux-static/gcc-static/builder.sh
Normal file
5
pkgs/stdenv/nix-linux-static/gcc-static/builder.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
. $stdenv/setup
|
||||||
|
|
||||||
|
tar zxvf $src
|
||||||
|
mkdir $out
|
||||||
|
cp -a gcc-3.3.4/* $out
|
10
pkgs/stdenv/nix-linux-static/gcc-static/default.nix
Normal file
10
pkgs/stdenv/nix-linux-static/gcc-static/default.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{stdenv}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "gcc-static-3.3.4";
|
||||||
|
builder = ./builder.sh;
|
||||||
|
src = ./gcc-3.3.4-static.tar.gz;
|
||||||
|
langC = true;
|
||||||
|
langCC = false;
|
||||||
|
langF77 = false;
|
||||||
|
}
|
BIN
pkgs/stdenv/nix-linux-static/gcc-static/gcc-3.3.4-static.tar.gz
Normal file
BIN
pkgs/stdenv/nix-linux-static/gcc-static/gcc-3.3.4-static.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user