Added mingw gcc
svn path=/nixpkgs/trunk/; revision=6132
This commit is contained in:
parent
884b6f9a0d
commit
5f88a929cc
@ -73,10 +73,10 @@ let {
|
||||
|
||||
shell = msys + /bin/sh + ".exe";
|
||||
|
||||
make =
|
||||
(import ./pkgs).make {
|
||||
binpkgs =
|
||||
(import ./pkgs) {
|
||||
stdenv = stdenvInit2;
|
||||
inherit fetchurl;
|
||||
inherit fetchurl;
|
||||
};
|
||||
|
||||
stdenv =
|
||||
@ -85,9 +85,10 @@ let {
|
||||
builder = ./builder.sh;
|
||||
substitute = ../../build-support/substitute/substitute.sh;
|
||||
setup = ./setup.sh;
|
||||
initialPath = [make msys];
|
||||
initialPath = [binpkgs.make msys];
|
||||
inherit shell;
|
||||
gcc = msys; # TODO
|
||||
# todo: wrapper?
|
||||
gcc = binpkgs.gcc;
|
||||
};
|
||||
|
||||
mkDerivationFun = {
|
||||
|
@ -1,14 +1,23 @@
|
||||
/**
|
||||
* MinGW packages.
|
||||
*/
|
||||
rec {
|
||||
let {
|
||||
|
||||
/**
|
||||
* stdenv and fetchurl are parameters of every function to make this more flexible:
|
||||
* after some packages, we might be able to use a better stdenv/fetchurl.
|
||||
*/
|
||||
body = {stdenv, fetchurl} : {
|
||||
make = make { inherit stdenv fetchurl; };
|
||||
gcc = gcc { inherit stdenv fetchurl; };
|
||||
};
|
||||
|
||||
/**
|
||||
* Make. Binary.
|
||||
*/
|
||||
make = {stdenv, fetchurl} :
|
||||
stdenv.mkDerivation {
|
||||
name = "mingw32-make-3.81";
|
||||
name = "mingw-make-3.81";
|
||||
builder = ./bin-builder.sh;
|
||||
src =
|
||||
fetchurl {
|
||||
@ -17,6 +26,20 @@ rec {
|
||||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* GCC. Binary
|
||||
*/
|
||||
gcc = {stdenv, fetchurl} :
|
||||
stdenv.mkDerivation {
|
||||
name = "mingw-gcc-core-3.4.2-20040916-1";
|
||||
builder = ./bin-builder.sh;
|
||||
src =
|
||||
fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/mingw/gcc-core-3.4.2-20040916-1.tar.gz;
|
||||
md5 = "d9cd78f926fc31ef101c6fa7072fc65d";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
pkgs.coreutils
|
||||
pkgs.findutils
|
||||
|
Loading…
Reference in New Issue
Block a user