17 Commits

Author SHA1 Message Date
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
ccicnce113424 954600a7c0 pkgsLLVM.linuxPackages: fix kernel modules building by setting makeFlags 2025-09-03 16:22:28 +05:30
Austin Horstman 2dc4a43904 linuxKernel.packages.kvmfr: fix for looking glass B7 2025-03-06 08:55:26 -06:00
Peder Bergebakken Sundt 5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
j-brn 71142ee93b kvmfr: backport security fix for potential buffer overflow 2024-08-28 21:05:22 +02:00
j-brn 83da4f513d kvmfr: fix build for linux-6_10 2024-07-30 22:10:06 +02:00
j-brn 225a332d3c kvmfr: fix build failure for B7-rc1 2024-04-17 23:21:03 +02:00
Jan Malakhovski 5852f26bdc treewide: noop: refer to src.name or similar in sourceRoot where appropriate, part 1: trivial cases 2023-08-03 16:32:03 +00:00
chayleaf 3a9c8b6c61 linuxPackages.kvmfr: fix for linux 6.4 2023-07-12 14:44:30 +07:00
j-brn 6d154c8b25 looking-glass-client: B5.0.1 -> B6 2023-01-24 00:19:22 +01:00
Babbaj 0835ac53cf linuxPackages.kvmfr: fix for linux 5.18 2022-05-31 17:53:46 -04:00
Alyssa Ross 93212d08c7 linuxPackages.kvmfr: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
arcnmx 36026bb0c4 linuxPackages.kvmfr: patch for 5.16 2022-01-14 15:14:39 -08:00
Alyssa Ross 871b03cc67 linuxPackages.kvmfr: mark broken on Linux 5.16 2022-01-10 04:26:50 +00:00
Alyssa Ross 17f391e05a linuxPackages.kvmfr: set minimum kernel version 2021-11-06 11:43:56 -07:00
j-brn 7748864655 kvmfr: init at $looking-glass-client.version 2021-07-06 22:06:14 +02:00