Commit Graph

172 Commits

Author SHA1 Message Date
Michael Raskin
a059fc7420
Merge pull request #56067 from oxij/tree/fetchurl-boot
treewide: assemble all `fetchurlBoot` uses in overrides to `fetchurl`
2019-02-21 09:43:11 +00:00
Jan Malakhovski
a1fec8667d treewide: assemble all fetchurlBoot uses in overrides to fetchurl itself
The only outside-curl uses of `fetchurlBoot` left are `stdenv`
and `apple-source-releases`. The latter one can probably be removed
too, but I can't test it.

Pros:

- Aggregates all behind-the-scenes insanity in a single place.

Cons:

- At the cost of 10 more derivations (but 0 new outpaths).
2019-02-19 20:55:59 +00:00
Graham Christensen
df8b6728a8
perl: make reproducible
Perl likes to capture impure data, needlessly.

 - Configure time (cf_time): make 1 second past epoch
 - Target system (uname): use less uname information
2019-02-04 09:10:22 -05:00
Frederik Rietdijk
092e3b50a8 Merge master into staging-next 2019-01-02 21:08:27 +01:00
Vladimír Čunát
70bff06140
Merge branch 'master' into staging 2019-01-02 17:19:23 +01:00
volth
098d919425 perldevel: 5.29.4 -> 5.29.6 (#52510) 2019-01-01 19:08:44 +01:00
volth
b22f1b0e9e perl526: drop 2018-12-14 14:52:52 +00:00
Jörg Thalheim
ec59713c5c
perl: update perl-cross archive 2018-12-09 23:04:18 +00:00
volth
03b9bc9e66
perl526: 5.26.2 -> 5.26.3 2018-12-03 13:46:42 +00:00
volth
873967b7a5
perl:5.28.0 -> 5.28.1 2018-12-03 13:10:54 +00:00
volth
c246b5283c perldevel: 5.29.3 -> 5.29.4 (#49624) 2018-11-02 03:10:11 +01:00
Frederik Rietdijk
6f5142e48e Merge master into staging 2018-10-13 09:48:20 +02:00
volth
05bcae1595
perl-cross: 1.2 -> gitmaster 2018-10-11 21:53:52 +00:00
volth
8a7cf66ed0
remove support for pre-5.26 Perl 2018-10-03 20:34:04 +00:00
volth
5f91657ad1 remove support for pre-5.26 Perl 2018-10-03 19:29:58 +00:00
Daiderd Jordan
1383c08f2c
Merge branch 'master' into staging-next 2018-10-01 19:42:07 +02:00
volth
507b2fdde3 remove Perl 5.22 and 5.24 (end-of-life upstream few months ago) 2018-09-27 09:58:50 +00:00
volth
b7ac8824af
perldevel: use double quote to preserve ''\.'' 2018-09-25 20:52:31 +00:00
volth
06faf5cc5c perl: add devel version at 5.29.3 2018-09-25 19:51:20 +00:00
Matthew Bauer
6910a9d1e2 perl: disallow reference to cc
Fixes #46077
2018-09-23 00:28:23 -05:00
Matthew Bauer
379fc894de Merge remote-tracking branch 'origin/master' into staging 2018-08-21 15:41:53 -05:00
Markus Kowalewski
2521f7cbdc
perl: set license to artistic 2018-08-18 23:11:55 +02:00
Markus Kowalewski
a3990e734d
perl: add license 2018-08-18 00:11:32 +02:00
volth
6635879ff1
perl: remove duplicated code 2018-08-17 12:51:07 +00:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
063132c22c perl-cross: remove patch that's now included 2018-07-20 12:56:07 -05:00
Will Dietz
fdb9f10e4e perl: 1.1.8 -> 1.2, fix w/newer perl 2018-07-20 12:54:32 -05:00
Vladimír Čunát
f7781f5293
Merge branch 'master' into staging 2018-06-30 01:41:59 +02:00
volth
3fb3031f93 [staging] always expose perl.version (#42644)
always expose perl.version (currently it is only visible if (stdenv.buildPlatform != stdenv.hostPlatform))
2018-06-27 15:37:36 +02:00
volth
dd366701ce perl528: init at 5.28.0 2018-06-25 13:33:09 +00:00
volth
3c43bb7871
perl526: 5.26.1 -> 5.26.2 2018-06-25 13:23:33 +00:00
volth
069cdfff08
[staging] perl524: 5.24.3 -> 5.24.4 2018-06-25 12:53:52 +00:00
Matthew Justin Bauer
eeb016e8f0
Merge branch 'staging' into fix-ncurses-darwin-extensions 2018-05-02 15:40:38 -05:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Jan Malakhovski
7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
Shea Levy
306d5cdf03
perlPackages: Add cross-compilation support.
This involved:

* Installing miniperl as $dev/bin/perl
* Setting miniperl to take INC from
  lib/perl5/{site_perl/,}cross_perl/${version} as well as
  lib/perl5/{site_perl/,}/${version}/${runtimeArch}, in that
  order. miniperl taking from runtimeArch is not really correct, but
  it works in some pure-perl cases (e.g. Config.pm) and can be
  overridden with the cross_perl variant.
* Installing perl-cross's stubs into
  $dev/lib/perl5/cross_perl/${version}
* Patching MakeMaker.pm to gracefully degrade (very slightly) if B.pm
  can't be loaded, which it can't in cross-compilation.
* Passing the right build-time and runtime perls to Makefile.PL
2018-02-28 15:01:32 -05:00
Shea Levy
b45fb438b1
perl: Cross-compile: patch miniperl for gcc7 2018-02-26 07:54:22 -05:00
Shea Levy
168b131de4
perl: Work around cross-compilation issue with gcc 7 2018-02-25 00:40:36 -05:00
Ben Gamari
8ebb907d70 perl: Add support for cross-compilation via perl-cross 2018-01-19 12:59:49 -05:00
John Ericson
4d2b763817
Merge pull request #26805 from obsidiansystems/cross-elegant
Make cross compilation elegant
2017-12-30 22:58:02 -05:00
John Ericson
046f091e0d treewide: Don't use envHook anymore
This commits needs a MAJOR audit as I oftentimes just guessed which of
`$hostOffset`, `$targetOffset`, or a fixed offset should be used.
2017-12-30 22:04:22 -05:00
Michael Raskin
fac4de6aa2 perl526: init at 5.26.1 2017-12-23 20:26:48 +01:00
Orivej Desh
dc4200f934 perl522: do not apply the patch for parallel building
It does not apply and this version is not affected.
2017-12-07 07:07:58 +00:00
Orivej Desh
8ce5ee5c5a perl: fix parallel building
https://hydra.nixos.org/build/65428077/nixlog/1
2017-12-06 22:20:56 +00:00
Dan Peebles
34fe3e0a49 perl: remove unsupported sandboxProfile 2017-11-14 10:34:03 -05:00
Tim Steinbach
d266a456ab
perl: 5.24.2 -> 5.24.3 2017-10-30 08:54:14 -04:00
John Ericson
e5567bae2d treewide: Do not limit hardenging because gcc 4.9 in bootstrap
Bootstrap tools has since been bumped
2017-09-14 10:27:13 -04:00
Volth
ee51e73120
perl: 5.24.1 -> 5.24.2 and 5.22.3 -> 5.22.4
Scavenged by vcunat from #28353.
2017-08-26 12:35:33 +02:00
Vincent Laporte
982af09d2c perl522: fix build on Darwin
The sw_vers patch only applies to version 5.24
2017-07-01 12:26:44 +00:00
Eelco Dolstra
1318120484
Fix indentation 2017-05-30 18:11:37 +02:00