| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-01-25 | treewide: remove references to the xorg namespace in `pkgs` (automated) | quantenzitrone | |
| 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 | treewide: remove all uses of 'with xorg;' in `pkgs` | quantenzitrone | |
| this shouldn't create any rebuilds this was done manually by grepping for `with xorg` and `with pkgs.xorg` | |||
| 2025-10-04 | pkgs: remove optional builtins prefixes from prelude functions | NAHO | |
| Remove optional builtins prefixes from prelude functions by running: builtins=( abort baseNameOf break derivation derivationStrict dirOf false fetchGit fetchMercurial fetchTarball fetchTree fromTOML import isNull map null placeholder removeAttrs scopedImport throw toString true ) fd \ --type file \ . \ pkgs \ --exec-batch sed --in-place --regexp-extended " s/\<builtins\.($( printf '%s\n' "${builtins[@]}" | paste --delimiter '|' --serial - ))\>/\1/g " nix fmt | |||
| 2024-12-10 | treewide: format all inactive Nix files | Silvan Mosberger | |
| 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 b32a0943687d2a5094a6d92f25a4b6e16a76b5b7 result/bin/apply-formatting $NIXPKGS_PATH | |||
| 2021-06-10 | Change all alsaLib references to alsa-lib | AndersonTorres | |
| 2021-05-28 | buildPythonPackage: add support for conda | DavHau | |
