Commit Graph

34 Commits

Author SHA1 Message Date
coolcuber
2c1a629c05 _4ti2: enable strictDeps, structuredAttrs, parallel builds 2026-08-13 18:45:44 -04:00
coolcuber
703ca17699 _4ti2: adopt 2026-07-20 10:23:04 -04:00
Jo
a99058e098 _4ti2: 1.6.14 -> 1.6.15 (#497037) 2026-07-01 17:47:34 +00:00
2kybe3
fb0d1a7cd3 treewide: follow some GitHub redirects for fetchFromGitHub 2026-06-30 22:37:21 +02:00
KPCCoiL
3dbbca0371 _4th: fix editor for 64bit systems
Use headers in `sources/include{32, 64}` to fix the builtin editor, as suggested by `README`.
The problem is described in the FAQ section of the [manual](https://thebeez.home.xs4all.nl/4tH/4tHmanual.pdf).
Although the manual suggests regenerating the headers (section 27.8), the required headers seem to be already in the distirbution.
2026-05-16 15:29:48 +09:00
Alex Epelde
24a345abcd _4ti2: patch in absolute patch to which 2026-03-29 12:13:29 -04:00
R. Ryantm
d1e2b980f6 _4ti2: 1.6.14 -> 1.6.15 2026-03-06 00:33:16 +00:00
quantenzitrone
f690155396 various: rename references from libXrender to libxrender
this shouldn't create any rebuilds
2026-02-06 00:29:19 +01:00
quantenzitrone
43cdce2c39 various: rename references from libXrandr to libxrandr
this shouldn't create any rebuilds
2026-02-06 00:29:06 +01:00
quantenzitrone
77837f424c various: rename references from libXi to libxi
this shouldn't create any rebuilds
2026-02-06 00:25:56 +01:00
quantenzitrone
5e4a1bdd9c various: rename references from libXinerama to libxinerama
this shouldn't create any rebuilds
2026-02-06 00:25:42 +01:00
quantenzitrone
543572a942 various: rename references from libXfixes to libxfixes
this shouldn't create any rebuilds
2026-02-06 00:25:40 +01:00
quantenzitrone
f67b5966bb various: rename references from libXext to libxext
this shouldn't create any rebuilds
2026-02-06 00:25:36 +01:00
quantenzitrone
8382a53a4c various: rename references from libXcursor to libxcursor
this shouldn't create any rebuilds
2026-02-06 00:24:45 +01:00
quantenzitrone
55280fa564 various: rename references from libX11 to libx11
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
R. Ryantm
92d460bf65 _4ti2: 1.6.13 -> 1.6.14 2026-02-03 00:22:13 +01:00
quantenzitrone
6b61249106 various: switch to finalAttrs pattern
this shouldn't create any rebuilds
2026-01-30 02:36:22 +01:00
chillcicada
2b65711ef0 _4th: 3.64.1 -> 3.64.2; adopted 2025-12-09 12:26:59 +08:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
R. Ryantm
0310b429f2 _4ti2: 1.6.12 -> 1.6.13 2025-07-29 08:36:24 +00:00
Guy Chronister
33c8949e5f treewide: refactor meta section part 2
adapta-gtk-theme: remove maintainers.

Co-authored-by: Shawn8901 <shawn8901@googlemail.com>
2025-06-23 12:46:23 +00:00
R. Ryantm
e43a3fe505 _4ti2: 1.6.11 -> 1.6.12 2025-05-31 23:37:40 +00:00
R. Ryantm
58922e4577 _4ti2: 1.6.10 -> 1.6.11 2025-05-02 00:44:10 +00:00
Peder Bergebakken Sundt
357d2530e5 treewide: substitute pname for strings
Inspired by https://github.com/NixOS/nixpkgs/pull/387725#issuecomment-2704943777, script is based on https://github.com/NixOS/nixpkgs/pull/336172 using what i learned in https://github.com/NixOS/nixpkgs/pull/386865, part of https://github.com/NixOS/nixpkgs/issues/346453

Should be zero rebuilds.

All candidates were made using:

```shell

export NIXPKGS_ALLOW_UNFREE=1
export NIXPKGS_ALLOW_INSECURE=1
export NIXPKGS_ALLOW_BROKEN=1

git-wait restore .

test -s packages.json || ( set -x;
  time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages.json
)

list_attrpath_fname_col() {
    jq <packages.json 'to_entries[] | select(.value.meta.position==null|not) | "\(.key)\t\(.value.meta.position)"' -r |
        sed -e "s#\t$(realpath .)/#\t#" |
        sed -e 's#:\([0-9]*\)$#\t\1#' |
        grep . |
        grep -iv haskell |
        grep -iv /top-level/ |
        grep -iv chicken |
        grep pkgs/by-name/ |
        grep -iv build |
        grep -E '/(package|default)\.nix'
}

FLOCKDIR="$(mktemp -d)"
N_WORKERS=4
while read attrpath fname col; do
    grep -qE 'repo *= *("\$\{pname\}"|pname);' "$fname" || continue

    echo | (
        # mutex on fname
        flock --nonblock 200 || {
            >&2 echo "failed to aquire lock for $fname"
            exit 1
        }

        echo "$attrpath"
        data="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)" || exit
        test -n "$data" || exit
        pname="$(jq <<<"$data" .pname -r)"
        test -n "$pname" || exit

        (set -x
            sd -F '${pname}'  "$pname"         "$fname"
            sd -F ' = pname;' " = \"$pname\";" "$fname"
        )

        data2="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json)"
        if [[ "$data" = "$data2" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
            exit
        fi

        (set -x
            sd -F ' rec {' ' {' "$fname"
        )

        data3="$(nix eval --impure  --expr 'with import ./. {}; { inherit ('"$attrpath"') pname drvPath passthru meta; drvPath2='"$attrpath"'.src.drvPath; }' --json 2>/dev/nul)"

        if [[ "$data" = "$data3" ]]; then
            (set -x; git-wait add "$fname")
        else
            (set -x; git-wait restore "$fname")
        fi

    ) 200>"$FLOCKDIR"/"$(sha256sum - <<<"$fname" | cut -d' ' -f1)".lock &

    while [[ $(jobs -p | wc -l) -ge $N_WORKERS ]]; do
        wait -n < <(jobs -p) || true
    done

done < <(list_attrpath_fname_col)

wait

git restore .

time nix-env --extra-experimental-features no-url-literals --option system x86_64-linux -f ./. -qaP --json --meta --drv-path --out-path --show-trace --no-allow-import-from-derivation --arg config '{ allowAliases = false; }' > packages2.json
```

`diff packages{,2}.json` is empty, indicating that no package nor src derivation has changed.
I checked and cherry-picked the changes using `GIT_DIFF_OPTS='-u15' git -c interactive.singleKey=true add --patch`
2025-03-11 23:55:31 +01:00
Anderson Torres
cab2a1296e treewide: remove AndersonTorres from maintainers
As I said before, I want to keep a narrow focus on Nixpkgs. Now that I am back
at undergrad, this focus should be even narrower: I will keep my eyes on Emacs,
and nothing else.
2025-02-12 00:36:02 -03: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
Anderson Torres
f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
fly
d332243360 maintainers: remove nayala
Signed-off-by: fly <merspieler@alwaysdata.net>
2024-07-02 14:07:53 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Sefa Eyeoglu
24776b235e 4d-minesweeper: fix package name
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2024-04-25 13:52:41 +02:00
Nick Cao
d07d12add6 _4th: fix cross compilation by setting AR in makeFlags 2023-09-22 16:28:35 -03:00
Anderson Torres
e975681deb _4th: refactor
- Migrate to by-name
- Split outputs
- finalAttrs
2023-09-14 10:00:10 +00:00