Commit Graph

28 Commits

Author SHA1 Message Date
R. Ryantm
ce02ef73eb akku: 1.1.0-unstable-2026-09-06 -> 1.1.0-unstable-2026-09-13 2026-09-21 16:10:08 +00:00
R. Ryantm
a7e9d334fd akku: 1.1.0-unstable-2026-07-08 -> 1.1.0-unstable-2026-09-06 2026-09-11 14:15:43 +00:00
R. Ryantm
e6a50d4d56 akku: 1.1.0-unstable-2026-01-09 -> 1.1.0-unstable-2026-07-08 2026-07-16 19:18:16 +00:00
n0099
9a954f65d9 akkuPackages.scheme-langserver: set meta.mainProgram 2026-05-13 13:00:02 +00:00
R. Ryantm
8237789a9a akku: 1.1.0-unstable-2025-11-08 -> 1.1.0-unstable-2026-01-09 2026-02-21 16:48:16 +00:00
Daniel Nagy
73b26a35a4 akku: pin Guile 3.0.10
This prevents a breakage with the upcoming Guile 3.0.11.
2026-01-18 11:15:00 +01: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
HHR2020
f2322493df akkuPackages: update 2025-11-24 21:11:53 +08:00
HHR2020
c9eed41af4 akku: 1.1.0-unstable-2024-03-03 -> 1.1.0-unstable-2025-11-08 2025-11-24 18:52:00 +08:00
Sandro Jäckel
1376730c66 akkuPackages: do not define meta.{description,homepage} to empty strings 2025-11-04 21:55:37 +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
jopejoe1
600880d077 akkuPackages: parse more licenses 2025-09-29 20:51:58 +02:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
Weijia Wang
8562dce80e akkuPackages.akku: fix aarch64 build 2025-02-13 16:44:30 +01:00
Konstantin Astafurov
f2a8b54aa6 akkuPackages: update 2025-01-29 22:51:57 -05:00
Wolfgang Walther
68ec77c13a akkuPackages.machine-code: remove all-a64.sps test (#341198) 2024-12-12 21:00:37 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
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 a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Aaron Jheng
a6614061b6 akkuPackages.*: add an 'akku-' prefix to the package names 2024-10-08 01:48:41 +00:00
Peder Bergebakken Sundt
cd673393d2 treewide: remove unreferenced patch files
Found with `fd \\.patch$ pkgs/ -x bash -c 'rg -F "{/}" pkgs/ -q || echo {}'``

We're running more and more into patches fetched via `applyPatches`, for the next PR i'll script something to account for that.
2024-10-04 19:38:56 +02:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
ghpzin
ff1ae848ec akkuPackages.machine-code: remove all-a64.sps test
- remove 'tests/all-a64.sps' - test iterates over range of instructions
and outputs each result into logs - more than 20 millions lines total.
Build on hydra fails with 'Log limit exceeded'
2024-09-12 13:16:03 +03:00
Konstantin Astafurov
5fbe9b6e91 akku: 1.1.0 -> 1.1.0-unstable-2024-03-03 2024-09-07 12:06:49 -04:00
Konstantin Astafurov
29e9baf2fd akku: Add akkuPackages, introduce deps.toml 2024-07-07 18:45:48 -04:00
Mario Rodas
2becf6e837 maintainers: drop marsam 2024-04-24 04:20:00 +00:00
h7x4
41974d5ed9 treewide: add mainProgram 2023-11-27 02:17:53 +01:00
Mario Rodas
55db199650 akku: init at 1.1.0 2021-08-28 00:04:20 +00:00