206 Commits
Author SHA1 Message Date
Yohann BonifaceandGitHub a96a7b9dc6 treewide: use finalAttrs.finalPackage.doCheck (#543265) 2026-07-23 11:35:08 +00:00
Peder Bergebakken Sundt a0d022d0f4 treewide: use finalAttrs.finalPackage.doCheck 2026-07-18 18:23:21 +02:00
K900 45ae10c84d Merge remote-tracking branch 'origin/master' into staging-next 2026-07-15 10:52:37 +03:00
Emily fdb820602b treewide: drop simple x86_64-darwin mentions
To reproduce:

    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: nix-x86_64-darwin
          language: nix
          rule:
            any:
              - pattern: "\"x86_64-darwin\""
                kind: list_expression > string_expression
              - pattern:
                  context: "{ \"x86_64-darwin\" = $EXPR; }"
                  selector: binding
              - pattern:
                  context: "{ x86_64-darwin = $EXPR; }"
                  selector: binding
          fix:
            template: ""
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-first-x86_64-darwin
          language: json
          rule:
            kind: object > pair:nth-child(1)
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandEnd: { regex: "," }
        ' pkgs
    $ nix run nixpkgs/3b32825de172d0bc85664f495edb096b10862524#ast-grep \
        -- scan --update-all --inline-rules '
          id: json-x86_64-darwin
          language: json
          rule:
            kind: object > pair
            has:
              pattern: "\"x86_64-darwin\""
              field: key
          fix:
            template: ""
            expandStart: { regex: "," }
        ' pkgs
    $ git restore pkgs/by-name/om/omnix/package.nix
    $ git diff --name-only -z \
        | nix shell nixpkgs/3b32825de172d0bc85664f495edb096b10862524#gnused \
            -c xargs -0 sed -i '/^$/N; /^\n\? \+$/d'
    $ treefmt
2026-07-15 03:58:16 +01:00
Hraban d15b45bb33 sbcl: add iolib and stumpwm to passthru.tests 2026-07-04 15:46:19 -04:00
Hraban b70af925f2 sbcl: 2.6.5 -> 2.6.6 2026-07-04 15:43:45 -04:00
Hraban bfb5cca84e sbcl: 2.6.4 -> 2.6.5 2026-05-31 17:24:14 -04:00
nixpkgs-ci[bot]andGitHub 744b127e11 Merge master into staging-next 2026-05-15 12:38:31 +00:00
Andrew Marshall 9b90205026 Revert "sbcl: remove broken run-program test"
Fixed in be092d0c7b.

This reverts commit 79e66e6c10.
2026-05-14 21:48:20 -04:00
Hraban fa663cfd28 sbcl: 2.6.3 -> 2.6.4 2026-05-06 20:26:32 -04:00
Michael Daniels 608d9feb41 sbcl: set __structuredAttrs and strictDeps 2026-04-25 09:18:50 -04:00
Hraban 479eaf5e66 sbcl: update patches for 2.6.3 2026-03-31 13:17:42 -04:00
Hraban 929d023da2 sbcl: 2.6.1 -> 2.6.3 2026-03-30 17:55:52 -04:00
nixpkgs-ci[bot]andGitHub 73e99b231f Merge staging-next into staging 2026-02-07 00:23:25 +00:00
quantenzitrone 44560ee9f7 various: make all uses of fixed point builders use finalAttrs as argument
some of these were just typos like `finalAttr`, `finalAtts` or `finaAttrs`
some of these were using `self`, `final`, `finalPackage`, `attrs` or `_`
some of these were wrong by using `oldAttrs` or `finalPackages`

other than the nixos manual this shouldn't create any rebuilds
2026-02-06 23:22:29 +01:00
K900 08c99553e2 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-02 10:50:03 +03:00
Martin Weinelt 14d963ec62 sbcl: mark broken on x86_64-darwin
This job has been broken since 2025-09.
2026-02-02 03:54:22 +01:00
Hraban 292fe2bd1f sbcl: 2.6.0 -> 2.6.1 2026-01-27 02:37:43 -05:00
Hraban d8b84f31bd sbcl: 2.5.10 -> 2.6.0 2026-01-03 01:49:41 -05:00
Ihar Hrachyshka a269d900c4 treewide: remove remaining meta = with lib; 2025-12-14 15:16:00 -05:00
Ihar HrachyshkaandWolfgang Walther 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
nixpkgs-ci[bot]andGitHub 3ab7eb53a9 Merge master into staging-next 2025-11-15 18:19:57 +00:00
Ben Siraphob 45dfb4e9d4 sbcl: set minimum macOS version to 10.12 on x86_64-darwin 2025-11-14 17:54:37 -08:00
7c6f434candGitHub 4823e89d1b Merge branch 'staging' into sbcl/2.5.10 2025-11-08 22:01:02 +00:00
Hraban Luyat f789192d2b sbcl: 2.5.9 -> 2.5.10 2025-11-08 12:36:23 -05:00
K900 45df334930 Merge remote-tracking branch 'origin/staging-next' into staging 2025-10-30 12:20:34 +03:00
Andrew Marshall 5c92e83cc5 sbcl: fix test failures in Darwin sandbox 2025-10-28 15:34:07 -04:00
Andrew Marshall be092d0c7b sbcl: fix build on Darwin
Coreutils v9.8 has a regression on Darwin that causes
`__CF_USER_TEXT_ENCODING` env var to get added to `env`’s output. This
causes a test failure. So get the variant of `env` from
darwin.shell_cmds instead (and `uname`, to avoid having both pkgs in the
closure).

I submitted a bug report to Coreutils, but it is not yet in the tracker
or list archives for me to link from here.
2025-10-28 15:30:30 -04:00
Hraban Luyat 79e66e6c10 sbcl: remove broken run-program test 2025-10-25 12:34:18 -04:00
Hraban Luyat bf0d024cad sbcl: 2.5.7 -> 2.5.9 2025-10-16 22:34:53 -04:00
Sarah Clark 26be9f6da2 sbcl: disable tests that fail on Darwin 2025-10-14 13:00:56 -07: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
Hraban Luyat ac8ce97fe3 sbcl: 2.5.5 -> 2.5.7 2025-08-24 14:03:03 -04:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Hraban Luyat 95825b452b sbcl: 2.5.4 -> 2.5.5 2025-06-08 14:26:28 -04:00
Hraban Luyat a38846a4ef sbcl: pin 2.5.2 instead of 2.5.3
See conversation in https://github.com/NixOS/nixpkgs/pull/394767 for motivation.
2025-05-04 13:47:06 -04:00
Hraban Luyat f232dc594f sbcl: dont define pre/post<phase> in deriv
Leave these blank for users to override if desired.
2025-05-04 13:47:06 -04:00
Hraban Luyat 272af7802b sbcl: 2.5.3 -> 2.5.4 2025-05-04 13:47:06 -04:00
Hraban Luyat 7e2d7eaf44 sbcl: disable broken test on 2.5.3 2025-05-04 13:47:06 -04:00
Hraban Luyat 27e8c55d54 sbcl: 2.5.2 -> 2.5.3 2025-05-04 13:47:06 -04:00
Hraban Luyat 3fba1c80f2 sbcl: fix patches ahead of 2.5.3 release 2025-05-04 13:47:05 -04:00
Fernando Rodrigues 05580f4b44 treewide: switch instances of lib.teams.*.members to the new meta.teams attribute
Follow-up to #394797.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
2025-04-25 22:20:17 -03: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](https://github.com/NixOS/nixpkgs/tree/8616af08d915377bd930395f3b700a0e93d08728/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
Hraban Luyat 65e87d4552 sbcl: 2.5.1 -> 2.5.2 2025-03-03 06:35:18 +01: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
Hraban Luyat 0cba8ebde6 sbcl: 2.5.0 -> 2.5.1 2025-01-31 12:07:58 -05:00
Hraban Luyat 8ac4a94f1b sbcl: 2.4.11 -> 2.5.0 2025-01-11 23:14:19 -05:00
Hraban Luyat 80cc159a7d sbcl: 2.4.10 -> 2.4.11 2024-12-14 15:48:50 -05:00
Hraban Luyat de0eb4cfbf sbcl: git versions of SBCL use ps in checkPhase
Get ahead of upcoming SBCL 2.4.11 release and support those overriding ‘src’.

Introduced in
https://sourceforge.net/p/sbcl/sbcl/ci/6c784b333ad2206be13c5588af6cf1e56d4ab3f8
2024-12-14 15:48:49 -05:00
Hraban Luyat 9243491f1e sbcl: 2.4.9 -> 2.4.10 2024-10-31 15:26:15 -04:00