201 Commits

Author SHA1 Message Date
Daniel Nagy 235aa70d92 chickenPackages_5.chickenEggs: fix some broken eggs 2026-07-18 15:30:00 +02:00
David McFarland 6fa93c2bea chickenPackages.chickenEggs.fuse: mark as broken due to fuse2 (#541420) 2026-07-14 12:17:51 +00:00
David McFarland 15e5afb03c chickenPackages.chickenEggs.fuse: mark as broken due to fuse2 2026-07-13 08:56:47 -03:00
David McFarland 24d396f353 chickenPackages.chickenEggs.mdh: mark as broken due to PCRE 2026-07-13 08:48:17 -03:00
Daniel Nagy 02190b58d4 chickenPackages.chickenEggs: update 2026-05-31 16:30:00 +02:00
jopejoe1 45aed498ef chickenPackages_5: handle bsd-0-clause licenses 2026-04-23 14:54:22 +02:00
Xiangyan Sun 31d3d7ef0b chickenPackages_5.chickenEggs.{fuse,isaac,mdh,xlib}: fix build with gcc 15 2026-03-29 13:47:15 -07:00
K900 213d86cb54 Merge remote-tracking branch 'origin/staging-next' into staging 2026-02-19 21:22:07 +03:00
Stefan Frijters bdf6477108 chickenPackages_5.eggDerivation: move env variables into env 2026-02-17 13:58:02 +01:00
Stefan Frijters d24a440a41 chickenPackages_4.eggDerivation: move env variables into env 2026-02-17 13:56:27 +01:00
Sandro 6c6495bd50 treewide: remove exec bit from files that don't need it (#461314) 2026-02-16 14:56:12 +00:00
Daniel Nagy 7b679486b0 chickenPackages.chickenEggs: update 2026-02-11 22:45:00 +01:00
jopejoe1 fd5dbc9834 chickenPackages_4.chickenEggs: update eggs 2026-02-09 22:12:52 +01:00
jopejoe1 ce630d5c2b chickenPackages_4.egg2nix: add suport for adding pname and version 2026-02-06 19:43:12 +01:00
jopejoe1 fb01fb642e chickenPackages_4.egg2nix: set pname instead of name 2026-02-03 22:45:18 +01:00
jopejoe1 68703fc253 chickenPackages_4.eggDerivation: add fallback for name on pname and version 2026-02-03 22:44:08 +01:00
quantenzitrone 7d8132a92c treewide: remove references to the xorg namespace in pkgs (automated)
this creates some eval errors that will be fixed in the next commit

done with the following script:

```fish
\#!/usr/bin/env fish

set packagesjson (nix eval --impure --json --expr '
let
  lib = import ./lib;
in
import pkgs/servers/x11/xorg/default.nix (lib.mapAttrs (
  name: _:
  if name == "lib" then
    lib
  else if name == "config" then
    { allowAliases = false; }
  else
    name
) (__functionArgs (import pkgs/servers/x11/xorg/default.nix))) { }
' | jq)

set one (grep '^    [A-Za-z0-9_-]*$' pkgs/servers/x11/xorg/default.nix | string trim | string replace -r '$' Z | sort | string sub -e -1)
set two (grep '^  [A-Za-z0-9_-]* = [A-Za-z0-9_-]*;$' pkgs/servers/x11/xorg/default.nix | cut -d= -f1 | string trim | string replace -r '$' Z | sort | string sub -e -1)

for arg in $one $two
    set oname $arg
    set nname (echo $packagesjson | jq -r .$oname)

    if test $nname = null
        echo (set_color red)warn:(set_color normal) unknown package xorg.$oname >&2
        continue
    end

    echo $oname "->" $nname

    # replace basic xorg.$name references
    for file in (rg -F "xorg.$oname" --files-with-matches pkgs)
        # special cases
        sd -F "$oname = xorg.$oname;" "$nname = $nname;" $file

        # replace
        sd -F "xorg.$oname" "$nname" $file

        # fixup function arguments

        # prevent duplicate function args
        if grep -E " ($oname|$nname),\$" $file >/dev/null
            continue
        end

        if grep 'xorg\..' $file >/dev/null # case1: there is more so we can't just remove the function arg

            if grep ' xorg,$' $file >/dev/null
                sd ' xorg,$' " xorg,
                $nname," $file

            else if grep ' xorg ? .*,$' $file >/dev/null
                sd 'xorg( ? .*),$' "xorg\$1,
                $nname," $file

            else
                sd -F 'xorg,' "$nname,
                xorg," $file
            end

        else # case there is no more xorg..* so we can just replace the function arg
            sd 'xorg(| ? .*),.*$' "$nname," $file
        end
    end
end

nix fmt
```
2026-01-25 22:28:09 +01:00
Maevi 3126d71478 treewide: remove exec bit from files that don't need it
find . -type f -executable ! -name '*.sh' -exec grep -L '^#!' {} \; | xargs chmod a-x
2026-01-16 15:42:35 +01:00
Rafael Ieda cdc8050f8e treewide: mark as broken on darwin (last successful Hydra build in 2024) 2025-11-05 12:57:40 -03:00
git@71rd.net 355a7677ba chickenPackages_5.chickenEggs.botan: mark broken
Mark the chicken-scheme bindings for botan as broken.
The package only supports the botan2 library that has been deprecated
and is being removed
2025-10-24 14:52:56 +00:00
Jan Tojnar 899fd8a26c treewide: Comment out webkitgtk_4_0
`webkitgtk_4_0` was already transitively insecure because of `libsoup_2_4` and it will be removed soon.

Ideally, we would just replace it with `libsoup_3`-based `webkitgtk_4_1`
but it is unclear if they would work with the 4.1 ABI. At best, the programs
would only be looking for 4.0, failing to build or start, at worst there
might be conflicts with libsoup 2 symbols if that is pulled in by anything
or crashes that will only happen after certain action.

Let’s mark the packages as broken to ensure human intervention.
2025-10-18 03:05:26 +02:00
Wolfgang Walther 91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02: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 b84e54cac1 chickenPackages: resolve more licenses 2025-09-29 20:51:56 +02:00
David McFarland 60182f5669 chickenPackages.chickenEggs.glut: fix eval on darwin 2025-09-04 13:41:35 -03:00
Daniel Nagy 6140cec27f chickenPackages.chickenEggs: update 2025-09-02 12:30:00 +02:00
Moritz Heidkamp 40306c0439 chickenPackages.chickenEggs.glut: mark broken on darwin 2025-09-02 11:15:00 +02:00
Moritz Heidkamp 198f572ea3 chickenPackages.chickenEggs: update
The llama egg declares a dependency on srfi-4 which is actually part of CHICKEN itself and not an
egg. To salvage it, we remove such bogus dependencies now.
2025-09-02 11:15:00 +02:00
Daniel Nagy a536870a20 chickenPackages.chickenEggs: Adapt update script
We use a new methods to update all eggs because git snapshots are no
longer provided by upstream.
2025-09-02 11:15:00 +02:00
Moritz Heidkamp ea3f73b15d chickenPackages.chickenEggs.magic-pipes: add missing dependency 2025-08-14 20:12:07 +02:00
Moritz Heidkamp 0a6ed1128e chickenPackages.chickenEggs.allegro: mark broken 2025-08-14 20:12:07 +02:00
Moritz Heidkamp a49ee8d7de chickenPackages.chickenEggs: Preserve version info
Most eggs in the canonical repository don't declare a `version` property in their `.egg` files. This
is because it's provided implicitly when using `chicken-install` to retrieve them. Quoting from [the
manual](https://wiki.call-cc.org/man/5/Egg%20specification%20format#version):

> Eggs from remote egg servers are automatically versioned - the version is part of the protocol to
retrieve the egg and does not have to be specified in the .egg file.

Since we don't use `chicken-install` to retrieve eggs, this leaves us with a version of "unknown" in
most cases, e.g.:

    $ nix-shell -p chickenPackages.chickenEggs.json-abnf chickenPackages.chicken --run chicken-status
    abnf ...................................................... version: unknown
    iset ...................................................... version: unknown
    json-abnf ................................................. version: unknown
    lexgen .................................................... version: unknown
    regex ......................................................... version: 2.0
    srfi-1 .................................................... version: unknown
    srfi-127 .................................................. version: unknown
    srfi-69 ................................................... version: unknown
    utf8 ...................................................... version: unknown

This is usually not an issue unless another egg declares a minimum required version dependency on an
egg with missing version info. In this case, `chicken-install` will fill in "0.0.0" as a fallback
and the check will fail. This has so far been worked around patches (see e.g. #346004 or #358455).

This patch addresses the root cause by following the documentation's recommendation:

> Eggs installed from local directories (see below) should explicitly specify a version.

To do that, `eggDerivation` now simply always adds the version to the generated `.egg-info`
file. This has the added benefit of correcting potentially inconsistent version declarations in
`.egg` files. Note that we cannot patch the original `.egg` file because not all released egg
versions match [the stricter version format validation which currently applies
there](https://bugs.call-cc.org/ticket/1855).

The patch also changes the signature of `eggDerivation` to allow passing in `pname` and `version`
instead of `name` to allow for easy access to the egg version. However, for backwards compatibility,
the old `name` argument is also still supported.

As a result, the aforementioned overrides are removed again and some additional eggs can be marked
as unbroken again.

And finally, this is the output of the above `chicken-status` call with the patch applied:

    $ nix-shell -p chickenPackages.chickenEggs.json-abnf chickenPackages.chicken --run chicken-status
    abnf .......................................................... version: 8.3
    iset .......................................................... version: 2.2
    json-abnf ..................................................... version: 7.0
    lexgen ........................................................ version: 8.2
    regex ......................................................... version: 2.0
    srfi-1 ...................................................... version: 0.5.1
    srfi-127 ...................................................... version: 1.3
    srfi-69 ..................................................... version: 0.4.3
    utf8 ........................................................ version: 3.6.3
2025-08-14 20:12:06 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Daniel Nagy 35e5c22876 chickenPackages: fix meta.homepage
The old endpoint seems unreachable. We are now pointing to the wiki instead.

Closes #407648
2025-05-25 10:00:00 +02:00
Grimmauld d6f4a43dc0 chickenPackages_5.chickenEggs.*: fix with gcc 14
Many of these packages that are now failing had `-Wno-error=` on clang.
Gcc 14 now also treats incompatible pointer type as errors.
The logical fix is to ignore these errors independent of compiler.
2025-05-17 14:30:03 +02:00
nixpkgs-ci[bot] 7be7cc17c3 Merge master into staging-next 2025-05-02 18:05:12 +00:00
Daniel Nagy 34bebff5b9 chickenPackages.chickenEggs: update 2025-05-01 22:00:00 +02:00
Ihar Hrachyshka dd0f03a56c treewide: remove usage of deprecated apple_sdk framework stubs
They are not doing anything right now. This is in preparation for their
complete removal from the tree.

Note: several changes that affect the derivation inputs (e.g. removal of
references to stub paths in build instructions) were left out. They will
be cleaned up the next iteration and will require special care.

Note: this PR is a result of a mix of ugly regex (not AST) based
automation and some manual labor. For reference, the regex automation
part was hacked in: https://github.com/booxter/nix-clean-apple_sdk

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-04-19 20:28:20 -04:00
Winter a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera 65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Wolfgang Walther 7dbeb1be3a various: switch to lighter libpq package instead of postgresql
No need for the full server package when you only need libpq.
2025-03-14 19:03:06 +01:00
OPNA2608 17037d293a taglib: 1.13.1 -> 2.0.2, taglib_1: init at 1.13.1 2025-02-11 13:13:40 +01:00
Daniel Nagy 86950f00de chickenPackages.chickenEggs: update 2025-02-02 10:15:00 +01:00
Daniel Nagy 6c6784a197 chickenPackages.chickenEggs: adapt update script 2025-02-02 10:15:00 +01:00
Wolfgang Walther cf127c9dc3 treewide: load structured attributes in all bash builders consistently
It's hard to put the sourcing of ./.attrs.sh into all builder
consistently - mistakes will happen. Thus, load structured attrs once in
make-derivation and then source the remaining builder on top.

This should fix quite a few builders with structured attributes in
principle. Most importantly it helps substitute / substituteAll, which
are required for bootstrap on some platforms.
2024-12-29 18:36:47 +01:00
Silvan Mosberger 667d42c00d 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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev 57b193d8dd
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:27:17 +01:00
github-actions[bot] 47c4a8d45e Merge staging-next into staging 2024-11-23 18:04:31 +00:00
Weijia Wang 34134be7a2 chickenPackages_5.chickenEggs.lowdown: fix build (#358455) 2024-11-23 16:45:48 +01:00
Linus Vettiger 89ba4d2a77 chickenPackages_5.chickenEggs.lowdown: fix build 2024-11-23 16:24:36 +01:00
Jacek Galowicz fbbf8d36c2 chickenPackages_5.chickenEggs.medea: fix build 2024-11-23 09:47:28 +00:00