Artur Kowalski
c3efa9c3f3
vkmark: build with wayland support
...
We are missing wayland-scanner dependency, as we don't explicitly
specify what features should be enabled and what not, meson fails back
to autodetecting.
2026-08-17 14:39:31 +02:00
Jo
134518cebe
treewide: avoid using singleton lists for licenses ( #535754 )
2026-07-15 18:25:37 +00:00
Eman Resu
ff094f60ad
treewide: replace more singleton license lists
2026-07-15 14:04:39 -04: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
Marcin Serwin
12c56dfe94
vk-bootstrap: 1.4.341 -> 1.4.350 ( #520096 )
2026-06-12 20:57:29 +00:00
Guy Chronister
5fb8102c19
vkbasalt: migrate to by-name
2026-05-27 18:20:10 -05:00
Michael Daniels
6cbea5d9a5
vkquake: 1.32.3.1 -> 1.34.1 ( #522870 )
2026-05-23 04:31:54 +00:00
R. Ryantm
8443be2813
vkd3d: 1.19 -> 2.0
2026-05-22 01:29:09 +00:00
kyehn
e6673f2e73
vkquake: 1.32.3.1 -> 1.34.1
2026-05-22 01:03:15 +00:00
Korrat
d9737530ab
vkdt: enable rawler for rawinput
...
By default, vkdt checks for rustc presence during build to enable raw
input with rawler. This breaks in the nix build, since rustc is not on
PATH. This force-enables raw input via rawler through a make flag,
similar to the upstream flake.
See hanatos/vkdt#201 for upstream discussion of this issue.
2026-05-17 18:07:00 +02:00
R. Ryantm
691c239a1e
vk-bootstrap: 1.4.341 -> 1.4.350
2026-05-14 12:50:31 +00:00
cmspam
90a2bf64fe
vkmark: drop stale vulkan-headers 1.4.333 patch
2026-04-21 10:09:28 +09:00
R. Ryantm
e6ee482cb4
vk-bootstrap: 1.4.335 -> 1.4.341
2026-03-13 17:04:48 +00:00
Marcin Serwin
40fc728212
vk-bootstrap: 0.7 -> 1.4.335 ( #487986 )
2026-03-08 07:50:05 +00:00
Gaétan Lepage
f265e81943
vkd3d: 1.18 -> 1.19 ( #492445 )
2026-03-05 21:05:13 +00:00
Mica Semrick
b272796bd7
vkdt: 0.9.1 -> 1.0.0
2026-02-24 19:08:20 -08:00
R. Ryantm
6580ec55b8
vkd3d: 1.18 -> 1.19
2026-02-20 12:32:45 +00:00
Michał Chojnowski
a456e4095d
vk-bootstrap: 0.7 -> 1.4.335
...
Motivation: the package is outdated by 3 years.
Things done:
1. Bump the version (to match the current version of Vulkan headers in nixpkgs).
2. Update the catch2 dependency to catch2_3, following upstream.
3. Upstream uses FetchContent to fetch catch2 and glfw for testing.
Patch CMakeLists.txt so that system packages are used instead.
4. Remove the [out, dev] split. It's pointless because this is a static library.
5. Enable checkPhase. Comment out a test which uses FetchContent.
Fix CMAKE_PREFIX_PATH in one of the integration tests.
2026-02-08 11:32:48 +01:00
Fernando Rodrigues
a242c54745
various: switch buildPythonApplication packages to use finalAttrs ( #487735 )
2026-02-07 09:30:09 +00:00
quantenzitrone
18dc8a95fb
various: switch buildPythonApplication 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 buildPythonApplication
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
# pname (restored afterwards)
sd -F 'pname}' 'finalAttrs.pname}' $file
sd -F '${pname' '${finalAttrs.pname' $file
sd -F '= pname' '= finalAttrs.pname' $file
# combinations
sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
sd -F 'inherit version pname;' 'inherit (finalAttrs) version pname;' $file
sd -F 'inherit pname version;' 'inherit (finalAttrs) pname version;' $file
sd -F 'inherit pname src version;' 'inherit (finalAttrs) pname src version;' $file
sd -F 'inherit pname version src;' 'inherit (finalAttrs) pname version src;' $file
sd -F 'inherit src pname version;' 'inherit (finalAttrs) src pname version;' $file
sd -F 'inherit src version pname;' 'inherit (finalAttrs) src version pname;' $file
sd -F 'inherit version pname src;' 'inherit (finalAttrs) version pname src;' $file
sd -F 'inherit version src pname;' 'inherit (finalAttrs) version src pname;' $file
# other
sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
sd -F 'nativeBuildInputs}' 'finalAttrs.nativeBuildInputs}' $file
sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
sd -F 'propagatedBuildInputs}' 'finalAttrs.propagatedBuildInputs}' $file
sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
sd -F 'makePythonPath dependencies' 'makePythonPath finalAttrs.dependencies' $file
sd -F 'makePythonPath propagatedBuildInputs' 'makePythonPath finalAttrs.propagatedBuildInputs' $file
sd -F 'libPath}' 'finalAttrs.libPath}' $file
sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
sd -F 'runtimeDeps}' 'finalAttrs.runtimeDeps}' $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
# 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 10:06:06 +01: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
55280fa564
various: rename references from libX11 to libx11
...
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
Jo
026a500d5c
various: rename references and deprecate alias ( #486994 )
2026-02-05 20:31:22 +00:00
Sandro
50f71c636c
vkmark: fix build with vulkan-headers >= 1.4.333 ( #485052 )
2026-02-05 19:03:30 +00:00
Lu Wang
b6f20537ed
vkmark: fix build with vulkan-headers >= 1.4.333
2026-02-05 22:43:38 +08:00
quantenzitrone
9c8e96055a
various: fix pname misuse in urls
2026-02-05 01:51:59 +01:00
quantenzitrone
866aa37ba3
xcbutilwm: rename references and deprecate alias
...
this shouldn't create any rebuilds
2026-02-04 22:58:46 +01:00
Fernando Rodrigues
6308c3b213
various: switch to finalAttrs pattern ( #483882 )
2026-01-30 02:32:49 +00:00
quantenzitrone
6b61249106
various: switch to finalAttrs pattern
...
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
Yohann Boniface
a7d2456f46
maintainers: drop shamilton ( #482468 )
2026-01-29 21:38:11 +00: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
Marcin Serwin
d7d3b10538
maintainers: drop shamilton
...
Signed-off-by: Marcin Serwin <marcin@serwin.dev >
2026-01-22 00:00:18 +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
R. Ryantm
a6080a43c7
vkd3d: 1.17 -> 1.18
2025-11-21 01:11:38 +00:00
Marcin Serwin
97f4dd3ef7
vkquake: move to by-name
...
Signed-off-by: Marcin Serwin <marcin@serwin.dev >
2025-10-31 22:50:20 +01:00
Wolfgang Walther
c283f32d29
treewide: remove unused with
...
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
liberodark
e2b5ec05b9
vkd3d: add liberodark to maintainers
2025-08-30 09:50:24 +02:00
liberodark
329379cd71
vkd3d: 1.15 -> 1.17
2025-08-30 09:48:44 +02:00
Aleksana
43b928e0f8
maintainers: drop dan4ik605743 ( #428716 )
2025-08-01 20:44:46 +08:00
mivorasu
3c0ff7e40f
treewide: add preConfigure and postConfigure for
...
configurePhase
2025-07-27 12:21:19 +00:00
éclairevoyant
19f88ab5f0
maintainers: drop dan4ik605743
2025-07-26 17:35:48 -04:00
TomaSajt
3f6d337be6
pkgs/by-name/{u,v,w,x,y,z}*: migrate to pyproject = true
2025-07-13 17:03:51 +02:00
Martin Weinelt
ae4a1a485a
treewide: add explicit format attribute for Python packages
...
If a Python package does not come with either `format` or `pyproject` we
consider it a setuptools build, that calls `setup.py` directly, which is
deprecated.
This change, as a first step, migrates a large chunk of these packages to
set setuptools as their explicit format
This is so we can unify the problem space for the next step of the
migration.
2025-07-02 05:56:47 +02:00
emaryn
e50c9bec65
vkd3d-proton: 2.13 -> 2.14.1
...
https://github.com/HansKristian-Work/vkd3d-proton/blob/v2.14.1/CHANGELOG.md
2025-06-22 16:32:02 +00:00
Philip Taron
22b88ba79d
treewide: adjust meta descriptions to avoid definite or indefinite articles
...
This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful.
Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com >
Co-authored-by: dotlambda <nix@dotlambda.de >
2025-06-05 11:04:25 -07:00
Peder Bergebakken Sundt
c4f02ff31e
treewide: substitute pname for strings
2025-05-29 17:04:28 +02: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
Mustafa Çalışkan
407cc59301
vkmark: 2017.08-unstable-2023-04-12 -> 2025.01
2025-03-16 11:33:38 +03:00