mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
688fff92de
- 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
18 lines
312 B
Bash
Executable File
18 lines
312 B
Bash
Executable File
# the other stdenv could change the SHELL variable,
|
|
# so we have to remember its value.
|
|
origShell=$SHELL
|
|
origGcc=$GCC
|
|
|
|
source $STDENV/setup
|
|
source $SUBSTITUTE
|
|
|
|
mkdir $OUT
|
|
|
|
SHELL=$origShell
|
|
GCC=$origGcc
|
|
|
|
substitute "$SETUP" "$OUT/setup" \
|
|
--subst-var INITIALPATH \
|
|
--subst-var GCC \
|
|
--subst-var SHELL
|