108 Commits

Author SHA1 Message Date
whispers 63d29caff2 gawk: apply upstream patch for bug when building without gmp/mpfr
when using gawk 5.4.1 without gmp and mpfr, some alignment is broken in
a NODE struct. this causes build failures in downstream packages such
as `libpng` and `gcc16`. a discussion of the latter occurred on
bug-gawk (https://lists.gnu.org/archive/html/bug-gawk/2026-07/msg00013.html)
where the issue was found and pushed to the relevant branch, but has not
been released. accordingly, we fetch (manually, since fetchpatch
infrecs) the patch from the savannah gitweb. this fixes `libpng` and
`gcc16`.
2026-07-14 16:54:24 -04:00
whispers 293df3a7b1 Reapply "gawk: 5.4.0 -> 5.4.1"
This reverts commit 4169bd4063.
2026-07-14 16:54:24 -04:00
Martin Weinelt 4169bd4063 Revert "gawk: 5.4.0 -> 5.4.1"
This reverts commit 1488f541dc.

Breaks at least gcc16 and libpng.
2026-07-14 21:50:06 +02:00
R. Ryantm 1488f541dc gawk: 5.4.0 -> 5.4.1 2026-07-10 00:38:47 +00:00
Janne Heß fb11607cf5 gawk: 5.3.2 -> 5.4.0
Closes https://github.com/NixOS/nixpkgs/issues/493667
2026-02-26 15:42:39 +01:00
Wolfgang Walther 550ed29363 teams/helsinki-systems: drop 2026-01-14 09:46:22 +01:00
nixpkgs-ci[bot] 9c7c6cc7ff Merge staging-next into staging 2025-10-31 00:17:58 +00:00
Aliaksandr 03bb7d8195 all-packages: do not export lib functions from pkgs 2025-10-30 22:38:49 +02:00
Luna Nova e7fbed853b treewide: remove usages of obsolete pie hardening flag 2025-10-09 10:13:03 -07:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
K900 f96ac2dcd6 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-26 09:07:48 +03:00
Fernando Rodrigues 05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03:00
0x4A6F 8952d95834 gawk: fix build on darwin 2025-04-24 16:48:47 +02:00
R. Ryantm 58c2cb01d8 gawk: 5.3.1 -> 5.3.2 2025-04-02 12:59:23 +00:00
nixpkgs-ci[bot] 9fb7ecfb57 Merge staging-next into staging 2025-01-22 00:14:52 +00:00
FliegendeWurst 47cbb54c07 gawkextlib.{errno,gd,haru,lmdb,select}: fix (cross) build 2025-01-19 13:58:40 +01:00
Wolfgang Walther 546ece569b libpq: init at 17.2
Resolves #61580
2025-01-19 12:49:21 +01:00
Silvan Mosberger 667d42c00d treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Artturin 06519058fd Merge branch 'staging-next' into staging 2024-09-25 06:14:50 +03:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Simon Hauser 8cd3989e4d gawk: 5.2.2 -> 5.3.1
Changelog:
- https://lists.gnu.org/archive/html/info-gnu/2023-11/msg00000.html
- https://mail.gnu.org/archive/html/info-gnu/2024-09/msg00008.html
2024-09-23 19:04:39 +02:00
Ivan Trubach f0e142a4cd gawk: move gawkbug to gawkInteractive
This change removes gawkbug program from non-interactive build, similar
to the bash{,Interactive} package.
2024-08-14 16:30:39 +03:00
Audrey Dutcher fa8c2ac3be gawk: Add runtimeShell to buildInputs
This package distributes shell scripts in /bin. Its shebangs are
always patched to a /nix/store shell, but by default, they are patched to
use the stdenv's shell, which during bootstrap is build in the previous
stdenv. By using runtimeShell from the current stdenv, we can shorten the
FreeBSD bootstrap process significantly.
2024-05-26 23:25:08 -07:00
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Manuel Frischknecht 93c3fc7fe0 gawkextlib.haru: fix compilation errors due to typos fixed in libharu
These two typos (SCUARE instead of SQUARE and TRIAL instead of TRAIL)
have been fixed in libharu 2.4.4 [1] [2], but the source code for
gawkextensions still uses the old names to this day [3].

[1]: https://github.com/libharu/libharu/issues/94
[2]: https://github.com/libharu/libharu/commit/88271b73c68c521a49a15e3555ef00395aa40810
[3]: https://sourceforge.net/p/gawkextlib/code/ci/f952fe2159ae3f712f4b230a15e8a03fa090e678/tree/haru/pdf.h#l89
2023-12-01 20:14:20 +01:00
Manuel Frischknecht bce0bd56e8 Add patches option to buildExtension of gawkextlib
With this, it's possible to add patches to the `gawkextlib` source
code in the declaration of the specific extensions that need them.
2023-12-01 19:51:56 +01:00
Tom Bereknyei 1d5976fa32 gawkextlib: unstable-2019-11-21 -> unstable-2022-10-20 2023-08-18 08:48:51 -04:00
Bruno BELANYI feac9edf6a treewide: add meta.mainProgram
Related PR: NixOS#246386
2023-08-04 10:32:10 +00:00
figsoda d70e0242e9 pkgs/tools/text: remove dead code
with the help of deadnix & nil
2023-07-12 12:12:15 -04:00
Janne Heß 0f0e98dd5e gawk: 5.2.1 -> 5.2.2
This is a bugfix release:
https://lists.gnu.org/archive/html/info-gnu/2023-05/msg00008.html
2023-05-21 23:47:43 +02:00
Felix Buehler d10e69c86b treewide: deprecate isNull
https://nixos.org/manual/nix/stable/language/builtins.html#builtins-isNull
2023-03-06 22:40:04 +01:00
Guillaume Girol 90c78aee6c Merge branch 'nativeCheckInputs' into staging-nativeCheckInputs 2023-01-21 12:00:00 +00:00
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Sergei Trofimovich a0bb02d340 gawk: unconditionally apply the patch to fix PIE linkage on musl
Related: https://github.com/NixOS/nixpkgs/pull/210124
2023-01-11 22:18:48 +00:00
Alyssa Ross 1729975ffc gawk: disable PIE
PIE is incompatible with gawk's new persistent memory feature.
This fixes pkgsMusl.gawk.

Fixes: 3fba3bf53f ("gawk: 5.1.1 -> 5.2.1")
Fixes: https://github.com/NixOS/nixpkgs/pull/210124
2023-01-11 18:24:19 +00:00
Sergei Trofimovich 3fba3bf53f gawk: 5.1.1 -> 5.2.1
Had to pull in yet unreleased patch to avoid persistent memory alocator
on darwin as the hack in release relies on x86_64 emulation for aarch64
ports.

changelogs:
- 5.2.1: https://lists.gnu.org/archive/html/info-gnu/2022-11/msg00008.html
- 5.2.0: https://lists.gnu.org/archive/html/info-gnu/2022-09/msg00003.html
2022-12-28 09:12:32 +00:00
Felix Buehler 564b9a8252 gawkInteractive: remove appendToName to have a consistent package name for repology 2022-02-28 12:45:43 +01:00
Sergei Trofimovich 0b9a1d1e3f gawk: 5.1.0 -> 5.1.1 2021-10-31 20:29:34 +00:00
Sandro Jäckel ba7992dc54 gawk: format, cleanup 2021-07-29 10:23:37 +02:00
Felix Buehler 9857ee5471 gawk: replace name with pname&version 2021-07-27 23:02:17 +02:00
Rick van Schijndel 99e9cc0d40 gawk-with-extensions: move makeWrapper to nativeBuildInputs 2021-07-12 21:26:42 +02:00
Ben Siraphob d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch 4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Chuck 3fd0b28f55 gawk: 5.0.1 -> 5.1.0 2020-05-01 08:58:16 +02:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin Gloster 083d3550a5 gawk: *Flags are lists 2019-12-30 11:13:38 +01:00
tomberek 774ad67ce0 gawkextlib: init at unstable-2019-11-21 (#51721)
Co-Authored-By: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
2019-12-07 20:07:33 -05:00
R. RyanTM 50d8295cc6 gawk: 4.2.1 -> 5.0.1 (#59503)
* gawk: 4.2.1 -> 5.0.1

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gawk/versions

* libgpg-error: fix build with gawk 5

Cherry picked commit 6fe2cdd03c98270b0ce0026acf8dab0a6c4d3d63 from
https://github.com/NixOS/nixpkgs/pull/67801.
2019-08-31 07:13:30 -04:00