Commit Graph

51 Commits

Author SHA1 Message Date
K900
aece6a0c1f Merge remote-tracking branch 'origin/master' into staging-next 2025-04-11 21:17:42 +03:00
Josh Heinrichs
1b1672bc9d
iterm2: fix passing args on the cli
If I try to run iterm2 on the cli, I get prompted to approve running
"installerPhase". We appear to be accidentally baking this into the
wrapper script rather than "$@" due to improper escaping.
2025-04-08 14:37:28 -06:00
K900
f42e00d66e Merge remote-tracking branch 'origin/master' into staging-next 2025-04-08 10:29:26 +03: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
K900
0842b11f2b Merge remote-tracking branch 'origin/master' into staging-next 2025-04-08 09:29:48 +03:00
Peder Bergebakken Sundt
ccc2858caf
itgmania: 1.0.0 -> 1.0.2 (#393590) 2025-04-08 00:09:17 +02:00
K900
b3146d4446 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-07 21:21:10 +03:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
K900
0394516316 Merge remote-tracking branch 'origin/master' into staging-next 2025-04-06 22:38:41 +03:00
jopejoe1
711360a2d2 itch-dl: 0.5.2 -> 0.6.1 2025-04-05 12:36:30 +02:00
Stefan Frijters
f0a2fe518f
itstool: add versionCheckHook 2025-04-01 16:04:09 +02:00
Stefan Frijters
08ba5fa492
itstool: add upstream patch to fix python warnings 2025-04-01 16:04:09 +02:00
Stefan Frijters
30de805691
itstool: fix cross 2025-04-01 16:04:09 +02:00
Guy Chronister
e9d89ed0eb localized: Migrate ruby admin tools to by-name
Migrate to by-name
2025-03-27 12:16:44 -05:00
Maxwell L-T
bd67495557 itgmania: 1.0.0 -> 1.0.2 2025-03-27 07:23:19 -04:00
Maxwell L-T
baeb309c74 itgmania: add maxwell-lt as a maintainer 2025-03-26 22:11:06 -04:00
Toma
00c1e4a186 Revert "treewide: remove duplicated logic for NIXOS_OZONE_WL"
This reverts commit 5f8d564052.
2025-03-14 22:10:44 +01:00
TomaSajt
5f8d564052 treewide: remove duplicated logic for NIXOS_OZONE_WL 2025-03-14 20:20:45 +01:00
nixpkgs-merge-bot[bot]
89bd97fe3e
itgmania: 0.9.0 -> 1.0.0 (#389446)
Co-authored-by: ftsimas <ftsimas@users.noreply.github.com>
2025-03-14 07:48:54 +00:00
Sigmanificient
e6fe6f4b7c treewide: remove unused rec expressions 2025-03-13 21:34:05 +01:00
R. Ryantm
4a30d58d78 itgmania: 0.9.0 -> 1.0.0 2025-03-13 07:42:19 +00:00
Arne Keller
dd53998da7
butler: init at 15.24.0 (#379452) 2025-03-12 14:17:57 +01: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
jopejoe1
646a6293b3 itch-dl: init at 0.5.2 2025-02-17 20:26:49 +01:00
naelstrof
b490d92cc7 butler: init at 15.24.0 2025-02-07 16:18:38 -07:00
Colin
9eb2e11b4d
itgmania: init at 0.9.0 (#355725) 2025-01-12 00:10:38 +00:00
Filippos Tsimas
89cd194eb3 itgmania: init at 0.9.0 2025-01-05 19:46:35 +02:00
Niklas Korz
2ce46489b3 iterm2: 3.5.10 -> 3.5.11 2025-01-02 23:38:33 +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
34j
d637b85e25
treewide: replace --enable-wayland-ime with --enable-wayland-ime=true for the arguments to properly work (#361341) 2024-12-05 00:06:22 +05:30
Sefa Eyeoglu
01c33fb6d7
treewide: add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL (#358620) 2024-11-29 18:48:23 +01:00
34j
8ae2932d56 add --enable-wayland-ime flag to all Electron packages that uses NIXOS_OZONE_WL 2024-11-24 13:34:28 +09:00
rwxg
99d697b87b iterm2: 3.5.4 -> 3.5.10 2024-11-23 21:59:24 +01:00
DontEatOreo
8a663140b1
ityscal: 0.15.4 -> 0.15.5 2024-11-14 20:21:11 +02:00
DontEatOreo
496a6080b2
itsycal: quote paths 2024-11-14 20:20:43 +02:00
aleksana
571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00
akotro
8b66100d57 it-tools: init at 2024.10.22-7ca5933 2024-11-06 00:38:38 +00:00
Franz Pletz
6d20c4d801
itch: implement NIXOS_OZONE_WL (#329503) 2024-09-25 18:32:53 +02:00
Sigmanificient
61fe0c0416 pkgs/by-name: remove unused arguments 2024-07-26 10:11:07 +02:00
sodiboo
0d557cc212 itch: implement NIXOS_OZONE_WL 2024-07-23 22:39:32 +02:00
DontEatOreo
9afce28a17
itsycal: rfc format; itsycal: add meta.changelog; ityscal: 0.15.3 -> 0.15.4 (#326327)
* itsycal: rfc format

* itsycal: add meta.changelog

* ityscal: 0.15.3 -> 0.15.4

Diff: https://github.com/sfsam/Itsycal/compare/0.15.3...0.15.4
2024-07-13 00:08:13 +05:30
h7x4
7384b9abdc
treewide: set meta.changelog 2024-07-07 15:20:06 +02:00
Weijia Wang
9547e46d03
Merge pull request #320861 from SuperSamus/itch-update
itch: 26.1.3 -> 26.1.9
2024-07-02 17:30:45 +02:00
Martino Fontana
1f767392dd itch: format 2024-07-01 14:04:33 +03:00
Martino Fontana
10afd36833 itch: 26.1.3 -> 26.1.9 2024-06-21 23:53:09 +02:00
Martino Fontana
65319e291b butler: remove 2024-06-21 23:53:06 +02:00
Weijia Wang
1e8a5c8be0
Merge pull request #315797 from amyipdev/itools
itools: init at 1.1
2024-06-20 10:25:28 +02:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Amy Parker
5781486667
itools: init at 1.1
This patch adds itools, a set of four programs (ipraytime,
idate, ical, ireminder) which provide command-line tools for
common Islamic calculations. It uses libitl (#314794), which
was merged to support this tool suite.

Signed-off-by: Amy Parker <amy@amyip.net>
2024-05-31 14:18:41 -07:00
DontEatOreo
574f0d2869
itsycal: init at 0.15.3 2024-03-27 16:55:52 +02:00