kcl icon indicating copy to clipboard operation
kcl copied to clipboard

Support building package via nix on MacOS aarch64

Open YvanDaSilva opened this issue 1 year ago • 1 comments

Enhancement

Enable kcl to be built for package managers such as nix which use the protoc-bin-vendored for macos aarch64 platform.

A change is currently waiting to be merged here: https://github.com/stepancheg/rust-protoc-bin-vendored/pull/3

For now the output of the nix kcl package on that platform is:

       error: Package 'kcl-0.8.9' in /nix/store/4p0avw1s3vf27hspgqsrqs37gxk4i83i-source/pkgs/by-name/kc/kcl/package.nix:49 is not available on the requested hostPlatform:
         hostPlatform.config = "aarch64-apple-darwin"

nix package: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/kc/kcl/package.nix#L1

YvanDaSilva avatar Jul 02 '24 20:07 YvanDaSilva

Related Track Issue: https://github.com/kcl-lang/kcl/issues/1169 and Related PR: https://github.com/kcl-lang/kcl/pull/1463

Peefy avatar Jul 03 '24 03:07 Peefy

Closed by https://github.com/NixOS/nixpkgs/pull/327390

Peefy avatar Jul 19 '24 13:07 Peefy