11.stylix/stylix
NAHO 5b9710eee9
treewide: remove optional builtins prefixes from prelude functions (#1915)
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 --exec-batch sed --in-place --regexp-extended "
      s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
      ))\>/\1/g
    "

    nix fmt

This patch is heavily inspired by [1] ("treewide: remove optional
builtins prefixes from prelude functions").

[1]: https://github.com/NixOS/nixpkgs/pull/444432

Link: https://github.com/nix-community/stylix/pull/1915

Reviewed-by: Daniel Thwaites <danth@danth.me>
Reviewed-by: awwpotato <awwpotato@voidq.com>
2025-09-28 11:09:21 +02:00
..
darwin stylix: add config.lib.stylix.{mkHexColor,mkOpacityHexColor} functions 2025-09-08 18:55:38 +02:00
droid stylix: add config.lib.stylix.{mkHexColor,mkOpacityHexColor} functions 2025-09-08 18:55:38 +02:00
hm stylix: add config.lib.stylix.{mkHexColor,mkOpacityHexColor} functions 2025-09-08 18:55:38 +02:00
nixos stylix: add config.lib.stylix.{mkHexColor,mkOpacityHexColor} functions 2025-09-08 18:55:38 +02:00
testbed treewide: remove optional builtins prefixes from prelude functions (#1915) 2025-09-28 11:09:21 +02:00
autoload.nix treewide: remove optional builtins prefixes from prelude functions (#1915) 2025-09-28 11:09:21 +02:00
colors.nix stylix: add config.lib.stylix.{mkHexColor,mkOpacityHexColor} functions 2025-09-08 18:55:38 +02:00
cursor.nix treewide: remove blank lines around 'let', 'in', and function arguments (#1700) 2025-07-19 10:41:36 -07:00
fonts.nix treewide: remove blank lines around 'let', 'in', and function arguments (#1700) 2025-07-19 10:41:36 -07:00
home-manager-integration.nix flake: update all inputs (#1881) 2025-09-05 22:22:06 +02:00
icons.nix stylix: apply stylix.iconTheme option rename to all sub-options (#1744) 2025-07-23 18:48:02 +00:00
maintainers.nix anki: init (#1801) 2025-08-03 16:34:08 -07:00
meta.nix stylix: minor meta.nix cleanup 2025-05-28 19:32:15 +01:00
mk-target.nix flake: update all inputs (#1881) 2025-09-05 22:22:06 +02:00
opacity.nix treewide: remove blank lines around 'let', 'in', and function arguments (#1700) 2025-07-19 10:41:36 -07:00
ordering.nix fontconfig: set defaultFonts with mkOrder 600 2025-07-28 18:08:07 +07:00
overlays.nix stylix: use isFunction (#1652) 2025-07-09 19:43:37 +02:00
palette.html.mustache treewide: standardize URL format by removing trailing slashes (#1566) 2025-07-06 22:18:33 +02:00
palette.json.mustache stylix: fix palette generator caching (#867) 2025-02-18 13:34:14 +01:00
palette.nix treewide: properly quote stylix.image when used as a shell argument 2025-07-30 15:02:19 +02:00
pixel.nix treewide: use lib.getExe (#1241) 2025-05-10 12:07:43 +01:00
release.nix stylix: bump release to 25.11 (#1317) 2025-05-20 19:27:39 +00:00
target.nix treewide: remove blank lines around 'let', 'in', and function arguments (#1700) 2025-07-19 10:41:36 -07:00