Commit Graph

12 Commits

Author SHA1 Message Date
Sarah Clark
15ea5e43f4 atac: migrate to new apple sdk structure 2024-11-06 20:05:20 -08:00
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
R. Ryantm
a916cae47a atac: 0.16.0 -> 0.18.0 2024-08-25 09:27:58 +00:00
R. Ryantm
6525c157c1 atac: 0.15.1 -> 0.16.0 2024-08-01 17:16:17 +00: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
Vinny Meller
b000cf4ce0
atac: fix build on darwin 2024-05-07 20:37:40 -04:00
R. Ryantm
96cc53351a atac: 0.14.0 -> 0.15.1 2024-05-06 00:02:23 +00:00
R. Ryantm
0b7b87de72 atac: 0.13.0 -> 0.14.0 2024-04-28 21:54:56 +00:00
R. Ryantm
e434272bd5 atac: 0.12.0 -> 0.13.0 2024-04-23 16:37:39 +00:00
Alex Mason
8fd173c977
atac: add SystemConfiguration framework as a dependency on Darwin 2024-04-23 11:09:15 +10:00
R. Ryantm
5430291c39 atac: 0.11.3 -> 0.12.0 2024-04-17 12:21:58 +00:00
Vinny Meller
2620385789
atac: init at 0.11.3 2024-04-16 11:35:42 -04:00