Commit Graph

37 Commits

Author SHA1 Message Date
whispers
c7404c9232 libappindicator-gtk3: make alias for libappindicator 2026-08-10 23:03:31 -04:00
whispers
f112b0f312 libappindicator-gtk2: drop
libappindicator-gtk2 provides compatibility for GTK 2 applications, and
is mostly unused in Nixpkgs. since GTK 2 is long deprecated and being
removed from Nixpkgs, we remove this as well.

libappindicator and libappindicator-gtk3 continue to be fully identical,
and it may be worth a cleanup later to fully unify them and make one an
alias proper.
2026-08-10 22:53:15 -04:00
whispers
7ab9043475 libsoup_2_4: drop
libsoup is end-of-life, and has many known unfixed security issues. The
package was marked vulnerable in July 2025, and all in-tree consumers
have either been migrated off, marked broken, or dropped. There remains
very little reason to keep this package around.
2026-06-08 11:09:08 -04:00
quantenzitrone
2226596501 unixodbc: refactor and rename from unixODBC
rename to lowercase to fit package naming conventions
2026-02-27 10:52:14 +01:00
quantenzitrone
ced5637826 pkgs/top-level/pkg-config/pkg-config-data.json: remove references to the xorg namespace 2026-02-02 00:19:25 +01:00
Jan Tojnar
a8b1837c9e webkitgtk_4_0: drop
libsoup 2 is unmaintained so WebkitGTK decided to drop support for it in next release in March 2026:
https://discourse.gnome.org/t/webkitgtk-is-removing-support-for-libsoup-2/31873

