90 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
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
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
Bruno BELANYI feac9edf6a treewide: add meta.mainProgram
Related PR: NixOS#246386
2023-08-04 10:32:10 +00: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
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
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
ChuckandFrederik Rietdijk 3fd0b28f55 gawk: 5.0.1 -> 5.1.0 2020-05-01 08:58:16 +02:00
Michael ReillyandJörg Thalheim 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Robin GlosterandJan Tojnar 083d3550a5 gawk: *Flags are lists 2019-12-30 11:13:38 +01:00
R. RyanTMandSamuel Leathers 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
Frederik Rietdijk a510aa2672 Merge master into staging-next 2018-12-03 12:18:43 +01:00
c0bw3b 0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Jörg Thalheim 3681fa5456 direnv: make cross-compile on windows 2018-11-24 10:43:47 +00:00
John Ericson 2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Maximilian Güntner babb7be8b8 gawk: 4.2.0 -> 4.2.1 2018-03-01 00:29:12 +01:00
Ben GamariandJohn Ericson 6f4cfe0570 gawk: Enable cross-compilation 2017-12-29 17:18:46 -05:00
mimadridandRobin Gloster 25f080ca4a gawk: 4.1.4 -> 4.2.0 2017-11-04 17:29:35 +01:00
Vladimír Čunát 8137a8cb73 gawk: refactor
- Don't build with libsigsegv by default.  The build apparently attempted
  to link against it, but it never retained the reference anyway...
- Side effect: stdenv bootstrapping needs no libsigsegv anymore.
- Run checks, but only in the interactive gawk by default on Linux,
  so that stdenv bootstrap isn't slowed down (by glibc locales, etc.).
- xz should be no longer needed in inputs, as we have it in stdenvs now.

The whole change was triggered by some used kernel versions still
breaking libsigsegv tests #28464.
2017-08-24 11:06:53 +02:00
Vladimír Čunát 66fdb94f50 gawkInteractive: fix build after 04d4d14d6d
(Without causing a mass rebuild for now.)
2017-06-18 13:53:09 +02:00
Robin Gloster 04d4d14d6d gawk: link gawk manpage to awk 2017-06-13 13:16:50 +02:00
Tuomas Tynkkynen 0d86c0692f gawk: Disable tests that don't work in sandbox 2017-04-11 23:37:31 +03:00
Tuomas Tynkkynen c7e1a25765 gawk: 4.1.3 -> 4.1.4 2017-04-11 13:00:56 +03:00
John Ericson 27b47ef736 gawk: xz.bin should be a native build input 2017-01-14 17:54:53 -05:00
Tuomas TynkkynenandVladimír Čunát 8d473f107c treewide: Make explicit that 'dev' output of readline is used 2016-05-19 10:03:35 +02:00
Vladimír Čunát 716aac2519 Merge branch 'staging' into closure-size 2016-01-19 09:55:31 +01:00
janus a472d836f6 FreeBSD: apr-util, cyrus-sasl, berkeley db, glib, gnutls, kerberos, libelf-freebsd, openldap, serf, guile, tet, shishi, gawk, gnugrep 2016-01-01 17:01:13 +00:00
Luca Bruno 5b0352a6a4 Merge branch 'master' into closure-size 2015-12-11 18:31:00 +01:00