Commit Graph

237 Commits

Author SHA1 Message Date
Kenichi Kamiya
66d20ec16f rubyPackages.ovirt-engine-sdk: set meta.broken 2024-11-19 21:32:58 +01:00
Bobby Rong
0aa11384db rubyPackages.*: Fix build with glib 2.82, clean up
https://hydra.nixos.org/build/274401072/nixlog/1

Ugh, I am looking at glib-2.0.pc and sysprof-capture-4 is in Requires.private
so I didn't propagate that. Later I decide I will just follow 81e445e508
adding libsysprof-capture next to every usages of pcre2.

Not sure why gtk2 is still there after b95976f77c, same question for pcre.
2024-10-14 20:54:18 +08:00
github-actions[bot]
ff851b037d Merge master into staging-next 2024-10-06 00:15:37 +00:00
Stanisław Pitucha
3a8cd368bb rubyPackages.nokogiri: mark as broken for old libxml2 (#321431) 2024-10-06 08:55:19 +11:00
Artturin
f0e657f3b1 Merge branch 'master' into staging-next 2024-09-25 06:05:01 +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
Manuel Mendez
17b3df2861 rust: Write to .cargo/config.toml instead of .cargo/config
Seeing the following new warnings pop up on stderr when cargo was bumped
to 1.78:

```
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
```

which happens to break commitmsgfmt builds in nix (#320294).

closes #320294
2024-09-11 21:03:32 -04:00
Wolfgang Walther
050689db30 treewide: fix pg_config / postgresql headers moved to dev output
This was supposed to happen in #294504, but the commit was accidentally
left out when splitting off some libpq-related changes. Originated in
#179962, by Sandro.

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2024-08-24 15:44:10 +02:00
Randy Eckenrode
3d7db28279 Merge pull request #330053 from reckenrode/ruby-package-fixes 2024-07-30 09:30:38 -04:00
Randy Eckenrode
1aa9412f3e rubyPackages.libxml-ruby: fix build on Darwin
Darwin’s libiconv has separate outputs for the dylib and headers, so it needs to use `lib.getLib` and `lib.getDev`.
2024-07-25 22:08:31 -04:00
Randy Eckenrode
2536713f70 rubyPackages.iconv: fix build on Darwin
Darwin’s libiconv has separate outputs for the dylib and headers, so it needs to use `lib.getLib` and `lib.getDev`.
2024-07-25 22:08:31 -04:00
Randy Eckenrode
e1d14f12b1 rubyPackages.hpricot: fix build with clang 16 2024-07-25 22:08:30 -04:00
Randy Eckenrode
5a5fda7a90 rubyPackages.gtk3: fix build on Darwin and Linux
- Add missing Ruby dependency (cairo); and
- Add missing build input (lerc).
2024-07-25 22:08:30 -04:00
Randy Eckenrode
0164c884bf rubyPackages.curses: fix build with clang 16 2024-07-25 22:08:29 -04:00
Randy Eckenrode
d5f637590e tree-wide: enable LTO on Darwin 2024-07-20 03:19:54 -04:00
Winter
2de1fd60fc Revert "rust: Write config.toml not config" 2024-06-23 12:32:29 -04:00
Stanisław Pitucha
651cab9ae0 rubyPackages.nokogiri: mark as broken for old libxml2 2024-06-21 15:16:38 +10:00
Manuel Mendez
3f7663c1d7 rust: Write to .cargo/config.toml instead of .cargo/config
Seeing the following new warnings pop up on stderr when cargo was bumped
to 1.78:

```
warning: `/build/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
```

which happens to break commitmsgfmt builds in nix (#320294).

closes #320294
2024-06-19 14:56:51 -04:00
Thomas Gerbet
826cc7fa1c rubyPackages.libv8: use nodejs.libv8 2024-05-30 11:53:55 +02:00
Sigmanificient
203a48ad35 pkgs/development: remove unused fetchpatch arguments 2024-05-24 02:53:57 +02:00
annalee
c3d54620fd rubyPackages_3_{2,3}.nokogiri: add libxml2 to darwin buildInputs; unbreak
fix build failure on darwin:

```
checking for xmlParseDoc() in -lxml2... no
checking for xmlParseDoc() in -llibxml2... no
checking for libxml-2.0 using `pkg_config`... no
Please install either the `pkg-config` utility or the `pkg-config` rubygem.
checking for xmlParseDoc() in -lxml2... no
checking for xmlParseDoc() in -llibxml2... no
-----
extconf.rb:295:in `ensure_package_configuration'
extconf.rb:704:in `<main>'
xml2 is missing. Please locate mkmf.log to investigate how it is failing.
```
2024-05-13 12:09:08 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
Yaya
135cf4f8f9 gitlab: 16.8.1 -> 16.9.2
https://gitlab.com/gitlab-org/gitlab/-/blob/v16.8.2-ee/CHANGELOG.md
https://gitlab.com/gitlab-org/gitlab/-/blob/v16.9.2-ee/CHANGELOG.md

Fixes CVE-2023-6386
Fixes CVE-2023-6840
Fixes CVE-2024-0199
Fixes CVE-2024-1066
Fixes CVE-2024-1250
Fixes CVE-2024-1299

Co-Authored-By: ajs124 <git@ajs124.de>
2024-03-19 13:47:55 +01:00
Sergei Trofimovich
70a827d91b rubyPackages.ovirt-engine-sdk: drop upstreamed patch
Without the change build fails on` master` as
https://hydra.nixos.org/build/249503515:

    Running phase: patchPhase
    applying patch /nix/store/9f30k5j6jdmdycfxxkir2vv4zqhfvpvd-b596b919bc7857fdc0fc1c61a8cb7eab32cfc2db.patch
    patching file ext/ovirtsdk4c/ov_http_request.c
    Reversed (or previously applied) patch detected!  Assume -R? [n]
    Apply anyway? [n]
    Skipping patch.
2024-02-25 12:01:56 +00:00
Mario Rodas
5a7b453b37 Merge pull request #239168 from NickCao/ruby-msgpack
rubyPackages.msgpack: drop nonexistent dependency on msgpack
2024-02-11 20:51:52 -05:00
ajs124
b37344b7a0 ruby-modules/gem-config: prometheus-client-mmap 1.1.0 support 2024-01-31 17:48:57 +01:00
ajs124
aceb9c97d7 ruby-modules/gem-config: make prometheus-client-mmap not have a rustc runtime dependency 2024-01-26 12:43:46 +01:00
Nick Cao
70d943295c rubyPackages.msgpack: drop nonexistent dependency on msgpack 2024-01-15 00:14:29 -05:00
ajs124
07ea0d4e67 ruby-modules/gem-config: add prometheus-client-mmap rust dependency 2024-01-11 15:37:01 +01:00
Kirill Radzikhovskyy
b95976f77c rubyPackages: gtk2 -> gtk3
gtk3 and gdk3
2023-11-17 16:00:21 +11:00
github-actions[bot]
9776723357 Merge master into staging-next 2023-11-11 18:00:58 +00:00
Steve Purcell
504116975f ruby-modules/gem-config: relax hardening to avoid google-protobuf build failure 2023-11-11 11:26:04 +00:00
Randy Eckenrode
b4f75edb07 rubyPackages.iconv: fix build with clang 16
Fix incompatible function pointer conversion errors.
2023-11-03 16:35:05 -04:00
Alyssa Ross
a1887ed539 rubyPackages.cairo-gobject: add expat build input
Currently, this is propagated from cairo, but that will soon no longer
be the case.
2023-10-20 22:02:58 +00:00
ajs124
122beeb894 ruby-modules/gem-config/re2: use our re2 instead of vendored
required after 2.0.0
2023-09-30 07:26:36 +02:00
github-actions[bot]
bb21178e5c Merge master into staging-next 2023-08-07 00:01:58 +00:00
Artturi
5c5bdd7b93 Merge pull request #240000 from aidalgol/jekyll-fixes 2023-08-07 00:50:37 +03:00
Artturin
9999bf7a21 treewide: gobject-introspection from buildInputs to nativeBuildInputs
gobject-introspection should be in nativeBuildInputs for cross to work
properly (so propagations and hook work properly)
2023-06-28 22:33:40 +03:00
Aidan Gauland
b9b360217c ruby-modules/gem-config: Add fix for sass-embedded 2023-06-26 17:45:33 +12:00
Ivan Trubach
1a54459c10 rubyPackages.pg: use pkg-config instead of pg_config
This change forces pg native extension to use pkg-config to locate libpq
instead of running pg_config. It also removes an unnecessary reference
to postgresql package since build flags are embedded in the output at
`$out/${ruby.gemPath}/build_info/*`.
2023-06-15 06:30:00 +03:00
Yureka
75a7e0edea gem-config: patch getconf path in prometheus-client-mmap 2023-05-31 22:14:25 +02:00
Martin Weinelt
8229ab2435 rubyPackages.openssl: build against OpenSSL 3 if supported (#232906) 2023-05-21 15:40:53 +02:00
Stanisław Pitucha
9ef4289e75 Merge pull request #232960 from viraptor/terminfo-fix
rubyPackages.ruby-terminfo: fix ruby 3 build
2023-05-21 08:48:52 +10:00
Stanisław Pitucha
b0f92293e9 rubyPackages.ruby-terminfo: fix ruby 3 build
`rubyio.h` was a backwards compatibility hack, removed in recent versions.
Use `ruby/io.h` instead.
`rb_cData` was deprecated in https://bugs.ruby-lang.org/issues/18433 and
removed in Ruby 3.2.
2023-05-21 07:38:18 +10:00
Stanisław Pitucha
a1200481f2 rubyPackages.ovirt-engine-sdk: fix build on ruby 3.1 and higher
Include a patch merged but not released upstream.
2023-05-20 21:40:22 +10:00
Weijia Wang
c3a2a238f7 defaultGemConfig.grpc: update config 2023-05-01 11:51:27 +03:00
Stanisław Pitucha
4ebf4f8eac Merge pull request #218781 from viraptor/ruby-libxml-darwin
rubyPackages.libxml-ruby: fix darwin build
2023-03-02 20:46:29 +11:00
Stanisław Pitucha
99bbc28d2c rubyPackages.libxml-ruby: fix darwin build 2023-03-01 21:10:05 +11:00
Stanisław Pitucha
d6effdc692 rubyPackages.fiddle: add libffi to dependencies 2023-02-28 21:23:57 +11:00
Mario Rodas
e7f0b13b54 rubyPackages.gpgme: fix build 2023-02-25 00:00:00 +00:00