165 Commits

Author SHA1 Message Date
Alexander Bantyev 25f0d1212e perl: add tests.withCheck
Adds perl.passthru.tests.withCheck, which runs the test suite provided
with perl.
2025-12-13 00:02:59 +01:00
Marcus Ramberg de6e69cd4a perl: 5.40.0 -> 5.42.0
Drop 0.38 and 5.40
2025-11-15 19:32:26 +01:00
Artturin 1f74d7a2bd treewide: remove = __splicedPackages
Now that `pkgs` is `__splicedPackages` on cross we can remove these
variables I set.

Assignments like `patchutils = pkgs.patchutils_0_3_3;` in
`all-packages.nix` cannot be removed because the `pkgs`
in `patchutils = pkgs.patchutils_0_3_3;` in `all-packages.nix` is coming from
this `pkgs:` https://www.github.com/NixOS/nixpkgs/blob/b6e486730fc875ec79a3dea0f1f46eaf9f6ffa9d/pkgs/top-level/all-packages.nix#L9
instead of the `pkgs` in `with pkgs;`
2025-10-28 21:54:15 +01:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Artturin 9d9f4b50b4 Revert "splice.nix: make pkgs splicedPackages" 2024-12-06 18:58:53 +02:00
Artturin a27e48e1b2 treewide: remove = __splicedPackages
Now that `pkgs` is `__splicedPackages` on cross we can remove these
variables I set.

Assignments like `patchutils = pkgs.patchutils_0_3_3;` in
`all-packages.nix` cannot be removed because the `pkgs`
in `patchutils = pkgs.patchutils_0_3_3;` in `all-packages.nix` is coming from
this `pkgs:` https://www.github.com/NixOS/nixpkgs/blob/b6e486730fc875ec79a3dea0f1f46eaf9f6ffa9d/pkgs/top-level/all-packages.nix#L9
instead of the `pkgs` in `with pkgs;`
2024-11-11 00:25:02 +02:00
Sergei Trofimovich a41bb2c31e perlInterpreters.perl536: drop the attribute
Without the change `nixpkgs` exposes unevaluatable attribute as:

    $ nix build --no-link -f. perlInterpreters.perl536.perlOnBuild
    error: attribute 'perl536' missing
       at pkgs/development/interpreters/perl/interpreter.nix:207:37:
          206|       perlOnBuildForBuild = override pkgsBuildBuild.${perlAttr};
          207|       perlOnBuildForHost = override pkgsBuildHost.${perlAttr};
             |                                     ^
          208|       perlOnBuildForTarget = override pkgsBuildTarget.${perlAttr};
       Did you mean one of perl538 or perl540?

The interpreter depends on presence of `perl536` attribute which wa
removed recently.
2024-09-15 07:05:28 +01:00
Marcus Ramberg 384f9f8336 perl: 5.38.2 -> 5.40.0
- perl: perl538 -> perl540
- perl: disable parallel building as it fails for 5.40
- perlPackages: perl538Packages -> perl540Packages
- perlCross:  84db4c7 -> 1.6
2024-09-07 19:09:39 +02:00
Wolfgang Walther b5a8fcb949 perl: fix spelling of filename 2024-04-01 15:19:58 +02: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
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
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
Alyssa Ross 71c1bf81e2 perldevel: 5.33.8 -> 5.35.0 2021-06-03 13:23:01 +00:00
Alyssa Ross d5607f05af perl.perl-cross-src: 2021-03-21 -> 1.3.6
New version adds support for NetBSD (by me!).
2021-06-01 08:38:15 +00:00
Alyssa Ross 1439845fed perl.perl-cross-src: use fetchFromGitHub 2021-06-01 08:21:08 +00:00
Stig Palmquist 7e160ee51b perldevel: 5.33.6 -> 5.33.8 2021-03-21 20:37:12 +01:00
Stig Palmquist ad039e9158 perl-cross: 1.3.5 -> e53999d 2021-03-21 20:36:42 +01:00
Ivan Babrou afbb72faef perl530: backport aarch64-darwin patch
This was originally in #105026, but then 5.30.1 happened with
this change included, so there were conflict and the patch
got dropped. Let's introduce it separately for only one version
that still needs it.
2021-02-26 20:46:09 -08:00
Stig Palmquist 3ebc1b59fd perl532: 5.32.0 -> 5.32.1, perl-cross: 4c55233 -> 1.3.5 2021-01-24 19:30:35 +01:00
Stig b8c3cd1318 Merge pull request #110321 from stigtsp/package/perl-5.33.6
perldevel: 5.33.5 -> 5.33.6, perl-cross: b444794 -> 4c55233
2021-01-23 03:17:03 +01:00
Stig Palmquist fc8a310406 perldevel: 5.33.5 -> 5.33.6, perl-cross: b444794 -> 4c55233 2021-01-21 12:34:55 +01:00