Commit Graph

287 Commits

Author SHA1 Message Date
Otavio Salvador
91745d869e ruby/gem-config: add prawn-gmagick
prawn-gmagick is a Prawn extension that uses GraphicsMagick to embed image
formats Prawn's built-in code does not understand (notably WebP). The gem
ships a C extension that links against libGraphicsMagick via pkg-config, so
graphicsmagick and pkg-config must be in scope at build time.
2026-06-06 20:33:54 +03:00
Michael Daniels
fb9121285d docuseal: 2.3.4 -> 2.4.4 2026-04-17 23:55:36 -04:00
Jo
ca2edd4a22 rubyPackages: move env variables into env for structuredAttrs (#502553) 2026-04-01 10:56:56 +00:00
Stefan Frijters
1224274f24 rubyPackages: move env variables into env for structuredAttrs 2026-03-23 12:42:25 +01:00
Kirill Radzikhovskyy
ab63eaf5d1 rubyPackages.gtk3: fix build add missing dependencies 2026-03-21 10:34:26 +11:00
Yaya
ac13b267ee gitlab: 18.8.4 -> 18.9.1 (#494006) 2026-03-04 08:40:50 +00:00
Felix Bühler
ef74023eff docuseal: 2.2.0 -> 2.3.4 (#491973) 2026-03-01 20:05:18 +00:00
Leona Maroni
ad0eb45e15 gitlab: 18.8.5 -> 18.9.1
https://about.gitlab.com/releases/2026/02/19/gitlab-18-9-released/
2026-02-27 15:52:05 +01:00
Ihar Hrachyshka
082e9ba481 docuseal: 2.2.0 -> 2.3.4
This requires a patch to avoid setresuid() syscall on startup to retain
nixos module hardening.
2026-02-19 20:27:30 -05:00
Antoine du Hamel
7459fe949f nodejs: make nodejs_* depend on nodejs-slim_* 2026-02-03 23:54:16 +01:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Janne Heß
f60c306a87 dawarich: init at 0.37.3, nixos/dawarich: init (#423867) 2026-01-19 22:08:06 +00:00
Kirill Radzikhovskyy
9f4916a9fe rubyPackages.ruby-lxc: fix build with gcc15 2026-01-16 20:57:58 +11:00
Kirill Radzikhovskyy
e3b17a152b rubyPackages.iconv: fix build with gcc15 2026-01-16 20:57:58 +11:00
Kirill Radzikhovskyy
2b7b1cf65f rubyPackages.hpricot: fix build with gcc15 2026-01-16 20:57:58 +11:00
Sigmanificient
7800b4f16c gem-config: remove python2 argument 2026-01-14 06:09:50 +01:00
Diogo Correia
3fd55724a0 ruby-modules/gem-config: patch h3 gem to use h3 from nixpkgs 2026-01-12 12:56:24 +00:00
Jonathan Knapp
a95af12b2b gem-config: ruby-vips 2.3.0 support
Fix vips ruby gem substitutions in gem-config to support latest version (v2.3.0) string replacements.

https://github.com/libvips/ruby-vips/compare/v2.2.5...v2.3.0
2025-12-18 15:33:24 -05:00
Kirill Radzikhovskyy
bd8a83a747 rubyPackages.gtk3: fix build, add missing dependencies 2025-09-12 22:01:22 +10:00
Yifei Sun
6874e7414c oxidized: use defaultGemConfig 2025-09-09 11:29:26 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Kerstin
5de825150d mastodon: 4.3.8 -> 4.4.0 (#414502)
Co-authored-by: Izorkin <izorkin@elven.pw>
2025-07-09 15:56:45 +02:00
Leona Maroni
5e6997ddea gitlab: 18.0.2 -> 18.1.0
https://about.gitlab.com/releases/2025/06/19/gitlab-18-1-released/
2025-06-19 22:30:27 +02:00
Ihar Hrachyshka
dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
nixpkgs-ci[bot]
cece1f9cae Merge master into staging-next 2025-04-05 12:05:23 +00:00
Kirill Radzikhovskyy
c0cff8b921 rubyPackages.ovirt-engine-sdk: fix build 2025-04-05 07:41:10 +11:00
nixpkgs-ci[bot]
0fe8d07ae9 Merge master into staging-next 2025-04-04 12:06:06 +00:00
Avraham Appel
c37b519df2 rubyPackages.taglib-ruby: use taglib v2 2025-04-03 19:37:17 -04:00
Avraham Appel
5c5b3b2305 rubyPackages.iconv: remove patch for v1.1.0 2025-04-03 19:36:14 -04:00
Silvan Mosberger
e52d633a63 Merge remote-tracking branch 'upstream/staging-next' into staging 2025-04-02 18:30:54 +02: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](8616af08d9/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
nixpkgs-ci[bot]
66681a870f Merge staging-next into staging 2025-03-28 18:06:07 +00:00
Benjamin Sparks
6b757a7363 rubyPackages.libv8: drop
Project was marked as abandoned, and Python2 is EOL
2025-03-21 23:17:04 +01:00
Wolfgang Walther
88dfade94b postgresql: replace pg_config with custom script
By replacing upstream's pg_config binary with a shell script, we:
- gain the ability to run pg_config easily when cross-compiling,
- can remove the fake pg_config in the default output,
- can remove the pg_config wrapper script dealing with special cases.

Some 20 years ago, pg_config *was* a shell script upstream, too. It was
changed to a binary, when it was made "relocatable", so it would return
paths depending on the location of the "postgres" binary. However, this
is exactly the thing that just hurts us in nixpkgs - we don't want those
paths to change, we want them to always point at the right outputs. By
writing the script ourselves, this becomes a lot less painful.

This approach means more lines of codes, but all of them are dead simple
and we have a lot less complexity overall.

Additionally, pg_config is now made a separate derivation, only exposed
as "postgresql.pg_config". This has the nice side-effect, that all users
of postgresql and libpq in nixpkgs must be very *explicit* about their
dependency on pg_config. This gives a lot more visibility into the state
of affairs regarding pkg-config support for libpq, which ultimately is
the much better solution.
2025-03-21 18:05:38 +01:00
Sandro Jäckel
80e16d8713 zammad: move gem config to default gem config 2025-03-12 19:08:15 +01:00
nixpkgs-ci[bot]
5397043aaf Merge master into staging-next 2025-03-09 18:03:47 +00:00
Sandro
5503bc3f38 ruby-modules/gem-config: patch mathematical gem for Darwin (#384539) 2025-03-09 16:04:43 +01:00
nixpkgs-ci[bot]
9492c01997 Merge staging-next into staging 2025-02-27 12:06:25 +00:00
Leona Maroni
20e0c9d8ef gitlab: 17.8.2 -> 17.9.1
https://about.gitlab.com/releases/2025/02/20/gitlab-17-9-released/
https://about.gitlab.com/releases/2025/02/26/patch-release-gitlab-17-9-1-released/

* update promeheus-client-mmap to 1.2.9 to fix build (1.2.8 didn't include Cargo.lock)
* remove custom patches in gitlab-container-registry as they are now included
* remove openssl replacement, as it's no longer effective
2025-02-26 21:09:31 +01:00
Qiming Chu
40e73717fe ruby-modules/gem-config: patch mathematical gem for Darwin
Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
2025-02-23 23:32:55 +08:00
OPNA2608
17037d293a taglib: 1.13.1 -> 2.0.2, taglib_1: init at 1.13.1 2025-02-11 13:13:40 +01:00
Vladimír Čunát
3d09bba98d Merge branch 'staging' into staging-next
Conflicts:
      pkgs/by-name/ba/bacon/package.nix
      pkgs/by-name/be/beancount-language-server/package.nix
      pkgs/by-name/fl/flake-edit/package.nix
      pkgs/by-name/fw/fw/package.nix
      pkgs/by-name/im/impression/package.nix
      pkgs/by-name/in/inori/package.nix
      pkgs/by-name/pi/pika-backup/package.nix
      pkgs/by-name/ri/rip2/package.nix
      pkgs/by-name/sn/sniffnet/package.nix
      pkgs/by-name/sy/syndicate_utils/package.nix
      pkgs/development/tools/misc/texlab/default.nix
In the cases where an update collided with cargoHash change,
I took the hash from the update.
2025-01-27 09:52:04 +01:00
Alyssa Ross
de305aefe2 defaultGemConfig.prometheus-client-mmap: fetchCargoTarball -> fetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-26 20:03:05 +01:00
Wolfgang Walther
546ece569b libpq: init at 17.2
Resolves #61580
2025-01-19 12:49:21 +01:00
Gaétan Lepage
b9ed245d88 ruby-grpc: Only apply the GCC 14 patch if it’s not upstream (#368732) 2025-01-15 08:54:33 +01:00
Anders Kaseorg
6be56a4290 ruby-grpc: Only apply the GCC 14 patch if it’s not upstream
It was upstreamed in v1.65.0-pre1~90; attempting to apply it again
after that causes errors.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2025-01-15 02:21:00 -05:00
Leona Maroni
79e9cf8e63 gitlab: update prometheus-client-mmap gem to fix aarch64 (#369636) 2025-01-04 21:26:36 +01:00
Alexander Sieg
34a0c1438c gitlab: update prometheus-client-mmap gem to fix aarch64 2025-01-04 15:07:41 +01:00
Weijia Wang
d0c04f6481 timetrap: fix build 2024-12-31 09:33:50 +01:00
Reno Dakota
45b0aee7ae ruby-grpc: gcc-14 fixes (#367783)
* ruby-modules/gem: don't clobber NIX_CFLAGS_COMPILE

* gem-config/grpc: apply patch for gcc-14

https://boringssl.googlesource.com/boringssl/+/c70190368c7040c37c1d655f0690bcde2b109a0d

add -Wno-error=incompatible-pointer-types to NIX_CFLAGS_COMPILE and
remove the other flags as NIX_CFLAGS_COMPILE were getting clobbered since
7121ef61da (2021)
2024-12-25 10:47:56 +01:00