Commit Graph

656 Commits

Author SHA1 Message Date
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
Sandro
fc8c1dfdda
rubyPackages.gettext: init at 3.4.9 (#360799) 2025-01-02 23:28:59 +01:00
Weijia Wang
d0c04f6481 timetrap: fix build 2024-12-31 09:33:50 +01:00
Ben Millwood
b7cb1ebcb9 rubyPackages.gettext: init at 3.4.9 2024-12-27 01:10:06 +00: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
Silvan Mosberger
84d4f874c2 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 a08b3a4d19.tar.gz \
      --argstr baseRev 78e9caf153
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:23:58 +01:00
Philip Taron
4f8a186b2b
bundler-{app,env}: expose pname and version in derivation (#356307) 2024-11-25 09:48:00 -08:00
Kenichi Kamiya
66d20ec16f rubyPackages.ovirt-engine-sdk: set meta.broken 2024-11-19 21:32:58 +01:00
jopejoe1
b497dfa184 bundler-{app,env}: expose pname and version in derivation 2024-11-15 23:57:00 +01:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
Noa Aarts
7ffd9ae656
Revert "bundler: 2.5.16 -> 2.5.21" (#353045)
This reverts commit 4dd40b15d8.

revert the bundler update to fix the gitlab nixosTest,
gitlab apparently wants only the old version.
2024-11-02 08:13:23 +01:00
Vladimír Čunát
8810e738c8
GNOME: 46 → 47 (#333911) 2024-10-15 18:07:04 +02: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
Anthony ROUSSEL
4dd40b15d8 bundler: 2.5.16 -> 2.5.21
https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.21
https://github.com/rubygems/rubygems/compare/bundler-v2.5.16...bundler-v2.5.21
2024-10-08 20:37:35 +02: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
github-actions[bot]
3b1652aad3
Merge master into staging-next 2024-09-08 18:04:04 +00:00
lassulus
895300b938
bundlerUpdateScript: make updates architecture agnostic (#328296) 2024-09-08 16:16:10 +01:00
github-actions[bot]
4420fe8b58
Merge staging-next into staging 2024-08-28 12:05:53 +00: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
Kimat Boven
60dad75a8d rubyPackages.standard: init at 1.40.0 2024-08-20 20:36:28 +02:00
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
zimbatm
ec7188d73d bundix: move to by-name 2024-07-31 09:10:32 +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
Anthony Roussel
c18dca3b4f
bundler: 2.5.15 -> 2.5.16
https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.16
2024-07-20 12:32:20 +02:00
Randy Eckenrode
d5f637590e
tree-wide: enable LTO on Darwin 2024-07-20 03:19:54 -04:00
Robert James Hernandez
3acaae9509 bundlerUpdateScript: remove old gemset.nix and Gemfile.lock before updating 2024-07-19 00:02:50 +00:00
Robert James Hernandez
3b3cf8194c bundlerUpdateScript: force bundler to use ruby platform 2024-07-18 23:52:45 +00:00
Anthony Roussel
af6690a771
bundler: 2.5.11 -> 2.5.15
https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.12
https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.13
https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.14
https://github.com/rubygems/rubygems/releases/tag/bundler-v2.5.15
https://github.com/rubygems/rubygems/compare/bundler-v2.5.11...bundler-v2.5.15
2024-07-12 18:28:20 +02:00
Ivan Trubach
4dec9be42a
buildRubyGem: do not override fixupPhase (#323587)
Oops, looks like we were overriding stdenv’s fixupPhase that runs
fixupOutputHooks, including patchShebangsAuto.
2024-07-05 19:29:51 +02:00
Artturin
897e070df7
Merge pull request #270242 from tie/ruby-cross
ruby-modules: improve cross-compilation support
2024-06-26 01:37:12 +03: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
Artturin
c47aaa6439
Merge pull request #317076 from amarshall/bundlerenv-passthru
bundlerEnv: Fix passthru not being passed-through
2024-06-18 20:36:46 +03:00
Leona Maroni
c4cb6eb3c9
Merge pull request #315851 from LeSuisse/v8-mark-vulnerable
v8: mark vulnerable, move dependents to `nodejs.libv8`
2024-06-17 10:15:09 +02:00