11.stylix/stylix/testbed/modules
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
..
application.nix stylix/testbed: add sendNotifications option (#1770) 2025-07-27 19:05:26 +02:00
common.nix treewide: remove optional builtins prefixes from prelude functions (#1915) 2025-09-28 11:09:21 +02:00
enable.nix stylix: move testbed modules to their own files 2025-05-28 00:30:20 +01:00
flake-parts.nix flake: add Flake Parts tree into testbed environment 2025-07-24 16:58:27 +02:00
README.md stylix: move testbed modules to their own files 2025-05-28 00:30:20 +01:00

Testbed modules

This directory contains modules used by all testbeds.

If you want to introduce a new testbed for your target, you should instead add a file at modules/«target»/testbeds/«target».nix.

See testbed documentation.