Major work on the mingw stdenv. Basics now works.

- clone of fetchurl that invokes a given chmod to workaround problems
with inappropriate file permissions (executable files are not allowed
by Nix)

- cygpath tool to determine the full windows path of a cygwin
tool. This tool is used to give fetchurl the windows path to chmod.

- native curl.exe

- gcc-wrapper no longer used

- all-packages.nix: allows stdenv to specify fetchurl.


svn path=/nixpkgs/trunk/; revision=6140
This commit is contained in:
Martin Bravenboer
2006-08-17 00:54:32 +00:00
parent 536a81cd9c
commit 688fff92de
16 changed files with 392 additions and 33 deletions

View File

@@ -78,9 +78,16 @@ rec {
### BUILD SUPPORT
fetchurl = (import ../build-support/fetchurl) {
inherit stdenv curl;
};
/**
* Allow the stdenv to determine fetchurl, to cater for strange requirements.
*/
fetchurl =
if stdenv ? fetchurl then
stdenv.fetchurl
else
(import ../build-support/fetchurl) {
inherit stdenv curl;
};
fetchsvn = (import ../build-support/fetchsvn) {
inherit stdenv subversion nix openssh;