Commit Graph

14 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
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
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
Andrei Volt
7367cbd4e4
firefox_decrypt: refactor makeWrapperArgs for macOS support (#283821)
* firefox_decrypt: refactor makeWrapperArgs for macOS support
2024-03-09 21:03:01 +01:00
Theodore Ni
6cb07752da
firefox_decrypt: add missing build dependencies 2023-08-11 22:35:16 -07:00
Nick Cao
40bed0a581
firefox_decrypt: make updateScript follow stable releases 2023-08-08 09:09:20 +08:00
R. Ryantm
6d8794342c firefox_decrypt: unstable-2023-07-06 -> 1.1.0 2023-07-28 11:27:24 +02:00
R. Ryantm
099ad1be50 firefox_decrypt: unstable-2023-05-14 -> unstable-2023-07-06 2023-07-10 17:01:32 +00:00
Nick Cao
a71ea891e8
firefox_decrypt: unstable-2022-12-21 -> unstable-2023-05-14 2023-06-17 09:43:50 +08:00
legendofmiracles
2d5bac2bf7
Merge pull request #207590 from r-ryantm/auto-update/firefox_decrypt
firefox_decrypt: unstable-2021-12-29 -> unstable-2022-12-21
2023-01-01 11:34:05 -05:00
figsoda
a211d94291 treewide: remove attrPath from nix-update-script calls
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
2022-12-26 12:39:21 -05:00
R. Ryantm
422674866c firefox_decrypt: unstable-2021-12-29 -> unstable-2022-12-21 2022-12-24 16:28:36 +00:00
schnusch
b1a2e9c9ac firefox_decrypt: replace update script with nix-update 2022-11-28 12:17:02 +01:00
schnusch
c0da379c1c firefox_decrypt: init at unstable-2021-12-29
add update script based on mpvScripts.sponsorblock's
2022-01-16 16:53:05 +01:00