Commit Graph

9 Commits

Author SHA1 Message Date
Eman Resu
ff094f60ad treewide: replace more singleton license lists 2026-07-15 14:04:39 -04:00
Nikolay Korotkiy
acde0c2cff hareThirdParty.hare-json: 0-unstable-2024-04-19 → 0.26.0.0 2026-03-01 16:14:09 +04:00
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
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
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
2025-10-04 19:02:37 +02:00
Coutinho de Souza
eb252446b5 hareThirdParty.hare-json: 0-unstable-2023-03-13 -> 0-unstable-2024-04-19 2024-07-16 08:14:04 -03:00
Coutinho de Souza
081396ca7d hareThirdParty.hare-json: make use of hareHook 2024-06-04 20:33:00 -03:00
Coutinho de Souza
1ef1988149 hareThirdParty.hare-json: format with nixfmt-rfc-style 2024-06-04 20:32:59 -03:00
Gustavo Coutinho de Souza
521b9c3d36 hareThirdParty.hare-json: unstable-2023-09-21 -> unstable-2023-03-13
Although the version date is going back in time, the commit,
88256102[1], is newer than the one on e24e5dceb[2], as it may be seen
from the Sourcehut's log[3].

Also refactor the `configurePhase` into `makeFlags`.

[1]: 88256102a9
[2]: e24e5dceb8
[3]: https://git.sr.ht/~sircmpwn/hare-json/log
2023-12-15 07:02:57 -03:00
Gustavo Coutinho de Souza
494bd4255c hareThirdParty.hare-json: move to pkgs/development/hare-third-party 2023-12-15 07:01:17 -03:00