Commit Graph

33 Commits

Author SHA1 Message Date
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
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
6dba240f79 treewide: remove dtzWill as maintainer [orphans]
Since theey is not active in a long span of time.

All the packages in this commit are now orphan.
2024-07-17 13:52:45 -03: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
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
aleksana
2a1cd0b439 treewide: remove gst-plugins-good missing libsoup_3 workaround
As the issue https://github.com/NixOS/nixpkgs/issues/271960 is fixed by https://github.com/NixOS/nixpkgs/pull/276408
2024-03-08 22:54:25 +08:00
annalee
9771113f7c
radiotray-ng: fix gcc13 errors with upstream patch 2024-01-13 09:56:48 +00:00
annalee
e286d7e6e3
radiotray-ng: add libsoup_3 and glib-networking; fix runtime
gstreamer libgstsoup plugin dlopens libsoup_3 and requires
glib-networking to work. This change adds libsoup_3 and LD_LIBRARY_PATH
so the dlopen can locate libsoup_3.
2023-12-07 04:08:46 +00:00
Weijia Wang
bc26a2789d radiotray-ng: migrate to wxGTK32 2023-03-15 17:26:49 +02:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Weijia Wang
8d94a173cf radiotray-ng: restrict platforms 2022-10-28 17:08:47 +02:00
R. RyanTM
ae5219a941 radiotray-ng: 0.2.7 -> 0.2.8 2021-08-23 02:06:14 +00:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +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
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Will Dietz
86eedaf1ca
radiotray-ng: python3 2019-10-28 01:49:08 -05:00
Will Dietz
0be3118f7e
radiotray-ng: 0.2.6 -> 0.2.7
https://github.com/ebruck/radiotray-ng/releases/tag/v0.2.7
2019-10-28 01:45:01 -05:00
Will Dietz
c763b8db06 radiotray-ng: 0.2.5 -> 0.2.6 2019-07-11 10:11:43 +02:00
worldofpeace
7abeda982a gnome3.gsettings-desktop-schemas -> gsettings-desktop-schemas
gnome3.pomodoro is left out because I don't want to create a conflict.
2019-04-17 13:39:23 -04:00
Will Dietz
8fcb8b5e3a radiotray-ng: disable tests on aarch64, not sure why but failure 2019-03-17 01:03:32 -05:00
Will Dietz
c397b016f5 radiotray-ng: 0.2.4 -> 0.2.5
patch to use provided gtest/gmock, fix+enable tests
2019-03-16 12:40:50 -05:00
Matthew Bauer
2c47a4229f treewide: remove ctest usages
These are already in the generated makefiles!
2018-11-18 19:31:02 -06:00
Will Dietz
f3de52d25c radiotray-ng: 0.2.3 -> 0.2.4 (#48670) 2018-10-18 23:11:58 +02:00
Jan Malakhovski
1cb596748f radiotray-ng: use checkInputs, but disable tests, also cleanup 2018-08-11 09:35:17 +00:00
Will Dietz
1cb41052af radiotray-ng: 0.2.2 -> 0.2.3 2018-07-14 22:53:38 -05:00
Will Dietz
2236f418f5 radiotray-ng: disable tests, they now want to download unconditionally 2018-04-25 08:38:36 -05:00
Will Dietz
4f16b36fed radiotray-ng: 0.2.1 -> 0.2.2
https://github.com/ebruck/radiotray-ng/releases/tag/v0.2.2
2018-04-25 08:32:49 -05:00
Jan Tojnar
a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Will Dietz
af2fc069ed radiotray-ng: 0.2.0 -> 0.2.1 2018-02-20 07:52:07 -06:00
Will Dietz
09fbc87cde radiotray-ng: 0.1.7 -> 0.2.0
Now with bookmark editor.
2018-01-06 18:19:16 -06:00
Will Dietz
b82fbeef68 radiotray-ng: init at 0.1.7
Use patch from upstream to fix menu separators.

Tested execution using
'nix-shell --pure -p radiotray-ng'
and added dependencies until that didn't crash.

Seems to work outside as well,
but hopefully fixes problems for others.
2017-10-06 15:07:11 -05:00