Eelco Dolstra
16c9935fa9
Fix fetchurl of executable file
...
Pointed out by @cstrahan, thanks!
2015-07-23 22:25:04 +02:00
Eelco Dolstra
0a2bee307b
Make <nix/fetchurl.nix> a builtin builder
...
This ensures that 1) the derivation doesn't change when Nix changes;
2) the derivation closure doesn't contain Nix and its dependencies; 3)
we don't have to rely on ugly chroot hacks.
2015-07-20 04:38:46 +02:00
Eelco Dolstra
6f0c6e20e0
Don't rely on __noChroot for corepkgs
...
This doesn't work anymore if the "strict" chroot mode is
enabled. Instead, add Nix's store path as a dependency. This ensures
that its closure is present in the chroot.
2015-03-24 11:15:45 +01:00
Shea Levy
048be62484
Pass *_proxy vars to bootstrap fetchurl
2014-07-16 11:21:45 +02:00
Eelco Dolstra
bdd4646338
Revert "Prevent config.h from being clobbered"
...
This reverts commit 28bba8c44f
.
2013-03-08 01:24:59 +01:00
Eelco Dolstra
28bba8c44f
Prevent config.h from being clobbered
2013-03-07 23:55:55 +01:00
Shea Levy
d6fd6d8aff
corepkgs/fetchurl: Enable making the downloaded file executable
2013-01-21 10:20:52 +01:00
Eelco Dolstra
eae802459d
Pass --insecure to curl so that https works
2012-07-09 15:49:20 -04:00
Eelco Dolstra
2dd3117c27
Inline fetchurl.sh
2012-07-09 15:48:55 -04:00
Shea Levy
035aa11403
Remove obsolete comment
2012-07-09 15:29:49 -04:00
Shea Levy
a2865f6b3d
corepkgs/fetchurl: Build locally and outside of the chroot
2012-07-09 15:29:49 -04:00
Shea Levy
53f52c2111
corepkgs/fetchurl: the 'system' argument can be optional
2012-07-09 15:29:49 -04:00
Shea Levy
f863673a90
corepkgs/fetchurl: Call the shell directly instead of using the shebang
2012-07-09 15:29:49 -04:00
Shea Levy
a994eb92a4
corepkgs/fetchurl.sh: Use config.nix's curl
2012-07-09 15:29:49 -04:00
Shea Levy
9d94a28bed
The fetchurl builder is now fetchurl.sh
2012-07-09 15:29:49 -04:00
Shea Levy
6450f5699f
Move fetchurl files out of their subdirectory
2012-07-09 15:29:49 -04:00