Commit Graph

20 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
R. Ryantm
7164b8d0c2 ukmm: 0.13.0 -> 0.15.0 2024-08-30 06:14:47 +00:00
Kira Bruneau
f5801ee1be
Merge pull request #333109 from kira-bruneau/ukmm
ukmm: mark as broken on aarch64-linux
2024-08-13 11:24:05 -04:00
Kira Bruneau
fadba0028d ukmm: mark as broken on aarch64-linux 2024-08-07 18:22:50 -04:00
Kira Bruneau
a2afe6251e ukmm: 0.12.1 -> 0.13.0 2024-08-05 18:46:44 -04:00
Kira Bruneau
f88960c7b6 ukmm: fix running on x11
Also switches from using LD_LIBRARY_PATH to RUSTFLAGS to include
required runtime libraries.
2024-07-13 17:42:50 -04:00
Kira Bruneau
c0a7daff96 ukmm: 0.11.1 -> 0.12.1 2024-07-06 20:01:38 -04: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
Weijia Wang
23cbc3c2b3 Merge branch 'master' into staging-next 2024-04-30 13:24:52 +02:00
Kira Bruneau
94916c496f ukmm: 0.11.0 -> 0.11.1 2024-04-30 00:31:54 -04: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
R. Ryantm
587376d21f ukmm: 0.10.1 -> 0.11.0 2024-04-22 21:57:26 -04:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
lasers
70244066c3 ukmm: 0.10.0 -> 0.10.1 2023-06-28 02:13:31 -05:00
Kira Bruneau
575ef96842 ukmm: 0.8.2 -> 0.10.0 2023-05-24 13:22:37 -04:00
Kira Bruneau
5a30c3df23 ukmm: add updateScript 2023-05-24 13:22:36 -04:00
lasers
a7b0283b76 ukmm: 0.8.1 -> 0.8.2 2023-05-08 09:50:10 -05:00
lasers
5428081305 ukmm: 0.8.0 -> 0.8.1 2023-05-04 20:11:50 -05:00
lasers
279c6c6109 ukmm: 0.7.1 -> 0.8.0 2023-05-03 10:27:46 -05:00
lasers
be9649c12a ukmm: init at 0.7.1 2023-04-29 15:45:31 -04:00