forked from mirrors/nixpkgs
also add a statically linked gcc
svn path=/nixpkgs/trunk/; revision=1585
This commit is contained in:
parent
41a9a00c9b
commit
97ef0bce9a
3 changed files with 15 additions and 0 deletions
pkgs/stdenv/nix-linux-static/gcc-static
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…
Add table
Reference in a new issue