Commit Graph

275 Commits

Author SHA1 Message Date
John Ericson
6389a88c08
Merge pull request #318166 from rhelmot/freebsd-perl-cross
perl: explicitly tell FreeBSD cross that crypt is available
2024-06-17 17:34:23 -04:00
Audrey Dutcher
f6e67788cb perl: explicitly tell FreeBSD cross that crypt is available 2024-06-16 22:19:11 -07:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Wolfgang Walther
b5a8fcb949
perl: fix spelling of filename 2024-04-01 15:19:58 +02:00
Stig Palmquist
b04b0d0ee0
perl: enableParallelBuilding when not crossCompiling
enableParallelBuilding=false was inadvertently set in f4162143, this
commit reverts to the previous behavior of disabling parallel builds
only during during cross compilation.

The change was made due to problems with local builds during the
upgrade to perl 5.38.0, and should not have been included in the commit.
2024-03-04 05:35:11 +01:00
Stig Palmquist
9625705020
perl.perl-cross: 1.5 -> 84db4c71 2023-11-30 12:08:46 +01:00
Stig Palmquist
8aac6da1c3
perl538: 5.38.0 -> 5.38.2 2023-11-30 02:35:36 +01:00
Stig Palmquist
a18b35ae5b
perl536: 5.36.1 -> 5.36.3 2023-11-30 02:35:32 +01:00
Stig Palmquist
9f815be605 perldevel: remove
- Removes `perldevel` and `perldevelPackages`

perldevel (and perldevelPackages) are supposed to track the latest
development version of perl. This package is rarely updated, and usually
cause issues updating stable versions of perl since perl-cross releases
don't include patches for development versions
2023-09-08 14:22:00 +00:00
Adam Joseph
cbc8aa437c treewide: use uncurried version of makeScopeWithSplicing 2023-08-14 02:51:10 +03:00
github-actions[bot]
5827446dce
Merge master into staging-next 2023-08-03 00:01:56 +00:00
Robert Hensing
34ee0260ec treewide: Add meta.mainProgram
Based on ofborg feedback.
Part of https://github.com/NixOS/nixpkgs/pull/246386
2023-08-01 12:21:05 +02:00
Silvan Mosberger
a0b8caf3bc
Revert "lib.customisation: uncurry makeScopeWithSplicing" 2023-07-28 23:04:09 +02:00
Artturin
3716ef19d8 lib.makeScopeWithSplicing: provide default for keep,extra
These are often unneeded by the user.
2023-07-28 17:41:01 +03:00
Adam Joseph
cb13669b00 lib.customisation: uncurry makeScopeWithSplicing
Deeply-curried functions are pretty error-prone in untyped languages
like Nix.  This is a particularly bad case because
`top-level/splice.nix` *also* declares a makeScopeWithSplicing, but
it takes *two fewer arguments*.

Let's switch to attrset-passing form, to provide some minimal level
of sanity-checking.
2023-07-27 21:31:59 -07:00
Martin Weinelt
fd5d0300b4
Merge pull request #241848 from stigtsp/perl/5.38.0
[staging] perl: 5.36.0 -> 5.38.0
2023-07-27 02:05:42 +02:00
Uri Baghin
0275cf0e6d
Merge pull request #241025 from uri-canva/fix-native
stdenv: fix stagesNative
2023-07-17 13:18:40 +10:00
Sandro
97e4060597
Merge pull request #240997 from xworld21/perl-binary-wrapper
perl: use makeBinaryWrapper for perl.withPackages
2023-07-14 21:29:08 +02:00
Christian Kögler
c7387bbc8a
perl.mini: fix modules for compatibility with miniperl
Added compatibility for

- CPAN::Meta
- JSON::PP
- Data::Dumper
2023-07-06 14:14:31 +02:00
Stig Palmquist
f41621432f
perl: 5.36.0 -> 5.38.0
- perl538: init at 5.38.0
- perl536: 5.36.0 -> 5.36.1
- perl-cross: c8760457 -> 1.5
- perl: perl536 -> perl538
- perlPackages: perl536Packages -> perl538Packages
- perldevel: 5.37.0 -> 5.38.0
- perl534: remove

