Commit Graph

171 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
4e2e39de80 odin: update llvmPackages_18 -> llvmPackages (#541928) 2026-08-12 11:56:11 +00:00
Christopher Kaster
d458d7d378 odin: update llvmPackages_18 -> llvmPackages 2026-08-09 17:43:44 +02:00
Jost Alemann
ee85c6e05d odiff: 4.3.8 -> 4.5.0
Changelog: https://github.com/dmtrKovalenko/odiff/releases/tag/v4.5.0
Diff: https://github.com/dmtrKovalenko/odiff/compare/v4.3.8...v4.5.0
2026-07-25 12:07:29 +02:00
Jost Alemann
d3d6c7d175 odiff: modernize
Remove build.zig.zon.nix file, use zig.fetchDeps instead.
Add __structuredAttrs = true
Add strictDeps = true
Add passthru.updateScript
2026-07-25 12:03:39 +02:00
Emily
fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
Christopher Kaster
200c826717 odin: dev-2026-07 -> dev-2026-07a 2026-07-12 13:57:30 +02:00
diniamo
d86ef8ddf5 maintainers: remove diniamo 2026-07-12 08:28:08 +02:00
Christopher Kaster
4712424a88 odin: dev-2026-05 -> dev-2026-07 2026-07-07 15:36:00 +02:00
Yifei Sun
58d658e120 odp-dpdk: add stepbrodb to maintainers 2026-06-28 23:34:11 +02:00
Yifei Sun
27a5de5f15 odp-dpdk: 1.46.0.0_DPDK_22.11 -> 1.50.0.0_DPDK_24.11 2026-06-28 23:33:30 +02: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
Harinn
e40cbdf7b6 odp-dpdk: fix build with intel-ipsec-mb and gcc 15 2026-05-08 18:37:13 +07:00
xanderio
e652259212 odoo18: 18.0.20250506 -> 18.0.20260420 (#511715) 2026-05-07 08:08:47 +00:00
xanderio
623d10aa7a odoo: fix websocket support for real-time connections (#513980) 2026-05-07 07:21:41 +00:00
R. Ryantm
971dd2f878 odin: dev-2026-04 -> dev-2026-05 2026-05-05 03:55:23 +00:00
Alexander Sieg
98a3cc1471 nixosTests/odoo: add new multi-process test 2026-04-27 13:13:46 +02:00
Alexander Sieg
d6f5f08713 odoo19: fix longpoll server start 2026-04-27 13:05:37 +02:00
Alexander Sieg
e926a193af odoo18: fix longpoll server start 2026-04-27 13:05:37 +02:00
Alexander Sieg
b23dd31994 odoo17: fix longpoll server start 2026-04-27 13:05:36 +02:00
Alexander Sieg
f463b2681f odoo18: 18.0.20250506 -> 18.0.20260420 2026-04-20 13:00:21 +02:00
eljamm
e54dbca00a odamex: 12.1.0 -> 12.2.0
Changelog: https://github.com/odamex/odamex/releases/tag/12.2.0
2026-04-18 09:55:41 +02:00
Jost Alemann
86c5e37e7e odiff: 4.3.3 -> 4.3.8
Changelog: https://github.com/dmtrKovalenko/odiff/releases/tag/v4.3.8
Diff: https://github.com/dmtrKovalenko/odiff/compare/v4.3.3...v4.3.8
2026-04-17 19:19:53 +02:00
Jost Alemann
c668d04e60 odiff: fix build.zig.zon.nix
Fixed the build.zig.zon.nix file by running the current version of
zon2nix on the odiff tagged build.zig.zon file.
Further, removed `?ref=` parts in fetchgit urls and corrected some
hashed.
2026-04-17 02:56:32 +02:00
Nikolay Korotkiy
1a23fdf400 odiff: 4.3.2 -> 4.3.3 (#507939) 2026-04-11 12:30:40 +00:00
R. Ryantm
013aa2812e odiff: 4.3.2 -> 4.3.3 2026-04-08 12:29:41 +00:00
Alexander Sieg
24c6ca8618 odoo18: switch to pypdf 2026-04-08 11:19:15 +02:00
Peder Bergebakken Sundt
29b884ad31 odin: dev-2026-02 -> dev-2026-04 (#501374) 2026-04-07 01:15:20 +00:00
Merikei
362efc76fb odafileconverter: fix .desktop file 2026-04-03 21:01:45 +00:00
Christopher Kaster
af977e3b88 odin: dev-2026-02 -> dev-2026-04 2026-04-03 12:12:38 +02:00
Merikei
a6b683fe51 odafileconverter: 26.7.0.0 → 27.1.0.0 2026-04-02 19:05:02 +00:00
Sigmanificient
27b187f553 odyssey: 1.3 -> 1.5.0 2026-03-24 01:16:23 +01:00
Maciej Krüger
c5c621704b odoo: always include major version in package name (#488713) 2026-03-18 14:39:42 +00:00
Yohann Boniface
ca36ac6ac9 odamex: move icons from not spec-compliant location (#496421) 2026-03-07 00:45:02 +00:00
Weijia Wang
cf1c78c332 wxwidgets_3_{1,2}: rename from wxGTK3{1,2} (#489736) 2026-03-06 08:29:12 +00:00
pancaek
5ca0a4371a odamex: move icons from not spec-compliant location 2026-03-04 12:14:55 -08:00
XYenon
3ddc091936 odamex: remove cpptrace override 2026-02-27 19:01:18 +08:00
quantenzitrone
62efab0dad wxwidgets_3_{1,2}: rename from wxGTK3{1,2}
fit attrname to pname
2026-02-27 10:56:33 +01:00
nixpkgs-ci[bot]
8df5715ded odin: dev-2025-11 -> dev-2026-02 (#468904) 2026-02-15 20:46:57 +00:00
Alexander Sieg
1c50d06024 odoo: always include major version in package name
Odoo doesn't support a major upgrade without either a enterprise
subscription or alternativly using the OCA community provided OpenUpgrade tooling.

Our current package naming schema doesn't allow or force a user to pin a
specific version, this patch changes this. The module now set the odoo
version based on the `stateVersion` and the odoo package has been renamed
to `odoo19`.
2026-02-10 10:15:10 +01:00
Tomáš Čarnecký
465a3c704b odiff: verified to work on darwin 2026-02-08 23:31:23 +01:00
Jörg Thalheim
68b5fdce2d treewide: zig packages: move dep linking to postConfigure
Commit e20232eab6 moved ZIG_GLOBAL_CACHE_DIR setup from an
addEnvHooks call into zigConfigurePhase. This broke all zig packages
that referenced $ZIG_GLOBAL_CACHE_DIR in postPatch or postUnpack,
since that variable is no longer set until configurePhase runs.

Move the symlink creation to postConfigure for all affected packages.
2026-02-08 20:04:22 +01:00
Stefan Frijters
ee1c320508 odin2: move NIX_LDFLAGS into env for structuredAttrs 2026-02-07 14:16:00 +01:00
Stefan Frijters
1ba559fe7c odin: move NIX_LDFLAGS into env for structuredAttrs 2026-02-07 14:15:59 +01:00
Fernando Rodrigues
693e12715a various: switch buildGoModule packages to use finalAttrs (#487704) 2026-02-07 09:35:52 +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
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
43cdce2c39 various: rename references from libXrandr to libxrandr
this shouldn't create any rebuilds
2026-02-06 00:29:06 +01:00
quantenzitrone
5e4a1bdd9c various: rename references from libXinerama to libxinerama
this shouldn't create any rebuilds
2026-02-06 00:25:42 +01:00
quantenzitrone
f67b5966bb various: rename references from libXext to libxext
this shouldn't create any rebuilds
2026-02-06 00:25:36 +01:00
quantenzitrone
8382a53a4c various: rename references from libXcursor to libxcursor
this shouldn't create any rebuilds
2026-02-06 00:24:45 +01:00