Commit Graph

118 Commits

Author SHA1 Message Date
Aliaksandr
3f26693a02 various: use finalAttrs instead of rec 2026-02-18 04:21:56 +02:00
quantenzitrone
7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
quantenzitrone
c7c77c1aee treewide: remove all uses of 'with xorg;' in pkgs
this shouldn't create any rebuilds

this was done manually by grepping for `with xorg` and `with pkgs.xorg`
2026-01-25 22:26:00 +01:00
Bernard Fortz
780204b43b bitwig-studio: fix onset detection when started from the desktop launcher 2026-01-21 17:23:14 +00: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
pancaek
8f4420f92e bitwig-studio3: modernize, move to by-name/ 2025-10-18 10:15:42 -07:00
guylamar2006
b88bb726ce various: switch from --replace to --replace-fail
- ran nix-build -A package --check on packages
- fix bad DesktopItems paths after switching to replace-fail in Bitwig
Studio 4 and 5
- future proof --replace-fail calls
- Make substitution less broad in Bitwig Studio 4 and 5
2025-10-03 22:39:49 +02:00
Bernard Fortz
83df09ae87 bitwig-studio: 5.3.11 -> 5.3.13 2025-08-16 16:05:58 +02:00
Jonas
a82569c2c2 bitwig-studio: 5.3.8 -> 5.3.11
Minor version upgrade to fix https://github.com/NixOS/nixpkgs/issues/410805
2025-06-26 19:07:26 +02:00
Merleur l'enchantin
ca8ccdb5f2 bitwig-studio: fix missing lcms dependency 2025-05-18 00:50:21 +02:00
Merleur l'enchantin
ec71f25aca bitwig-studio: 5.3.5 -> 5.3.8 2025-05-01 20:40:57 +02:00
Merleur l'enchantin
3dc06198d9 bitwig-studio: 5.3.2 -> 5.3.5 2025-04-10 21:22:23 +02:00
Merleur l'enchantin
7fdd2d0873 bitwig-studio: fix ALSA driver model
add a missing libudev dependency
2025-04-09 21:01:12 +02:00
l1npengtul
48de8e9575 bitwig-studio: 5.3.1 -> 5.3.2 2025-04-07 01:22:24 +09:00
la1n ping tool
9c9a014fb7 bitwig: 5.2.7 → 5.3.1 (#383776) 2025-02-23 14:22:56 +00:00
Pol Dellaiera
4c43880bc8 bitwig-studio: fix MIDI input (#361845) 2024-12-11 10:58:32 +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
Andrew Bruce
1a78278170 bitwig-studio: fix MIDI input
Binding the entire /dev directory inside the Bubblewrap environment
appears to fix MIDI, which broke after the Bubblewrap change
in PR #360198.
2024-12-04 19:03:47 +00:00
John Garcia
ff09487213 bitwig-studio: add libnghttp2 library
Needed to read certain vst plugins (e.g. decent-sampler)
2024-12-01 11:44:30 +00:00
polygon
9d0f1281e4 bitwig-studio: Add wrapper to fix onset and beat detection 2024-11-30 02:39:18 +01:00
polygon
39ae3fa198 bitwig-studio: 5.2.5 -> 5.2.7 2024-11-29 20:16:07 +01:00
jopejoe1
e51a9df08a treewide: use dpkg setup hook 2024-11-26 21:57:29 +01:00
Reno Dakota
1f481ed5c7 treewide: add missing sourceProvenance
add binaryNativeCode to sourceProvenance
2024-11-12 06:14:40 +00:00
Reno Dakota
52bf1163fa treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
R. Ryantm
9e0e8837de bitwig-studio: 5.2.4 -> 5.2.5 2024-10-18 06:50:53 +00:00
Bernard Fortz
ed42fa3891 bitwig-studio: 5.2 -> 5.2.4 2024-09-21 18:08:53 +02:00
Kacper Koniuszy
42663cda2f bitwig-studio5: remove bundled libxcb-imdkit
Remove bundled libxcb-imdkit and add a dependency on our xcb-imdkit.
2024-07-28 11:00:21 +02:00
Kacper Koniuszy
39f60f0aab bitwig-studio5: 5.1.9 -> 5.2 2024-07-26 07:34:38 +02:00
Andrew Bruce
4154834be5 bitwig-studio5: 5.18 -> 5.19
The prior URL scheme appears to stop working in this version.
Rely on curl's --location to follow the official link from the website,
which redirects.
2024-06-23 21:59:47 +01:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
github-actions[bot]
67f8ba4a30 Merge master into staging-next 2024-05-01 18:01:22 +00:00
R. Ryantm
e7882a8c2e bitwig-studio: 5.1.6 -> 5.1.8 2024-05-01 08:17:55 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
R. Ryantm
6dff7dd8e7 bitwig-studio: 5.1.3 -> 5.1.6 2024-03-15 12:28:57 +00:00
R. Ryantm
a602c66f7e bitwig-studio: 5.0.11 -> 5.1.3 2024-02-11 07:35:00 +00:00
R. Ryantm
d1abf5ed08 bitwig-studio: 5.0.9 -> 5.0.11 2023-10-29 09:21:53 +00:00
Weijia Wang
dd8f7f3624 Merge pull request #260018 from r-ryantm/auto-update/bitwig-studio
bitwig-studio: 5.0.7 -> 5.0.9
2023-10-18 00:16:24 +02:00
Thomas Gerbet
caca82dbcf bitwig-studio1: drop 2023-10-09 21:03:37 +02:00
Thomas Gerbet
afe1bb2dcc bitwig-studio2: drop 2023-10-09 21:03:14 +02:00
R. Ryantm
f5903326c6 bitwig-studio: 5.0.7 -> 5.0.9 2023-10-09 16:35:37 +00:00
Mel Bourgeois
51adf05fcf bitwig-studio3: 3.3.7 -> 3.3.11 2023-09-28 03:46:02 -05:00
Philipp Mildenberger
771000e5bd bitwig-studio5: 5.0.4 -> 5.0.7 2023-09-17 13:43:00 +02:00
R. Ryantm
59524a3c60 bitwig-studio: 5.0 -> 5.0.4 2023-07-28 12:45:56 +00:00
Philipp Mildenberger
3b9ec6d418 bitwig-studio5: init at 5.0 2023-06-30 00:21:29 +02:00
R. Ryantm
1220b75c47 bitwig-studio: 4.4.8 -> 4.4.10 2023-04-14 05:14:38 +00:00
polygon
bacfd9df09 bitwig-studio: 4.4.6 -> 4.4.8 2023-02-18 13:03:02 +01:00
Andrew Morgan
47fd756154 bitwig-studio: fix crash when creating user color palette via importing a JPEG image (#201847) 2023-01-02 02:11:56 +01:00
R. Ryantm
f976a446e6 bitwig-studio: 4.4.3 -> 4.4.6 2022-12-25 11:57:27 +01:00
R. Ryantm
fcb5f2c540 bitwig-studio: 4.4.2 -> 4.4.3 2022-11-19 10:58:26 +08:00
R. Ryantm
3c18086d7e bitwig-studio: 4.4.1 -> 4.4.2 2022-11-05 16:27:59 +08:00