Commit Graph

10 Commits

Author SHA1 Message Date
Peder Bergebakken Sundt
d11bc6af78 spade: 0.9.0 -> 0.10.0
Changelog: https://gitlab.com/spade-lang/spade/-/blob/v0.10.0/CHANGELOG.md
2024-09-25 01:11:00 +02: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
Becker A.
a7d066ea4b
spade: enable build on darwin (#335520) 2024-08-19 22:05:17 +02:00
Peder Bergebakken Sundt
c9196e150a spade: 0.8.0 -> 0.9.0
Changelog: https://gitlab.com/spade-lang/spade/-/blob/v0.9.0/CHANGELOG.md
2024-07-04 17:56:36 +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
Peder Bergebakken Sundt
bc708f0a9b spade: 0.7.0 -> 0.8.0
Changelog: https://gitlab.com/spade-lang/spade/-/blob/v0.8.0/CHANGELOG.md
2024-05-15 01:02:52 +02:00
Peder Bergebakken Sundt
db641c704f spade: add updateScript 2024-05-15 01:01:25 +02:00
Peder Bergebakken Sundt
1a9c168703 spade: 0.6.0 -> 0.7.0 2024-03-21 22:40:12 +01:00
Peder Bergebakken Sundt
2d3e5c5ead spade: 0.5.0 -> 0.6.0 2024-02-21 00:50:20 +01:00
Peder Bergebakken Sundt
917144a854 spade: init at 0.5.0 2023-11-30 18:35:09 +01:00