Commit Graph

106 Commits

Author SHA1 Message Date
nixpkgs-ci[bot]
9fe6bb6fce Merge staging-next into staging 2026-08-09 18:09:04 +00:00
Peder Bergebakken Sundt
b2407b3230 nsf-ordlista: unstable-2023-08-20 -> 2025 (#457269) 2026-08-09 14:01:12 +00:00
Martin Weinelt
933765c9ec nspr: 4.39 -> 4.40
https://github.com/mozilla/nspr/releases/tag/NSPR_4_40_RTM
2026-08-09 13:57:12 +02:00
h7x4
9e062ae093 nsf-ordlista: unstable-2023-08-20 -> 2025 2026-07-24 06:10:21 +09:00
Peder Bergebakken Sundt
a0d022d0f4 treewide: use finalAttrs.finalPackage.doCheck 2026-07-18 18:23:21 +02:00
Eman Resu
ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Ruud van Asseldonk
2466716834 nsd: remove references to -dev store paths
This drops 4 paths from the closure, which saves about 3.7 MiB in nsd's
closure size.
2026-07-07 15:11:11 +02:00
Ruud van Asseldonk
58fb9c25f9 nsd: 4.14.3 -> 4.15.0 2026-07-07 15:11:11 +02:00
Ruud van Asseldonk
2acaa8b784 nsd: ensure patches can be overridden
Because the package replaced patchPhase entirely, using overrideAttrs to
add additional patches did not work. If we need to carry patches here in
the future, this will also get in the way. Fix this by moving the
current patch code to postPatch.

This removes the dead code with a todo on it; the package worked before
with that code being dead, so let's not change it right now.
2026-07-07 15:11:11 +02:00
Ruud van Asseldonk
f284088e8d nsd: 4.12.0 -> 4.14.3
We were severely behind on NSD, update to the latest version. 4.14.3 is
a security release that fixes several CVEs, but all of them were
introduced after 4.12.0, so to my knowledge there are no known security
issues with the previous packaged version, so landing this change is not
security-sensitive.

Upstream added a new configure option, --enable-dnstap, which is enabled
by default, so I enabled it by default here too. I didn't tie it to a
NixOS configuration setting because I don't personally use that part and
there is a todo about it, so let's keep the change surface minimal.
2026-06-25 22:19:55 +02:00
Michael Daniels
47ee3b3e0d nsc: 2.12.2 -> 2.15.0 (#522433) 2026-06-15 23:57:47 +00:00
R. Ryantm
aae2861909 nsc: 2.12.2 -> 2.15.0 2026-06-07 19:01:08 +00:00
Peder Bergebakken Sundt
be646fd922 nsis: 3.11 -> 3.12 (#526065) 2026-06-07 17:52:49 +00:00
Matthieu Coudron
bd0d194b64 ns-3: 44 -> 47 (#525244) 2026-06-02 18:01:01 +00:00
Clément
5d26766cbf treewide: add missing meta.homepage with source git repository
Added homepage where missing, where the sources are pulled from:
- https://github.com
- https://git.sr.ht
- https://gitlab.com
- https://invent.kde.org
- https://codeberg.org
- https://gitlab.gnome.org
- https://gitlab.freedesktop.org
- https://git.FreeBSD.org
- https://salsa.debian.org
- https://git.tvdr.de
- https://git.suckless.org
2026-06-01 23:40:52 +02:00
Jan T. Sott
94faa3fad4 nsis: 3.11 -> 3.12 2026-06-01 16:28:17 +02:00
Chloe A
431d383386 nsis: unbreak on darwin 2026-06-01 12:20:31 +05:00
Florian Klink
f07e336c3f nsncd: add --version-regex to updateScript
Upstream tagged a .1.5.2 version (with a trailing dot), and r-ryantm
keeps sending PRs to bump to that.

Set --version-regex of nix-update-script to hopefully prevent it from
doing this.

See https://github.com/twosigma/nsncd/issues/202
See https://github.com/NixOS/nixpkgs/pull/518824
Closes https://github.com/NixOS/nixpkgs/pull/524808
2026-05-29 12:17:34 +02:00
teto
14f7284b83 ns-3: 44 -> 47
currently broken
2026-05-28 17:35:47 +02:00
nixpkgs-ci[bot]
f656b430d1 Merge master into staging-next 2026-05-13 12:45:17 +00:00
Ruud van Asseldonk
21edf16172 nsd: add ruuda as maintainer
I depend on this package in production, I'm willing to maintain it.
2026-05-13 12:36:52 +02:00
Ruud van Asseldonk
dd02ce20cc nsd: fix withSystemd = false config
Without this, when setting 'withSystemd = false' on x86_64-linux, the
configure step fails:

       > checking for SSL_CTX_set_security_level... yes
       > checking for ERR_load_SSL_strings... yes
       > checking if ERR_load_SSL_strings is deprecated... no
       > checking for pkg-config... no
       > configure: error: pkg-config not found
2026-05-13 12:34:56 +02:00
Martin Weinelt
5b3df9d80e nspr: 4.38.2 -> 4.39
NSPR 4.39 contains the following changes:

- Improved error handling in PR_CreateThread on Windows
- Cleanup and Type-cast fixes for prtime
- Remove unused prstreams C++ wrapper from NSPR
- Memory poisoning and Arena redzone fixes
- Removed emacs/vim modelines and .cvsignore files
- Added .editorconfig

via dev-tech-crypto
2026-05-05 16:22:08 +02:00
R. Ryantm
9a74226eb1 nsc: 2.12.1 -> 2.12.2 2026-04-03 09:58:08 +00:00
R. Ryantm
2a9fe9f86a nsc: 2.12.0 -> 2.12.1 2026-03-25 01:53:14 +00:00
Lisanna Dettwyler
38c5a96b48 nsgenbind: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:31:03 -04:00
Lisanna Dettwyler
1a0e82c28d nsf-ordlista: use https for sources
Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@gmail.com>
2026-03-21 12:31:03 -04:00
quantenzitrone
4a64fcb810 nsd: refactor and move to pkgs/by-name 2026-02-27 11:06:59 +01:00
Stefan Frijters
b26df23185 nsis: move env variable(s) into env for structuredAttrs 2026-02-19 15:59:55 +01:00
Jo
2d7dd84765 treewide: move CXXFLAGS into env for structuredAttrs (#490778) 2026-02-19 13:30:37 +00:00
Stefan Frijters
05de0a9187 ns-3: move CXXFLAGS into env for structuredAttrs 2026-02-15 19:56:52 +01:00
Stefan Frijters
7220699076 nspr: move env variable(s) into env for structuredAttrs 2026-02-13 12:09:59 +01:00
R. Ryantm
98637b3c33 nsxiv: 33 -> 34 2026-02-12 10:12:37 +00:00
Fernando Rodrigues
693e12715a various: switch buildGoModule packages to use finalAttrs (#487704) 2026-02-07 09:35:52 +00:00
Fernando Rodrigues
169ab49f59 various: fix pname misuse and switch to finalAttrs pattern (#487638) 2026-02-07 09:20:32 +00:00
quantenzitrone
626f23ce26 various: switch packages to use finalAttrs
this shouldn't create any rebuilds

the following script was used to generate this:
```fish
#!/usr/bin/env fish

# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}

set base (git rev-parse HEAD)

set scope pkgs/by-name

set files (rg --files-with-matches -F 'stdenv.mkDerivation rec {' $scope | sort -u)

for file in $files
    echo $file
    sd -F 'stdenv.mkDerivation rec {' 'stdenv.mkDerivation (finalAttrs: {' $file
    # version
    sd -F 'version}' 'finalAttrs.version}' $file
    sd -F '${version' '${finalAttrs.version' $file
    sd -F '= version' '= finalAttrs.version' $file
    sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
    sd -F ' + version;' ' + finalAttrs.version;' $file
    sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
    sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
    sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
    sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
    # src
    sd -F 'src}' 'finalAttrs.src}' $file
    sd -F '${src' '${finalAttrs.src' $file
    sd -F '= src' '= finalAttrs.src' $file
    sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
    sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # other
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
    sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
    sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
    sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
    sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # close finalAttrs lambda
    echo ')' >>$file
    # catch some errors early
    if ! nixfmt $file
        git restore $file
        continue
    end
    if ! nixf-diagnose -i sema-primop-overridden $file
        git restore $file
        continue
    end
end

set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end

# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore

for file in $files
    # file hasn't changed
    if git diff --quiet $base $file
        continue
    end
    # try to eval the package to definitely catch all errors
    echo $file
    set pname (string split / $file -f 4)
    if ! nix eval .#$pname
        set torestore $torestore $file
    end
end

# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
    git restore $torestore
end
```

after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 09:59:05 +01:00
quantenzitrone
d26a1a9e5e various: switch buildRustPackage packages to use finalAttrs
this shouldn't create any rebuilds

the following script was used to generate this:
```fish
#!/usr/bin/env fish

# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}

set base (git rev-parse HEAD)

set scope pkgs/by-name
set builder buildRustPackage

set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)

for file in $files
    echo $file
    sd -F "$builder rec {" "$builder (finalAttrs: {" $file
    # version
    sd -F 'version}' 'finalAttrs.version}' $file
    sd -F '${version' '${finalAttrs.version' $file
    sd -F '= version' '= finalAttrs.version' $file
    sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
    sd -F ' + version;' ' + finalAttrs.version;' $file
    sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
    sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
    sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
    sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
    # src
    sd -F 'src}' 'finalAttrs.src}' $file
    sd -F '${src' '${finalAttrs.src' $file
    sd -F '= src' '= finalAttrs.src' $file
    sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
    sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # other
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
    sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
    sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
    sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
    sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # close finalAttrs lambda
    echo ')' >>$file
    # catch some errors early
    if ! nixfmt $file
        git restore $file
        continue
    end
    if ! nixf-diagnose -i sema-primop-overridden $file
        git restore $file
        continue
    end
end

set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end

# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore

for file in $files
    # file hasn't changed
    if git diff --quiet $base $file
        continue
    end
    # try to eval the package to definitely catch all errors
    echo $file
    set pname (string split / $file -f 4)
    if ! nix eval .#$pname
        set torestore $torestore $file
    end
end

# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
    git restore $torestore
end
```

after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 09:53:17 +01:00
quantenzitrone
9380e05c3c various: switch buildGoModule packages to use finalAttrs
this shouldn't create any rebuilds

the following script was used to generate this:
```fish
#!/usr/bin/env fish

# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}

set base (git rev-parse HEAD)

set scope pkgs/by-name
set builder buildGoModule

set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)

for file in $files
    echo $file
    sd -F "$builder rec {" "$builder (finalAttrs: {" $file
    # version
    sd -F 'version}' 'finalAttrs.version}' $file
    sd -F '${version' '${finalAttrs.version' $file
    sd -F '= version' '= finalAttrs.version' $file
    sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
    sd -F ' + version;' ' + finalAttrs.version;' $file
    sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
    sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
    sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
    sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
    # src
    sd -F 'src}' 'finalAttrs.src}' $file
    sd -F '${src' '${finalAttrs.src' $file
    sd -F '= src' '= finalAttrs.src' $file
    sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
    sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
    # meta
    sd -F '${meta' '${finalAttrs.meta' $file
    sd -F '= meta' '= finalAttrs.meta' $file
    sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
    # other
    sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
    sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
    sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
    sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
    sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
    sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
    sd -F 'libPath}' 'finalAttrs.libPath}' $file
    sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
    sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
    sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
    sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
    sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
    sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
    # pname (restored afterwards)
    sd -F 'pname}' 'finalAttrs.pname}' $file
    sd -F '${pname' '${finalAttrs.pname' $file
    sd -F '= pname' '= finalAttrs.pname' $file
    # close finalAttrs lambda
    echo ')' >>$file
    # catch some errors early
    if ! nixfmt $file
        git restore $file
        continue
    end
    if ! nixf-diagnose -i sema-primop-overridden $file
        git restore $file
        continue
    end
end

set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
    git restore $torestore
end

# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore

for file in $files
    # file hasn't changed
    if git diff --quiet $base $file
        continue
    end
    # try to eval the package to definitely catch all errors
    echo $file
    set pname (string split / $file -f 4)
    if ! nix eval .#$pname
        set torestore $torestore $file
    end
end

# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
    git restore $torestore
end
```

after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 09:28:59 +01:00
quantenzitrone
3c289c8179 various: rename references from libXft to libxft
this shouldn't create any rebuilds
2026-02-06 00:25:41 +01:00
Gergő Gutyina
1b9d1caaff various: fix pname misuse in urls (#483962) 2026-02-05 10:12:27 +00:00
quantenzitrone
9c8e96055a various: fix pname misuse in urls 2026-02-05 01:51:59 +01:00
Fernando Rodrigues
3562403503 treewide: fetchFromGitea -> fetchFromCodeberg
Most packages that used fetchFromGitea fetch their sources from Codeberg, so might as well migrate them.

The following command was used for this treewide:
```fish
for i in (rg 'fetchFromGitea \{\n *domain = "codeberg.org";' --multiline --files-with-matches)
    sed -z 's/fetchFromGitea {\n *domain = "codeberg.org";/fetchFromCodeberg {/g' $i > $i.tmp && mv $i.tmp $i
    sed -i 's/fetchFromGitea/fetchFromCodeberg/g' $i
end
```

The following paths were manually edited:

* pkgs/by-name/xr/xrsh/package.nix
* pkgs/applications/networking/browsers/librewolf/src.nix
* pkgs/by-name/go/gotosocial/package.nix
* pkgs/by-name/ka/katawa-shoujo-re-engineered/package.nix

Co-authored-by: Gutyina Gergő <gutyina.gergo.2@gmail.com>
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2026-01-31 21:08:16 +11:00
quantenzitrone
6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
Aliaksandr
55488b815a nsxiv: remove top-level override 2026-01-25 11:55:47 -05:00
Reno Reckling
e7ecdaecb3 nss_pam_ldapd: fix C23 compatibility
Rename 'bool' variable to 'value' in print_boolean() function since
'bool' is now a reserved keyword in C23.

Upstream patch: https://bugs.debian.org/1097481

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 01:00:16 +01:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Wolfgang Walther
8ab9a0d981 maintainers: drop matthewbauer (#462219) 2025-11-25 17:55:30 +00:00
Marcin Serwin
42c6232eec maintainers: drop matthewbauer
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
2025-11-16 13:42:02 +01:00
Martin Weinelt
13edef0357 nspr: 4.38 -> 4.38.2
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/V7GVSScpn5w
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/qFuz87KunGc
2025-11-11 23:45:26 +01:00
Martin Weinelt
b64885283d nspr: 4.37 -> 4.38
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/-FCacePkmj8
2025-11-05 13:41:55 +01:00