Commit Graph

13 Commits

Author SHA1 Message Date
Theodore Ni
0fd590bab8
coldsnap: use new Darwin SDK pattern 2024-11-11 00:08:43 -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
300c7e6cc3 coldsnap: 0.6.1 -> 0.6.2 2024-08-02 13:05:03 +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
R. Ryantm
7fae31650d coldsnap: 0.6.0 -> 0.6.1 2024-03-16 00:47:43 +00:00
h7x4
8121f3559a
treewide: add mainProgram 2024-02-11 03:19:15 +01:00
R. Ryantm
5e04073760 coldsnap: 0.5.1 -> 0.6.0 2023-08-29 19:29:13 +00:00
iliana etaoin
453b11ce4f coldsnap: correct license metadata
https://github.com/awslabs/coldsnap/blob/v0.5.1/LICENSE
2023-06-28 02:03:12 +00:00
R. Ryantm
e8e018946c coldsnap: 0.5.0 -> 0.5.1 2023-04-18 13:35:45 +00:00
R. Ryantm
c79b98dd40 coldsnap: 0.4.3 -> 0.5.0 2023-03-13 10:10:17 -07:00
R. Ryantm
937da5b85d coldsnap: 0.4.2 -> 0.4.3 2023-03-04 20:24:23 -08:00
Linus Heckemann
ac70b1c269 coldsnap: maintained by Determinate Systems 2022-10-24 08:11:50 -07:00
Ana Hobden
2499446e9e coldsnap: init at 0.4.2 2022-10-20 08:24:00 -07:00