11.stylix/doc
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
..
src stylix: add config.lib.stylix.{mkHexColor,mkOpacityHexColor} functions 2025-09-08 18:55:38 +02:00
book.toml doc: add link checking and fix broken links (#1478) 2025-06-13 16:26:32 +02:00
default.nix treewide: remove optional builtins prefixes from prelude functions (#1915) 2025-09-28 11:09:21 +02:00
eval_compat.nix doc: ensure config is not used in option docs 2025-06-21 20:25:14 -07:00
hm_compat.nix doc: use minimal module evals 2025-06-21 20:25:14 -07:00
redirects.js flake: update all inputs (#1881) 2025-09-05 22:22:06 +02:00
server.nix flake: rename packages.«system».docspackages.«system».doc 2025-06-04 16:10:53 +01:00