difftreelog
ci package everything for darwin cross
in: master
3 files changed
flake.lockdiffbeforeafterboth11 packageslockfile v7
Might be heavy and slow!
fenix
831116egithub.com/CertainLach/fenix↘ 2↖ 1flake-parts
0678d89github.com/hercules-ci/flake-parts↘ 1↖ 2go-jsonnet
567b61agithub.com/google/go-jsonnet↘ 0↖ 1sourcegithub:google/go-jsonnetchecksumsha256-O7b26aobvs1gHsUNM2RZ/WnIMpFJOa/XbupttTMJ8LA=used byhercules-ci-effects
e2456eegithub.com/hercules-ci/hercules-ci-effects↘ 2↖ 1nixpkgs
5d0f6begithub.com/nixos/nixpkgs↘ 0↖ 5sourcegithub:nixos/nixpkgs/release-25.11rust-analyzer
9767050github.com/rust-lang/rust-analyzer↘ 0↖ 1sourcegithub:rust-lang/rust-analyzer/nightlychecksumsha256-jSw1C5MuyySiCpPgjdR+H0wPR3AgPRuylLunw+yd7A0=used bytreefmt-nix
790751fgithub.com/numtide/treefmt-nix↘ 1↖ 1
11 packageslockfile v7
Might be heavy and slow!
fenix
831116egithub.com/CertainLach/fenix↘ 2↖ 1flake-parts
0678d89github.com/hercules-ci/flake-parts↘ 1↖ 2go-jsonnet
567b61agithub.com/google/go-jsonnet↘ 0↖ 1sourcegithub:google/go-jsonnetchecksumsha256-O7b26aobvs1gHsUNM2RZ/WnIMpFJOa/XbupttTMJ8LA=used byhercules-ci-effects
e2456eegithub.com/hercules-ci/hercules-ci-effects↘ 2↖ 1nixpkgs
aa279bbgithub.com/nixos/nixpkgs↘ 0↖ 5sourcegithub:nixos/nixpkgs/masterrust-analyzer
9767050github.com/rust-lang/rust-analyzer↘ 0↖ 1sourcegithub:rust-lang/rust-analyzer/nightlychecksumsha256-jSw1C5MuyySiCpPgjdR+H0wPR3AgPRuylLunw+yd7A0=used bytreefmt-nix
790751fgithub.com/numtide/treefmt-nix↘ 1↖ 1
flake.nixdiffbeforeafterboth--- a/flake.nix
+++ b/flake.nix
@@ -1,7 +1,7 @@
{
description = "Jrsonnet";
inputs = {
- nixpkgs.url = "github:nixos/nixpkgs/release-25.11";
+ nixpkgs.url = "github:nixos/nixpkgs/master";
fenix = {
url = "github:CertainLach/fenix/fix/libatomic";
inputs.nixpkgs.follows = "nixpkgs";
@@ -240,6 +240,8 @@
jrsonnet-darwin = pkgs.callPackage ./nix/jrsonnet-cross-darwin.nix {
craneLib = craneLibCross;
targetTriple = "${targetArch}-apple-darwin";
+ # https://github.com/rust-cross/cargo-zigbuild/issues/433
+ zig = pkgs.zig_0_15;
};
jrsonnet-experimental-darwin = jrsonnet-darwin.override {
withExperimentalFeatures = true;
nix/jrsonnet-cross-darwin.nixdiffbeforeafterboth--- a/nix/jrsonnet-cross-darwin.nix
+++ b/nix/jrsonnet-cross-darwin.nix
@@ -43,7 +43,11 @@
doNotPostBuildInstallCargoBinaries = true;
installPhaseCommand = ''
- mkdir -p $out/bin
+ mkdir -p $out/bin $out/lib
cp target/${targetTriple}/release/jrsonnet $out/bin/jrsonnet
+ cp target/${targetTriple}/release/jrsonnet-fmt $out/bin/jrsonnet-fmt
+ cp target/${targetTriple}/release/jrb $out/bin/jrb
+ cp target/${targetTriple}/release/libjsonnet.dylib $out/lib/libjsonnet.dylib
+ cp target/${targetTriple}/release/libjsonnet.a $out/lib/libjsonnet.a
'';
}