Commit Graph

113 Commits

Author SHA1 Message Date
R. Ryantm
73b20b1957 nwg-panel: 0.10.0 -> 0.10.1 2025-04-14 18:50:31 +00: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
bcebac57e8
nwg-hello: 0.3.0 -> 0.3.1 (#392972) 2025-04-06 16:36:47 +00:00
Wolfgang Walther
de2152b4d9
nwg-dock-hyprland: 0.4.3 -> 0.4.4 (#392941) 2025-04-06 16:36:33 +00:00
R. Ryantm
041fe59b26 nwg-panel: 0.9.62 -> 0.10.0 2025-04-05 07:28:01 +00: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](8616af08d9/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
R. Ryantm
3cc9dc7af7 nwg-clipman: 0.2.4 -> 0.2.5 2025-03-30 17:48:21 +00:00
Weijia Wang
c65567293d
nwg-displays: 0.3.22 -> 0.3.25 (#390907) 2025-03-29 18:08:31 +01:00
Weijia Wang
ba364a7b82
Add QF0xB to maintainers-list and adopt nwg-display (#391280) 2025-03-29 18:07:53 +01:00
Weijia Wang
b7cbe65a79
nwg-drawer: 0.6.3 -> 0.6.4 (#390970) 2025-03-29 17:52:38 +01:00
R. Ryantm
799b7568a4 nwg-displays: 0.3.22 -> 0.3.25 2025-03-29 15:28:33 +00:00
R. Ryantm
30e5fa6a99 nwg-hello: 0.3.0 -> 0.3.1 2025-03-25 05:33:49 +00:00
R. Ryantm
8f6b977bb1 nwg-dock-hyprland: 0.4.3 -> 0.4.4 2025-03-25 01:51:48 +00:00
Weijia Wang
7ab72cbf90
nwjs-ffmpeg-prebuilt: 0.96.0 -> 0.97.0 (#389167) 2025-03-23 20:00:21 +01:00
Quirin Brändli
4723b6a7d0
nwg-displays: adopt package 2025-03-22 01:52:01 +01:00
R. Ryantm
0e769da515 nwg-look: 1.0.3 -> 1.0.4 2025-03-20 17:13:47 +00:00
R. Ryantm
47d812ace0 nwg-drawer: 0.6.3 -> 0.6.4 2025-03-18 14:07:03 +00:00
R. Ryantm
5639710c2e nwjs-ffmpeg-prebuilt: 0.96.0 -> 0.97.0 2025-03-12 08:34:25 +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
R. Ryantm
8e1eff5c7b nwg-look: 1.0.2 -> 1.0.3 2025-03-09 01:49:15 +00:00
R. Ryantm
8837ec052e nwjs-ffmpeg-prebuilt: 0.94.1 -> 0.96.0 2025-02-20 16:03:45 +00:00
Nick Cao
66e7dd2c38
nwg-displays: update to python3Packages (#380573) 2025-02-09 10:05:11 -05:00
Wolfgang Walther
c4d4feb3cb
nwg-drawer: 0.5.2 -> 0.6.3 (#375738) 2025-02-09 14:13:27 +01:00
arminius-smh
f8d2621893
nwg-displays: update to python3Packages 2025-02-09 10:08:50 +01:00
R. Ryantm
6cd98eae0d nwg-drawer: 0.5.2 -> 0.6.3 2025-02-02 18:57:47 +00:00
R. Ryantm
7cb541ddbb nwg-panel: 0.9.61 -> 0.9.62 2025-02-01 20:58:32 +00:00
Nick Cao
5529a864e1
nwg-dock: 0.4.2 -> 0.4.3 (#376010) 2025-01-24 15:21:34 -05:00
R. RyanTM
933f4a1b77
nwg-dock-hyprland: 0.4.2 -> 0.4.3 (#376130) 2025-01-23 20:02:01 +05:30
R. Ryantm
0f6d01d9c9 nwg-dock: 0.4.2 -> 0.4.3 2025-01-23 04:54:22 +00:00
OTABI Tomoya
188c6efc66
nwg-look: 0.2.7 -> 1.0.2 (#374430) 2025-01-23 11:05:58 +09:00
natsukium
4d4d459a92
nwg-look: 1.0.0 -> 1.0.2
Diff: https://github.com/nwg-piotr/nwg-look/compare/v1.0.0...v1.0.2
2025-01-23 09:45:14 +09:00
R. Ryantm
f22644ec04
nwg-look: 0.2.7 -> 1.0.0 2025-01-23 09:43:56 +09:00
R. Ryantm
7d0cbf1b6f nwg-panel: 0.9.59 -> 0.9.61 2025-01-20 02:46:31 +00:00
nixpkgs-merge-bot[bot]
d657f4dbcd
nwjs-ffmpeg-prebuilt: 0.94.0 -> 0.94.1 (#371812)
Co-authored-by: MikaelFangel <MikaelFangel@users.noreply.github.com>
2025-01-15 09:30:44 +00:00
Paul Meyer
73d117398a
nwg-dock-hyprland: fix version (#372364) 2025-01-12 16:43:21 +01:00
R. Ryantm
4bb76871e5 nwg-menu: 0.1.6 -> 0.1.7 2025-01-11 04:14:08 +00:00
nixpkgs-merge-bot[bot]
eef2fac8b6
nwipe: 0.37 -> 0.38 (#372268)
Co-authored-by: vifino <vifino@users.noreply.github.com>
2025-01-09 22:56:29 +00:00
R. Ryantm
5d7f4bb6eb nwg-dock: 0.4.1 -> 0.4.2 2025-01-09 13:52:12 +00:00
arminius-smh
749be92f19
nwg-dock-hyprland: fix version 2025-01-09 13:56:32 +01:00
R. Ryantm
237942c46e nwipe: 0.37 -> 0.38 2025-01-09 01:56:09 +00:00
R. Ryantm
efdf4a8670 nwg-panel: 0.9.58 -> 0.9.59 2025-01-07 18:22:29 +00:00
R. Ryantm
0e8ed1430e nwjs-ffmpeg-prebuilt: 0.94.0 -> 0.94.1 2025-01-07 13:47:44 +00:00
arminius-smh
e7496e6b98
nwg-dock-hyprland: 0.4.0 -> 0.4.2 2025-01-04 12:33:14 +01:00
Peder Bergebakken Sundt
0cd04d3036 treewide: migrate fetchgit rev = "refs/tags/..." to tag 2025-01-04 00:19:17 +01:00
Austin Horstman
7ea3ed48b0
nwg-dock-hyprland: 0.3.3 -> 0.4.0 2024-12-29 17:32:05 -06:00
Ludovico Piero
26eb620e8c
nwg-panel: 0.9.53 -> 0.9.58
Signed-off-by: Ludovico Piero <lewdovico@gnuweeb.org>
2024-12-26 02:53:10 +09:00
Yueh-Shun Li
905dc8d978 treewide: specify CGO_ENABLED with env.CGO_ENABLED
Programmatically prefixing "CGO_ENABLED =" and "CGO_ENABLED=0;" with
"env.", but excluding the files
* pkgs/build-support/go/module.nix (buildGoModule implementation)
* pkgs/development/compilers/go/* (the Go compiler)
* pkgs/build-support/docker/tarsum.nix (not using buildGoModule)
2024-12-18 23:19:56 +08:00
Wolfgang Walther
449be04589
nwg-hello: 0.2.4 -> 0.3.0 (#362927) 2024-12-12 20:34:37 +01:00
Wolfgang Walther
8bad096a16
nwjs-ffmpeg-prebuilt: 0.93.0 -> 0.94.0 (#362798) 2024-12-12 20:29:52 +01:00