- patch: Add conditional no-sys-dirs patch for 5.38.0
- patch: Only apply HTTP-Tiny patch for 5.36.1, as it is fixed in 5.38.0
- patch: Set `USE_ZLIB_NG=False` for Compress::Raw::Zlib
2023-07-06 14:14:30 +02:00
Yueh-Shun Li
85a56839aa perl: meta.description: fix typo 2023-07-04 22:45:51 +08:00
uri
f829b24045 stdenv: fix stagesNative 2023-07-02 19:07:23 +10:00
Vincenzo Mantova
3ea8390db3 perl: use makeBinaryWrapper for perl.withPackages 2023-07-02 01:30:01 +01:00
Artturin
af0fc32127 perlPackages: use makeScopeWithSplicing 2023-04-11 18:49:10 +03:00
Shawn8901
a59dda942c treewide: remove global with lib; statements in pkgs/development 2023-01-26 18:31:02 +01:00
Alyssa Ross
b0997077e7
perl: don't use libxcrypt on FreeBSD
Tested by building pkgsCross.x86_64-freebsd.perl from x86_64-linux.
2023-01-18 12:10:34 +00:00
Franz Pletz
3624ac2458
perl: fix build with libxcrypt 2022-10-09 18:07:54 +02:00
Martin Weinelt
a369108233
perl: allow building without libcrypt 2022-10-09 18:07:53 +02:00
Stig Palmquist
5b709277f4
perl: verify_SSL=>1 by default in HTTP::Tiny 2022-08-19 19:57:56 +02:00
Stig Palmquist
5e2471dfec
perldevel: 5.35.9 -> 5.37.0, perl-cross: 31dac3e2 -> c8760457 2022-08-02 01:09:41 +02:00
Stig Palmquist
20868cb2d0
perl: 5.34.1 -> 5.36.0
- perl536: init at 5.36.0
- perl: perl534 -> perl536
- perlPackages: perl534Packages -> perl536Packages
- perl532: remove
2022-08-02 01:01:16 +02:00
Artturin
f002ffed9a treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
Alyssa Ross
4761e50372
pkgsStatic.perl: fix build
This perl-cross upgrade brings in a single new commit, by me, that
fixes the pkgsStatic.perl build.

Fixes: d1adf50277 ("perl: use pkgs.zlib instead of bundled zlib")
2022-05-06 14:05:10 +00:00
Lassulus
81dc2b51fd
Merge pull request #164301 from stigtsp/package/perl-5.34.1
perl: 5.34.0 -> 5.34.1, perldevel: 5.35.4 -> 5.35.9, perl.perl-cross: 393821c7 -> 1.3.7
2022-04-08 17:56:55 +01:00
Stig Palmquist
d1adf50277 perl: use pkgs.zlib instead of bundled zlib 2022-04-03 22:31:05 +02:00
Stig Palmquist
2cf99c997d perldevel: 5.35.4 -> 5.35.9 2022-03-16 17:00:33 +01:00
Stig Palmquist
d25a1e4e0f perl.perl-cross: 393821c7 -> 1.3.7
- Update `perl-cross` to latest release which supports perl 5.34.1
- Remove patch as it's included upstream
2022-03-16 17:00:24 +01:00
Stig Palmquist
c8527aab06 perl: 5.34.0 -> 5.34.1 2022-03-16 14:04:19 +01:00
Felix Buehler
e2b9641729 perl: rename name to pname 2022-02-28 16:08:40 +01:00
Guillaume Girol
4a1750ad7b
Merge pull request #142002 from trofi/perl-non-cross
perl: set 'configurePlatforms = [];' to prepare for default change
2021-11-10 22:00:59 +00:00
Artturin
f7cfc8f319 perl: build reproducibly 2021-11-05 22:57:28 +02:00
Sergei Trofimovich
85b1d6ff89 perl: set 'configurePlatforms = [];' to prepare for default change
Prepare for default 'configurePlatforms = [ "build" "host" ];': perl
does not support gnu-stile target specification.

Extracted from PR#87909.
2021-10-17 16:08:18 +01:00
Alyssa Ross
881ba67f83
pkgsStatic.perl: fix build
I don't understand how this worked prior to 1dbb306
("pkgsStatic.perl: Use `dontAddStaticConfigureFlags` instead of overriding"),
but what I do know is that it's very broken now, to the point that
perl-cross needs a patch.

I doubt the -Duseshrplib is actually necessary when native compiling,
but removing it would be a mass rebuild, so I've left it in place for
now.
2021-10-05 11:59:14 +00:00
Stig Palmquist
937d22aaa6 perldevel: 5.35.3 -> 5.35.4 2021-09-24 14:52:02 +02:00
Stig Palmquist
c732b861d3 perl.perl-cross: 01c176ac0 -> 393821c7 2021-09-24 14:51:16 +02:00
github-actions[bot]
0630061ef3
Merge master into staging-next 2021-09-02 18:01:20 +00:00
Stig Palmquist
57b7e41353 perldevel: 5.35.0 -> 5.35.3 2021-08-25 15:45:19 +02:00
Stig Palmquist
9f74d336f8 perl.perl-cross: 1.3.6 -> 01c176ac0 2021-08-25 15:44:22 +02:00
Pamplemousse
1dbb306b87 pkgsStatic.perl: Use dontAddStaticConfigureFlags instead of overriding
Signed-off-by: Pamplemousse <xav.maso@gmail.com>
2021-08-13 17:28:26 -07:00
Stig Palmquist
73de228e71 perl: 5.32.1 -> 5.34.0
- perl534: init at 5.34.0
- perl: perl532 -> perl534
- perlPackages: perl532Packages -> perl534Packages
- perl530: remove
- remove obsolete patches
2021-06-16 17:13:43 +02:00