Commit Graph

7 Commits

Author SHA1 Message Date
dramforever
7c7fa82b6c treewide: Don't stabilize fetchpatch GitHub compare URLs
The index hash length problem only happens with fetchpatch2, not
fetchpatch. Don't cargo cult fixing this when it's not a problem.

This reverts most of commit 6388411ec2,
except:

- Conflicts:
  - pkgs/development/ocaml-modules/mysql/default.nix was deleted
- fetchpatch2 changes were not reverted:
  - pkgs/by-name/gi/gixy/package.nix
  - pkgs/development/python-modules/mohawk/default.nix
  - pkgs/development/python-modules/pyexcel-ods/default.nix
2026-04-15 09:21:02 +08:00
Jörg Thalheim
6388411ec2 treewide: stabilize fetchpatch GitHub compare URLs
GitHub compare endpoints (/compare/A...B.patch) are not byte-stable:
commit message headers, abbreviated SHA length and index lines drift
over time, causing FOD hash mismatches on Hydra without source changes
(observed for gixy on staging).

Switch all such URLs to .diff?full_index=1, which omits commit headers
and uses full 40-char blob SHAs in index lines. Combined with fetchpatch
normalization this yields stable hashes.

For py-slvs also expand the abbreviated commit SHAs in the URL to full
40-char SHAs.
2026-04-14 11:32:06 +02: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
jopejoe1
f9eb7ff5fe asdf: add homepage 2025-03-22 11:08:28 +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
Kasper Gałkowski
6e2956f10b clasp-common-lisp: 2.2.0 -> 2.6.0
Same flags as in from debian/arch builds are used (mixed bytecode mode).

This release bundles dependencies that were previously fetched from their git
repositories. It means that the repo-pinning code can be deleted.

Clasp needs ASDF with changes not yet merged to the canonical repository. Such a
patch was added to the asdf derivation to avoid adding conditionals in the lisp
builder.
2024-06-05 02:24:58 +02:00
Kasper Gałkowski
04c276ac9c asdf_3_3: init at 3.3.6 2023-03-02 19:04:47 +01:00