Commit Graph

99 Commits

Author SHA1 Message Date
2kybe3
7747e77a6f treewide: follow some GitHub redirects for fetchFromGitHub
generated using https://git.kybe.xyz/2kybe3/nixpkgs-github-redirect

continuation of: #539298
2026-08-01 21:25:09 +02:00
Acid Bong
8659931ac0 redshift: adopt by acidbong 2026-06-08 19:21:50 +03:00
quantenzitrone
e5ff6c385d various: rename references from libXxf86vm to libxxf86vm
this shouldn't create any rebuilds
2026-02-06 00:29:28 +01:00
Felix Bühler
cda22db97c treewide: use pname and version (#460481) 2025-12-14 15:37:21 +00: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
Felix Buehler
2722f50026 treewide: use pname and version 2025-11-23 20:17:11 +01:00
Aliaksandr
80f12557f5 treewide: replace "yes" else "no" usages to lib.boolToYesNo 2025-10-21 16:04:34 +03:00
Wolfgang Walther
91a8fee3aa treewide: remove redundant parentheses
Auto-fixed by nixf-diagnose.
2025-10-05 10:52:03 +02:00
Wolfgang Walther
c283f32d29 treewide: remove unused with
Auto-fixed by nixf-diagnose.
2025-10-05 10:50:41 +02:00
Guy Chronister
33756686bc various: fix superflous pname values and interpolation 2025-09-24 12:07:46 -05:00
Wolfgang Walther
5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Weijia Wang
6905b9d80a redshift: drop autotools patch 2025-07-17 17:56:56 +02:00
John Titor
766ad54fde treewide: remove primeos from maintainers
Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
2025-07-06 00:00:32 +05:30
K900
6a872ad7a9 Merge remote-tracking branch 'origin/staging-next' into staging 2025-04-23 09:43:14 +03: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
Benedikt Ritter
80c81eaba5 gammastep: 2.0.9 -> 2.0.11 2025-04-01 09:43:02 +02: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
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
éclairevoyant
49f7e34d6e maintainers: remove eclairevoyant 2024-09-10 15:02:41 -04:00
Aleksana
013cfc8060 redshift: Fix missing "vidmode" support (#322352) 2024-09-04 13:25:01 +08:00
Jack Wilsdon
61efff1e82 gammastep: add missing wayland-scanner dependency 2024-09-01 12:26:28 +01: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
Anderson Torres
539575ab2b treewide: remove yana from meta.maintainers [orphans] 2024-07-22 16:22:39 -03:00
aleksana
1a89942243 treewide: sha256 -> hash attribute for gitlab.com fetchers 2024-07-13 22:28:37 +08:00
Vladimir Panteleev
aca603a8e4 redshift: Fix missing "vidmode" support
Fixes "-m vidmode".
2024-06-25 09:27:57 +00:00
Jan Tojnar
eb04659fc2 treewide: wrapGAppsHook → wrapGAppsHook3
This was achieved using the following command:

    sd 'wrapGAppsHook\b' wrapGAppsHook3 (rg -l 'wrapGAppsHook\b')

And then manually reverted the following changes:

- alias in top-level.nix
- function name in wrap-gapps-hook.sh
- comment in postFixup of at-spi2-core
- comment in gtk4
- comment in preFixup of 1password-gui/linux.nix
- comment in postFixup of qgis/unwrapped-ltr.nix and qgis/unwrapped.nix
- comment in postFixup of telegram-desktop
- comment in postFixup of fwupd
- buildCommand of mongodb-compass
- postFixup of xflux-gui
- comment in a patch in kdePackages.kde-gtk-config and plasma5Packages.kde-gtk-config
- description of programs.sway.wrapperFeatures.gtk NixOS option (manual rebuild)
2024-04-27 02:23:22 +02:00
éclairevoyant
0aed5c3b54 {redshift,gammastep}: fix build with strictDeps = true; 2024-01-13 06:58:12 -05:00
éclairevoyant
6a1aee0690 gammastep: add eclairevoyant to maintainers 2023-11-02 12:38:14 -04:00
éclairevoyant
5fa84309f5 gammastep: set meta.mainProgram 2023-11-02 12:38:14 -04:00
éclairevoyant
31806129f6 redshift: set meta.mainProgram 2023-11-02 12:38:09 -04:00
éclairevoyant
e6eac90f89 gammastep: fix systemd unit directory 2023-11-02 12:36:48 -04:00
Robin Gloster
e5d552f5b9 treewide: update globin's maintainership 2023-10-24 13:09:45 +02:00
Artturin
9999bf7a21 treewide: gobject-introspection from buildInputs to nativeBuildInputs
gobject-introspection should be in nativeBuildInputs for cross to work
properly (so propagations and hook work properly)
2023-06-28 22:33:40 +03:00
Daniel Nagy
fafbbb3c08 gammastep: 2.0.8 -> 2.0.9 2022-11-19 18:20:33 +01:00
Michael Weiss
31721bef6a gammastep: 2.0.7 -> 2.0.8 2022-01-06 15:47:34 +01:00
Artturi
5d172c65b4 Merge pull request #152137 from Artturin/redgam
{redshift,gammastep}: do not double wrap & redshift-wlr: remove
2022-01-01 08:05:08 +02:00
Yana Timoshenko
719567e91f maintainers: update personal details 2021-12-31 21:48:55 +03:00
Artturin
c1615bbd41 redshift-wlr: remove
deprecated by gammastep
https://github.com/jonls/redshift/pull/663#issuecomment-862058688
2021-12-25 22:54:10 +02:00
Artturin
c77ee40389 {redshift,gammastep}: do not double wrap
the app id will be wrong if double wrapped
2021-12-25 22:42:03 +02:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Michael Weiss
56c843946f gammastep: 2.0.6 -> 2.0.7 2021-01-15 14:17:42 +01:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Timothy DeHerrera
7af5eebfcd redshift: libappindicator is linux only 2021-01-02 23:34:34 -07:00
Michael Weiss
50a44c44c4 gammastep: 2.0.5 -> 2.0.6
Switch from libappindicator to the newer libayatana-appindicator and
enable the optional systemd user unit and AppArmor support.
2020-12-14 16:30:28 +01:00
Michael Weiss
4180533bbf gammastep: 2.0.2 -> 2.0.5 2020-11-16 19:28:05 +01:00
Michael Weiss
60f27064aa gammastep: 2.0.1 -> 2.0.2 (#97290) 2020-09-06 23:20:05 +02:00
Michael Weiss
79415b0bf6 gammastep: init at 2.0.1
Note: Since Gammastep is a fork of Redshift the mkRedshift will be
reused as long as they don't diverge too far.
Also: Gammastep should eventually replace redshift-wlr.
2020-08-06 11:58:26 +02:00