Commit Graph

7 Commits

Author SHA1 Message Date
Sergey Yakovlev
7c0aa0521d
kcl: 0.9.8 -> 0.10.0 2024-10-01 02:37:16 +03: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
cd7af14c67 kcl: 0.9.7 -> 0.9.8 2024-08-16 06:50:21 +00:00
R. Ryantm
61ace12d66 kcl: 0.9.3 -> 0.9.7 2024-08-09 09:33:10 +00:00
Reno Dakota
b3d419c3e9
kcl,kclvm,kclvm_cli: remove darwin.cctools
darwin.cctools is now just cctools so referencing it in staging and
staging-next creates eval errors. However, given that cctools is already
part of the darwin stdenv it is not necessary to include the package
directly.
2024-07-26 08:28:21 +00:00
Yvan da Silva
cab3d18c17 kcl: 0.8.9 -> 0.9.3
Also adds support to macos aarch64 platform
2024-07-25 17:39:33 +02:00
Sergey Yakovlev
e92c574d1e
kcl: rename kcl-cli to kcl 2024-06-13 13:34:25 +03:00