Commit Graph

15 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
Nikolay Korotkiy
91b9f1c8e4
agate: 3.3.8 → 3.3.9 2024-09-15 16:23:09 +04:00
lassulus
fa666a7ab9
make age-plugin-fido2-hmac work on darwin (#339299) 2024-09-05 22:06:12 +01:00
Ólafur Bjarki Bogason
8c507882d3 make age-plugin-fido2-hmac work on darwin 2024-09-03 18:59:36 +01:00
Jan Tojnar
b4c59a979a gnome-bluetooth{,_1_0}: Move to by-name 2024-09-01 14:16:31 +02:00
Nikolay Korotkiy
4a00656438
agate: 3.3.7 → 3.3.8 2024-07-26 23:49:37 +04:00
Nikolay Korotkiy
ee732eb25c
agate: migrate to by-name 2024-07-26 23:47:27 +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
Aleksana
57c78dc471
Merge pull request #312264 from MatthewCroughan/mc/age-plugin-fido2-hmac
age-plugin-fido2-hmac: init at 0.2.3
2024-05-19 14:54:33 +08:00
matthewcroughan
daa72d3e49 age-plugin-fido2-hmac: init at 0.2.3 2024-05-17 19:48:26 +01:00
John Titor
dd042ccaae
ags: format with nixfmt-rfc-style 2024-05-08 22:45:51 +05:30
John Titor
fd152d9f30
ags: add johnrtitor as maintainer 2024-05-08 22:45:21 +05:30
John Titor
9ab0b195d1
ags: 1.8.0 -> 1.8.2
add update script
2024-05-08 22:45:20 +05:30
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
Gabriel Arazas
e494174e18
ags: init at 1.8.0 2024-03-06 18:16:39 +08:00