Commit Graph

21 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
Luke Sandell
bff6a5da43 dump1090: enable SoapySDR support 2024-06-24 19:00:29 -05: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
Nikolay Korotkiy
8345efdaae
dump1090: fix build on darwin 2024-01-01 18:02:06 +04:00
R. Ryantm
eeae22cecc dump1090: 8.2 -> 9.0 2024-01-01 06:01:11 +00:00
Stanisław Pitucha
7ca5b50432 dump1090: mark working on darwin 2023-03-25 15:33:33 +11:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
R. Ryantm
582220fe8f dump1090: 7.1 -> 8.2 2022-12-16 14:22:22 +00:00
Rick van Schijndel
37c633f7ae treewide: pkgs/applications: mark broken for darwin 2022-05-29 10:56:04 +02:00
R. Ryantm
54f4139a1e dump1090: 6.1 -> 7.1 2022-02-12 21:12:58 -08:00
Nikolay Korotkiy
ec6e1b27f0
dump1090: 5.0 → 6.1 2021-10-28 11:01:22 +03:00
James Earl Douglas
6ca946ee90
Add recommended runHook pre/postInstall 2021-05-01 16:10:45 -07:00
James Earl Douglas
a64f36311a
dump1090: 4.0 -> 5.0 2021-05-01 14:58:36 -07:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08: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
R. RyanTM
2d9157262c dump1090: 3.8.1 -> 4.0 2020-11-13 09:20:29 +00:00
R. RyanTM
d001b9b24e dump1090: 3.8.0 -> 3.8.1 2020-05-28 20:36:54 +00:00
R. RyanTM
45763475d1 dump1090: 3.7.2 -> 3.8.0 2020-04-12 11:11:11 +00:00
Jan Tojnar
73e2823538
dump1090: fix build
It was using libusb-compat instead of libusb1, and the former no longer propagates the latter.
2020-04-04 09:23:19 +02:00
Daniël de Kok
9ab21b09bf dump1090: 2014-10-31 -> 3.7.1
The derivation uses an upstream for dump1090 that has not been updated
since 2014. FlightAware seems to have the most actively maintained
version of dump1090, so this change switches to FlightAware's
version, bringing 5 years of improvements.
2019-12-02 14:45:45 +01:00
Elis Hirwing
8ef5700958 dump1090: Move to radio 2019-02-18 22:35:16 -05:00