mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Added make
svn path=/nixpkgs/trunk/; revision=6131
This commit is contained in:
parent
5992b95b64
commit
884b6f9a0d
@ -47,6 +47,8 @@ let {
|
||||
|
||||
/**
|
||||
* MSYS, installed using stdenvInit1
|
||||
*
|
||||
* @todo Maybe remove the make of msys?
|
||||
*/
|
||||
msys =
|
||||
stdenvInit1.mkDerivation {
|
||||
@ -71,13 +73,19 @@ let {
|
||||
|
||||
shell = msys + /bin/sh + ".exe";
|
||||
|
||||
make =
|
||||
(import ./pkgs).make {
|
||||
stdenv = stdenvInit2;
|
||||
inherit fetchurl;
|
||||
};
|
||||
|
||||
stdenv =
|
||||
stdenvInit2.mkDerivation {
|
||||
name = "stdenv-mingw";
|
||||
builder = ./builder.sh;
|
||||
substitute = ../../build-support/substitute/substitute.sh;
|
||||
setup = ./setup.sh;
|
||||
initialPath = [msys];
|
||||
initialPath = [make msys];
|
||||
inherit shell;
|
||||
gcc = msys; # TODO
|
||||
};
|
||||
|
5
pkgs/stdenv/mingw/pkgs/bin-builder.sh
Normal file
5
pkgs/stdenv/mingw/pkgs/bin-builder.sh
Normal file
@ -0,0 +1,5 @@
|
||||
source $STDENV/setup
|
||||
|
||||
mkdir $OUT
|
||||
cd $OUT
|
||||
tar zxvf $SRC
|
34
pkgs/stdenv/mingw/pkgs/default.nix
Executable file
34
pkgs/stdenv/mingw/pkgs/default.nix
Executable file
@ -0,0 +1,34 @@
|
||||
/**
|
||||
* MinGW packages.
|
||||
*/
|
||||
rec {
|
||||
|
||||
/**
|
||||
* Make. Binary.
|
||||
*/
|
||||
make = {stdenv, fetchurl} :
|
||||
stdenv.mkDerivation {
|
||||
name = "mingw32-make-3.81";
|
||||
builder = ./bin-builder.sh;
|
||||
src =
|
||||
fetchurl {
|
||||
url = http://surfnet.dl.sourceforge.net/sourceforge/mingw/mingw32-make-3.81-1.tar.gz;
|
||||
md5 = "74c2f44ecc699b318edeb07d838feae5";
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
pkgs.coreutils
|
||||
pkgs.findutils
|
||||
pkgs.diffutils
|
||||
pkgs.gnused
|
||||
pkgs.gnugrep
|
||||
pkgs.gawk
|
||||
pkgs.gnutar
|
||||
pkgs.gzip
|
||||
pkgs.bzip2
|
||||
pkgs.gnumake
|
||||
pkgs.bash
|
||||
pkgs.patch
|
||||
*/
|
||||
}
|
Loading…
Reference in New Issue
Block a user