425 Commits

Author SHA1 Message Date
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
Ulysses Zhan 90e6d45b40 libbass{,_fx,midi,mix}: support darwin; add ulysseszhan to maintainers 2026-03-20 20:14:36 -07:00
quantenzitrone 58ce9cf924 rtmidi: move to pkgs/by-name
this shouldn't create any rebuilds
2026-01-13 13:46:23 +01:00
quantenzitrone 9c5997eddc rtaudio: move to pkgs/by-name and rename to rtaudio_5
this shouldn't create any rebuilds
2026-01-13 13:46:12 +01:00
poz d8db65d457 libbass_fx: 2.4.12.1 -> 2.4.12.6 2025-12-22 17:24:21 +01:00
poz a29abda361 libbass: 2.4.17 -> 2.4.18.3 2025-12-22 17:24:05 +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
awwpotato 509efdedbd treewide: move to by-name 2025-05-05 08:49:04 -07:00
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Winter a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera 65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Pol Dellaiera 5a0bf22b2f rtmidi: 5.0.0 -> 6.0.0 (#385405) 2025-03-28 22:15:51 +01:00
kirillrdy 4585c75161 maintainers: jacekpoz -> poz, detail updates (#388580) 2025-03-27 19:50:08 +00:00
poz 0d3e1173ff libbass: update maintainer 2025-03-27 18:07:09 +01:00
jopejoe1 7d30c40939 treewide: migrate packages to pkgs/by-name, again 2025-03-25 17:00:45 +01:00
emaryn bd950968fc rtmidi: 5.0.0 -> 6.0.0 2025-02-27 06:45:21 +08:00
Sergei Trofimovich 7571606884 libopenmpt: 0.7.12 -> 0.7.13
Changes: https://lib.openmpt.org/libopenmpt/2025/01/06/releases-0.7.13-0.6.22-0.5.36-0.4.48/
2025-01-15 07:00:16 +00:00
Cosima Neidahl 478c22421b libopenmpt: 0.7.11 -> 0.7.12 (#360991) 2024-12-12 18:28:58 +01:00
Silvan Mosberger 667d42c00d 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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
Sergei Trofimovich d7a7b89eda libopenmpt: 0.7.11 -> 0.7.12
Changes: https://lib.openmpt.org/libopenmpt/2024/12/01/releases-0.7.12-0.6.21-0.5.35-0.4.47/
2024-12-02 06:47:17 +00:00
github-actions[bot] 77ed9318b3 Merge master into staging-next 2024-11-10 12:04:52 +00:00
Sefa Eyeoglu da404cffef vgmtrans: init at 1.2, libbassmidi: init at 2.4.15.3 (#321129) 2024-11-10 12:46:00 +01:00
Emily ce788776a5 Merge master into staging-next 2024-11-09 12:51:01 +00: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
Vladimír Čunát 42c877c767 libopenmpt: 0.7.10 -> 0.7.11 (#352047) 2024-11-07 11:18:16 +01:00
github-actions[bot] 91a300acbd Merge staging-next into staging 2024-11-07 00:14:40 +00:00
Gaétan Lepage 7233068699 suil: build documentation using sphinxygen and sphinx-lv2-theme (#351221) 2024-11-07 00:40:54 +01:00
Leah Amelia Chen 9e1b88a443 libbassmidi: init at 2.4.15.3 2024-11-06 22:30:16 +01:00
Samuel Tardieu f5485c406b suil: build documentation using sphinxygen and sphinx-lv2-theme 2024-10-30 23:08:30 +01:00
Sergei Trofimovich 7e8b51b097 libopenmpt: 0.7.10 -> 0.7.11
Changes: https://lib.openmpt.org/libopenmpt/2024/10/26/releases-0.7.11-0.6.20-0.5.34-0.4.46/
2024-10-29 07:15:29 +00:00
Johannes Jöns f250bd2efc lilv: add meson options to include Nix and NixOS specific paths for the default lv2 plugin search (#346713) 2024-10-16 20:26:42 +00:00
Marvin Dostal ba3ad022ba lilv: remove unnecessary search path for LV2 plugins 2024-10-06 16:19:57 +02:00
Marvin Dostal c31e8384dd lilv: add meson options to include Nix and NixOS specific paths for the default lv2 plugin search 2024-10-05 20:32:41 +02:00
github-actions[bot] 32379e1a0b Merge staging-next into staging 2024-10-05 00:14:22 +00:00
Peder Bergebakken Sundt d6ca5ed287 treewide: remove empty build inputs
Done with

```sh
regex='\s*(nativeBuild|build|check|nativeCheck)Inputs *= *\[ *\];'
rg "^$regex$" -l | xe sd "\n\n$regex\n" "\n"
rg "^$regex$" -l | xe sd "\n$regex\n" "\n"
rg "^$regex$" -l | xe sd "\n$regex\n" "\n"
```
2024-10-04 19:03:59 +02:00
github-actions[bot] 910adea78f Merge staging-next into staging 2024-10-01 06:05:25 +00:00
jacekpoz 2a780460b8 libbassmix: init at 2.4.12 2024-09-30 20:43:34 +02:00
github-actions[bot] 722e19e01f Merge staging-next into staging 2024-09-28 18:04:43 +00:00
Franz Pletz c610d3ada3 libbass: 2.4.15 -> 2.4.17 (#256414) 2024-09-28 15:47:35 +02:00
jacekpoz 7370884602 libbass: use Internet Archive to avoid URL breakage 2024-09-26 20:48:01 +02:00
Artturin 06519058fd Merge branch 'staging-next' into staging 2024-09-25 06:14:50 +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
Sergei Trofimovich 01dfed9e82 libopenmpt: 0.7.9 -> 0.7.10
Changes: https://lib.openmpt.org/libopenmpt/2024/09/22/security-update-0.6.19-releases-0.7.10-0.5.33-0.4.45/
2024-09-24 06:39:27 +01:00
github-actions[bot] 5a5ebe5a1c Merge master into staging-next 2024-09-07 18:04:01 +00:00
Johannes Jöns 0aeb88aa26 libkeyfinder: 2.2.6 -> 2.2.8; keyfinder-cli: 1.1.1 -> 1.1.2 (#338715) 2024-09-07 16:41:53 +00:00
github-actions[bot] a07f612219 Merge master into staging-next 2024-09-03 00:13:11 +00:00
Alyssa Ross f87b978abe roc-toolkit: disable libunwind if unavailable 2024-09-02 15:14:21 +02:00
misuzu 6dd315e82b roc-toolkit: fix build on darwin 2024-09-01 22:27:13 +03:00
Emily 8be51a78a9 libkeyfinder: 2.2.6 -> 2.2.8 2024-09-01 02:26:29 +01:00
Emily 0c7aafc7f5 musly: add patches for FFmpeg 7, C++17, and external deps; kissfft: build with CMake; libresample: 0.1.3 -> 0.1.4-unstable-2024-08-23 (#332035) 2024-08-27 01:12:57 +01:00