Commit Graph

13 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
Linus Heckemann
e5adf0b547 maintainers: drop lheckemann 2024-06-21 15:54:54 +02: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
teutat3s
dc4ec31c60
schleuder-cli: 0.1.0 -> 0.2.0
https://0xacab.org/schleuder/schleuder-cli/-/blob/schleuder-cli-0.2.0/CHANGELOG.md?ref_type=tags#020--2024-03-08
2024-05-30 18:16:06 +02:00
teutat3s
1689257223
schleuder: add net-smtp dependency to fix tests 2024-05-30 18:14:57 +02:00
Martin Weinelt
414c15a786
schleuder: mark broken on darwin
Various gems have failed to build since 2023-11, and it is unlikely that
we maintain schleuder on darwin.
2024-05-14 11:03:27 +02:00
figsoda
f97ce0a9a8 pkgs/tools/security: remove dead code
with the help of deadnix & nil
2023-07-12 14:35:00 -04:00
Martin Weinelt
b091bae60a
schleuder-cli: allow running on aarch64-linux 2022-06-30 10:30:09 +02:00
Martin Weinelt
81fe5f1b2f
schleuder: allow running on aarch64-linux 2022-06-30 10:29:46 +02:00
Martin Weinelt
93fb6d19ab
schleuder: 4.0.2 -> 4.0.3
https://0xacab.org/schleuder/schleuder/-/blob/schleuder-4.0.3/CHANGELOG.md#403-2022-04-12
2022-06-27 00:33:06 +02:00
Linus Heckemann
1dabedae3e nixos/schleuder: init module and accompanying test
Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
Co-Authored-By: Cole Helbling <cole.helbling@determinate.systems>
2022-06-24 15:30:16 -04:00
Martin Weinelt
41d5a21d6a schleuder-cli: init 0.1.0 2022-06-24 15:30:16 -04:00
Martin Weinelt
cf4ba94f42 schleuder: init at 0.4.2 2022-06-24 15:30:16 -04:00