Since the package is security critical, we backport all updates to stable.
Let’s remove it before branch-off to avoid breaking stable when that version is backported.
2025-10-18 03:05:26 +02:00
Emily
3d86fc35c1 ruby_3_1: drop 2025-10-12 17:30:44 +01:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
Emily
fd171dc8bb libdevil: drop
Image processing library, unmaintained upstream since 2017; probably
a security liability, not a mandatory dependency of any package in
the tree, and would be broken by CMake 4.
2025-09-16 21:58:55 +01:00
Wolfgang Walther
d0c0b875f7 treewide: remove __recurseIntoDerivationForReleaseJobs
This attribute was supposed to be set on derivations, to make the
release tools recurse into them. The remaining uses were all on regular
attrsets, though, so this is safe to remove.
2025-08-31 20:54:49 +02:00
jopejoe1
be4ef836aa defaultPkgConfigPackages.orte: drop
our current openmpi package does not include orte.pc any since https://github.com/NixOS/nixpkgs/pull/327438 got merged
2025-05-04 16:23:00 +02:00
jopejoe1
ebc8f41992 defaultPkgConfigPackages: fix eval 2025-04-03 17:08:31 +02:00
Wolfgang Walther
e64f47c5b2 pkg-config-data: provide libpq via libpq by default, not postgresql 2025-03-14 19:03:08 +01:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Jan Tojnar
064ee2cb49 libsoup_2_4: Rename from libsoup
The 2.4 ABI branch has not been supported by upstream for a while now but people still keep accidentally adding it to new packages.
2024-12-08 00:37:52 +01:00
Artturin
f489e8a382 tests.pkg-config.defaultPkgConfigPackages.wayland-scanner: fix the test (#346086) 2024-10-26 20:01:07 +03:00
Sergei Trofimovich
96cbd5b453 tests.pkg-config.defaultPkgConfigPackages.wayland-scanner: fix the test
Without the change the test fails as https://hydra.nixos.org/build/271903139:

     pkg-config module wayland-scanner was not found
2024-10-03 07:19:16 +01:00
Emily
8d6e101893 tests.pkg-config: extend current Nixpkgs configuration
This was enabling aliases on ofborg.
2024-09-26 00:38:18 +01:00
Jan Tojnar
77f5a747f4 gnome2.gnome_vfs: remove
This has been long dead.
2024-07-03 22:43:41 +02:00
ajs124
02ad3159b0 ruby_2_7: remove 2024-01-02 15:30:06 +01:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
Raito Bezarius
529892d918 ruby_3_0: drop
Ruby EOL is 31 March 2024, that is, during NixOS 23.11.
We drop it early now to avoid any problem during the release time.
2023-11-17 16:03:00 +01:00
John Ericson
420f7d5ed7 pkg-config-data.json: Avoid an alias 2023-09-21 10:33:47 -04:00
sternenseemann
af60e68744 testers.hasPkgConfigModules: allow checking multiple pkg-config mods
This is very useful in conjunction with meta.pkgConfigModules, as the
new tester can use the list provided by this meta attribute as a default
value for moduleNames, making its usage in passthru.tests very
convenient.

For backwards compatibility, a shim under the old name is maintained
with a warning.
2023-08-08 19:16:48 +02:00
Nick Cao
d2c39ba0b0 tests.pkg-config.defaultPkgConfigPackages: fix cross compilation 2023-05-13 12:55:22 +08:00
Adam Joseph
07c9ae7a65 test-defaultPkgConfigPackages.nix: filter out recurseForDerivations
The command at the top of this file fails to evaluate:

```
$ nix-build -A tests.pkg-config.defaultPkgConfigPackages
in job ‘nixpkgs.tests.pkg-config.defaultPkgConfigPackages.tests-combined.x86_64-linux’:
error: pkg-config module `recurseForDerivations` is not defined to be a derivation. Please check the attribute value for `recurseForDerivations` in `pkgs/top-level/pkg-config-packages.nix` in Nixpkgs.
```

This is also causing eval errors on Hydra:

  https://hydra.nixos.org/jobset/nixos/pr-209870-gcc-external-bootstrap#tabs-errors

Let's filter out `recurseForDerivations=true` from the attrset,
since it exists mainly as a flag to signal special handling when
recursing.
2023-03-17 20:44:31 -07:00
sternenseemann
c5a0a5ac5e curl: add pkg-config metadata for libcurl.pc
I did not add the validatePkgConfig setup hook to curl, as I suspect it
may cause trouble when bootstrapping.
2023-02-15 13:52:15 +01:00
Robert Hensing
9520feaf76 Revert "Revert "tests.defaultPkgConfigPackages: Add recurseIntoAttrs""
This reverts commit deed04ab81.
2023-01-31 15:12:04 +01:00
K900
deed04ab81 Revert "tests.defaultPkgConfigPackages: Add recurseIntoAttrs"
This reverts commit f192e96d07.
2023-01-30 21:02:30 +03:00
Robert Hensing
b6bec17eb9 testers.hasPkgConfigModule: Extract and add tests, docs 2023-01-30 00:35:34 +01:00
Robert Hensing
f192e96d07 tests.defaultPkgConfigPackages: Add recurseIntoAttrs 2023-01-30 00:35:34 +01:00
Robert Hensing
974d331e14 pkg-config-data.json: Remove m and pthread
These aren't actually pkg-config packages, but packages that
happen to be in cabal2nix's mapping for cabal reasons. They do not
belong in this file.
2023-01-29 09:51:55 +01:00
Robert Hensing
3be7ea8c89 top-level/pkg-config: Make tests easy to find 2023-01-29 09:51:55 +01:00
Robert Hensing
811bf8ade0 pkg-config-data.json: Add version 2023-01-29 09:51:55 +01:00
Robert Hensing
09eb09b9c5 pkg-config-data.json: Encode platform support 2023-01-29 09:51:55 +01:00
Robert Hensing
81a541e6b6 defaultPkgConfigPackages: Make it JSON
With a bit of help from:

```
nix-repl> :b (formats.json {}).generate "hi" { modules = lib.mapAttrs (k: v: { attrPath = v; }) (p (paths [] pkgs // { stdenv = { isDarwin = false; isLinux = false; };})); }
```
2023-01-29 09:51:55 +01:00