Commit Graph

18 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
Robert James Hernandez
519c037972 direwolf: remove fix-strlcpy-usage patch
As of direwolf 1.7, this patch is no longer required and has been fixed
upstream.
2023-10-31 05:18:52 +00:00
Matt Melling
7d7d9b8cf1
direwolf: 1.6 -> 1.7 2023-10-29 00:32:55 +01:00
Raymond Douglas
e80f82aa1e direwolf: add portaudio dependency and buildInput 2023-10-22 16:57:54 -03:00
github-actions[bot]
6b41a98c6c
Merge master into staging-next 2023-09-30 00:01:53 +00:00
Robert James Hernandez
d514277856 direwolf: add maintainer sarcasticadmin 2023-09-29 16:46:47 +00:00
Robert James Hernandez
d70fb0855e direwolf: set hamlib, gpsd, and extraScripts as optional
direwolf includes a set of extra scripts which showcase various
capabilities of the pkg. However, they depend on languages that are not
critical to building direwolf itself.
2023-09-29 16:46:47 +00:00
Robert James Hernandez
ba0d5f213b direwolf: nixpkgs-fmt 2023-09-29 16:38:35 +00:00
Maximilian Bosch
d00a220853
direwolf: fix build w/ glibc-2.38
Failing Hydra build: https://hydra.nixos.org/build/230546596
2023-09-24 15:10:49 +02:00
Astro
eaf6b64c7c direwolf: unbreak by bumping GPSD_API_MAJOR_VERSION patch to 14 2022-10-28 04:52:36 +02:00
Markus S. Wamser
c9d167f174 pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
Luke Sandell
d5a9d96982 direwolf: fix build 2021-10-02 18:53:14 -05:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Frederik Rietdijk
3d4695c41d direwolf: use python3 2021-03-25 12:17:45 +01:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
Hunter Jones
0d43151889 direwolf: 1.5 -> 1.6 2020-12-05 14:42:11 -06:00
Luke Sandell
eabbf3d88a direwolf 1.4 -> 1.5 2020-08-15 14:59:54 -05:00