Skip to content

Instantly share code, notes, and snippets.

@airhorns
Last active August 16, 2023 19:50
Show Gist options
  • Save airhorns/7b32d166b647863c58c0794f45ec2737 to your computer and use it in GitHub Desktop.
Save airhorns/7b32d166b647863c58c0794f45ec2737 to your computer and use it in GitHub Desktop.
rip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "--ld-path=/nix/store/cg869jlpzrh5xgc0hcll7risc5gsk611-mold-2.1.0/bin/mold"
> = note: clang-11: error: unsupported option '--ld-path=/nix/store/cg869jlpzrh5xgc0hcll7risc5gsk611-mold-2.1.0/bin/mold'
>
>
> error: could not compile `jsonpath_lib` (lib) due to previous error
> warning: build failed, waiting for other jobs to finish...
{ lib
, fetchFromGitHub
, fetchzip
, rustPlatform
, bootstrap_cmds
, DiskArbitration
, Foundation
, cmake
, libiconv
, lld_14
, openssl
, perl
, postgresql
, mold
, pkg-config
, llvmPackages_14
}:
# forked from https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/servers/sql/materialize/default.nix#L108
# updated to use more recent materialized version
let
stdenv = llvmPackages_14.stdenv;
fetchNpmPackage = {name, version, hash, js_prod_file, js_dev_file, ...} @ args:
let
package = fetchzip {
url = "https://registry.npmjs.org/${name}/-/${baseNameOf name}-${version}.tgz";
inherit hash;
};
static = "./src/materialized/src/http/static";
cssVendor = "./src/materialized/src/http/static/css/vendor";
jsProdVendor = "./src/materialized/src/http/static/js/vendor";
jsDevVendor = "./src/materialized/src/http/static-dev/js/vendor";
files = with args; [
{ src = js_prod_file; dst = "${jsProdVendor}/${name}.js"; }
{ src = js_dev_file; dst = "${jsDevVendor}/${name}.js"; }
] ++ lib.optional (args ? css_file) { src = css_file; dst = "${cssVendor}/${name}.css"; }
++ lib.optional (args ? extra_file) { src = extra_file.src; dst = "${static}/${extra_file.dst}"; };
in
lib.concatStringsSep "\n" (lib.forEach files ({src, dst}: ''
mkdir -p "${dirOf dst}"
cp "${package}/${src}" "${dst}"
''));
npmPackages = import ./npm_deps.nix;
in
rustPlatform.buildRustPackage rec {
pname = "materialize";
version = "0.65.1";
src = fetchFromGitHub {
owner = "MaterializeInc";
repo = pname;
rev = "v${version}";
hash = "sha256-DnwdymC4Cz2BiERPtvCRvT4a1OczNegaZJFsD14Vi8o=";
};
# env var needed by the build process
MZ_DEV_BUILD_SHA = "f8de47a6fa260ce9795f8a3064fbb6748e7e609d";
cargoHash = "";
cargoLock = {
lockFile = ./Cargo.lock;
allowBuiltinFetchGit = true;
};
# give rust bindgen a recent clang
nativeBuildInputs = [ cmake perl pkg-config rustPlatform.bindgenHook ]
# Provides the mig command used by the krb5-src build script
++ lib.optional stdenv.isDarwin bootstrap_cmds;
# Copied from https://github.com/MaterializeInc/materialize/blob/25c11bc76633e9456ebdac2c8f0197da9e76fd1b/misc/nix/shell.nix
RUSTFLAGS = "-Clinker=clang -Clink-arg=--ld-path=${mold}/bin/mold";
# Needed to get openssl-sys to use pkg-config.
OPENSSL_NO_VENDOR = 1;
buildInputs = [ openssl postgresql lld_14 ]
++ lib.optionals stdenv.isDarwin [ libiconv DiskArbitration Foundation ];
# Skip tests that use the network
doCheck = false;
checkFlags = [
"--exact"
"--skip test_client"
"--skip test_client_errors"
"--skip test_client_all_subjects"
"--skip test_client_subject_and_references"
"--skip test_no_block"
"--skip test_safe_mode"
"--skip test_tls"
];
postPatch = ''
${lib.concatStringsSep "\n" (map fetchNpmPackage npmPackages)}
'';
cargoBuildFlags = [ "--bin mz --bin environmentd" ];
meta = with lib; {
homepage = "https://materialize.com";
description = "A streaming SQL materialized view engine for real-time applications";
license = licenses.bsl11;
platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
maintainers = [ maintainers.petrosagg ];
};
}
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/kfk9zzfvxfy2h4x22dln744437xkzdip-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
Executing cargoSetupPostPatchHook
Validating consistency between /private/tmp/nix-build-materialize-0.65.1.drv-2/source/Cargo.lock and /private/tmp/nix-build-materialize-0.65.1.drv-2/cargo-vendor-dir/Cargo.lock
Finished cargoSetupPostPatchHook
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
@nix { "action": "setPhase", "phase": "buildPhase" }
building
Executing cargoBuildHook
++ env CC_x86_64-apple-darwin=/nix/store/21apr3mbmghnkd6zy2axxli2s36js3n8-clang-wrapper-11.1.0/bin/cc CXX_x86_64-apple-darwin=/nix/store/21apr3mbmghnkd6zy2axxli2s36js3n8-clang-wrapper-11.1.0/bin/c++ CC_x86_64-apple-darwin=/nix/store/21apr3mbmghnkd6zy2axxli2s36js3n8-clang-wrapper-11.1.0/bin/cc CXX_x86_64-apple-darwin=/nix/store/21apr3mbmghnkd6zy2axxli2s36js3n8-clang-wrapper-11.1.0/bin/c++ cargo build -j 10 --target x86_64-apple-darwin --frozen --release --bin mz --bin environmentd
 Compiling libc v0.2.142
 Compiling proc-macro2 v1.0.66
 Compiling quote v1.0.28
 Compiling unicode-ident v1.0.0
 Compiling serde v1.0.164
 Compiling autocfg v1.1.0
 Compiling syn v1.0.107
 Compiling memchr v2.5.0
 Compiling version_check v0.9.4
 Compiling cfg-if v1.0.0
 Compiling log v0.4.17
 Compiling parking_lot_core v0.9.4
 Compiling futures-core v0.3.28
 Compiling indexmap v1.9.1
 Compiling tokio v1.27.0
 Compiling io-lifetimes v1.0.10
 Compiling futures-task v0.3.28
 Compiling futures-channel v0.3.28
 Compiling rustix v0.37.15
 Compiling futures-util v0.3.28
 Compiling num-traits v0.2.15
 Compiling ahash v0.8.0
 Compiling core-foundation-sys v0.8.3
 Compiling once_cell v1.16.0
 Compiling serde_json v1.0.99
 Compiling typenum v1.15.0
 Compiling syn v2.0.18
 Compiling jobserver v0.1.21
 Compiling getrandom v0.2.7
 Compiling generic-array v0.14.4
 Compiling itoa v1.0.6
 Compiling cc v1.0.78
 Compiling lazy_static v1.4.0
 Compiling bitflags v1.3.2
 Compiling hashbrown v0.12.3
 Compiling httparse v1.8.0
 Compiling pin-project-lite v0.2.9
 Compiling errno v0.3.1
 Compiling scopeguard v1.1.0
 Compiling fastrand v1.8.0
 Compiling regex-syntax v0.6.28
 Compiling ryu v1.0.12
 Compiling time-core v0.1.0
 Compiling lock_api v0.4.6
 Compiling time-macros v0.2.6
 Compiling thiserror v1.0.40
 Compiling adler v1.0.2
 Compiling anyhow v1.0.66
 Compiling miniz_oxide v0.5.1
 Compiling rand_core v0.6.2
 Compiling backtrace v0.3.66
 Compiling tempfile v3.5.0
 Compiling num_cpus v1.15.0
 Compiling aho-corasick v0.7.20
 Compiling gimli v0.26.1
 Compiling native-tls v0.2.11
 Compiling object v0.29.0
 Compiling num-integer v0.1.44
 Compiling rustc-demangle v0.1.16
 Compiling regex v1.7.0
 Compiling ppv-lite86 v0.2.10
 Compiling futures-sink v0.3.28
 Compiling mio v0.8.5
 Compiling signal-hook-registry v1.4.1
 Compiling rand_chacha v0.3.0
 Compiling socket2 v0.4.9
 Compiling addr2line v0.17.0
 Compiling rand v0.8.5
 Compiling pin-utils v0.1.0
 Compiling futures-io v0.3.28
 Compiling slab v0.4.6
 Compiling fnv v1.0.7
 Compiling heck v0.4.0
 Compiling semver v1.0.16
 Compiling pkg-config v0.3.20
 Compiling allocator-api2 v0.2.16
 Compiling serde_derive v1.0.164
 Compiling tokio-macros v2.0.0
 Compiling futures-macro v0.3.28
 Compiling thiserror-impl v1.0.40
 Compiling hashbrown v0.14.0
 Compiling equivalent v1.0.1
 Compiling indexmap v2.0.0
 Compiling tracing-attributes v0.1.23
 Compiling pin-project-internal v1.0.12
 Compiling tracing-core v0.1.30
 Compiling crc32fast v1.3.2
 Compiling openssl-src v111.25.0+1.1.1t
 Compiling crossbeam-utils v0.8.7
 Compiling async-trait v0.1.68
 Compiling openssl-sys v0.9.90
 Compiling percent-encoding v2.2.0
 Compiling tracing v0.1.37
 Compiling tinyvec_macros v0.1.0
 Compiling matches v0.1.9
 Compiling tinyvec v1.6.0
 Compiling unicode-bidi v0.3.4
 Compiling memoffset v0.7.1
 Compiling tower-service v0.3.1
 Compiling subtle v2.4.1
 Compiling uncased v0.9.7
 Compiling form_urlencoded v1.1.0
 Compiling unicode-normalization v0.1.21
 Compiling try-lock v0.2.2
 Compiling httpdate v1.0.2
 Compiling block-buffer v0.10.0
 Compiling crypto-common v0.1.3
 Compiling want v0.3.0
 Compiling digest v0.10.6
 Compiling security-framework-sys v2.6.1
 Compiling core-foundation v0.9.3
 Compiling crossbeam-epoch v0.9.13
 Compiling byteorder v1.4.3
 Compiling cpufeatures v0.2.1
 Compiling security-framework v2.7.0
 Compiling idna v0.3.0
 Compiling quickcheck v1.0.3
 Compiling rustversion v1.0.9
 Compiling tower-layer v0.3.2
 Compiling openssl v0.10.55
 Compiling outref v0.5.1
 Compiling vsimd v0.8.0
 Compiling base64-simd v0.8.0
 Compiling pin-project v1.0.12
 Compiling openssl-macros v0.1.0
 Compiling base64 v0.21.0
 Compiling tokio-openssl v0.6.3
 Compiling bytes v1.4.0
 Compiling either v1.8.0
 Compiling smallvec v1.10.0
 Compiling itertools v0.10.5
 Compiling http v0.2.9
 Compiling rustc_version v0.4.0
 Compiling parking_lot v0.12.1
 Compiling http-body v0.4.5
 Compiling aws-types v0.55.1
 Compiling prost-derive v0.11.9
 Compiling time v0.3.17
 Compiling url v2.3.1
 Compiling aws-smithy-types v0.55.2
 Compiling mime v0.3.17
 Compiling prost v0.11.9
 Compiling strsim v0.10.0
 Compiling k8s-openapi v0.19.0
 Compiling schemars v0.8.11
 Compiling prost-types v0.11.9
 Compiling libz-sys v1.1.8
 Compiling tokio-util v0.7.4
 Compiling serde_derive_internals v0.26.0
 Compiling rayon-core v1.9.1
 Compiling h2 v0.3.18
 Compiling zeroize v1.5.7
 Compiling tower v0.4.13
 Compiling schemars_derive v0.8.11
 Compiling ident_case v1.0.1
 Compiling siphasher v0.3.3
 Compiling hyper-openssl v0.9.2
 Compiling phf_shared v0.11.1
 Compiling darling_core v0.14.1
 Compiling aws-smithy-eventstream v0.55.2
 Compiling bytes-utils v0.1.1
 Compiling axum-core v0.3.4
 Compiling iana-time-zone v0.1.47
 Compiling zstd-sys v2.0.1+zstd.1.5.2
 Compiling sha1_smol v1.0.0
 Compiling uuid v1.2.2
 Compiling hyper v0.14.25
 Compiling chrono v0.4.25
 Compiling tokio-stream v0.1.11
 Compiling darling_macro v0.14.1
 Compiling tokio-native-tls v0.3.0
 Compiling ring v0.16.20
 Compiling num-bigint v0.4.3
 Compiling proc-macro-error-attr v1.0.4
 Compiling winnow v0.5.4
 Compiling toml_datetime v0.6.3
 Compiling encoding_rs v0.8.26
 Compiling darling v0.14.1
 Compiling aws-smithy-async v0.55.2
 Compiling axum v0.6.20
 Compiling ordered-float v3.4.0
 Compiling sha2 v0.10.6
 Compiling sha1 v0.10.5
 Compiling aws-smithy-http v0.55.2
 Compiling hyper-tls v0.5.0
 Compiling hmac v0.12.1
 Compiling toml_edit v0.19.14
 Compiling rayon v1.5.1
 Compiling proc-macro-error v1.0.4
 Compiling termcolor v1.1.3
 Compiling foreign-types-shared v0.1.1
 Compiling foreign-types v0.3.2
 Compiling aws-smithy-http-tower v0.55.2
 Compiling proc-macro-crate v1.3.1
 Compiling serde-value v0.7.0 (https://github.com/MaterializeInc/serde-value.git#62c7e5f8)
 Compiling phf v0.11.1
 Compiling md-5 v0.10.5
 Compiling decnumber-sys v0.1.5
 Compiling cmake v0.1.48
 Compiling data-encoding v2.3.2
 Compiling utf-8 v0.7.6
 Compiling unicode-width v0.1.10
 Compiling tungstenite v0.20.0
 Compiling rdkafka-sys v4.3.0+1.9.2 (https://github.com/MaterializeInc/rust-rdkafka.git#8ea07c4d)
 Compiling aws-smithy-client v0.55.2
 Compiling num_enum_derive v0.5.7
 Compiling aws-credential-types v0.55.1
 Compiling treediff v4.0.2
 Compiling regex-automata v0.1.9
 Compiling futures-executor v0.3.25
 Compiling dyn-clone v1.0.9
 Compiling linked-hash-map v0.5.4
 Compiling linked_hash_set v0.1.4
 Compiling futures v0.3.25
 Compiling json-patch v1.0.0
 Compiling clap_derive v3.2.24
 Compiling tokio-tungstenite v0.20.0
 Compiling tokio-io-timeout v1.1.1
 Compiling stringprep v0.1.2
 Compiling derivative v2.2.0
 Compiling minimal-lexical v0.2.1
 Compiling unsafe-libyaml v0.2.9
 Compiling http-range-header v0.3.0
 Compiling fallible-iterator v0.2.0
 Compiling bitflags v2.3.3
 Compiling tower-http v0.4.3
 Compiling postgres-protocol v0.6.5 (https://github.com/MaterializeInc/rust-postgres#7bdd17b5)
 Compiling serde_yaml v0.9.25
 Compiling nom v7.1.2
 Compiling hyper-timeout v0.4.1
 Compiling crossbeam-deque v0.8.2
 Compiling crossbeam-channel v0.5.8
 Compiling secrecy v0.8.0
 Compiling jsonpath_lib v0.3.0
 Compiling pem v2.0.1
 Compiling terminal_size v0.2.6
 Compiling instant v0.1.12
 Compiling base64 v0.13.1
 Compiling home v0.5.5
 Compiling plotters-backend v0.3.2
 Compiling half v1.6.0
 Compiling os_str_bytes v6.0.0
 Compiling ciborium-io v0.2.0
 Compiling hex v0.4.3
 Compiling ciborium-ll v0.2.0
 Compiling clap_lex v0.2.2
 Compiling plotters-svg v0.3.1
 Compiling aws-sigv4 v0.55.1
 Compiling backoff v0.4.0
 Compiling textwrap v0.16.0
 Compiling postgres-types v0.2.5 (https://github.com/MaterializeInc/rust-postgres#7bdd17b5)
 Compiling bstr v0.2.14
 Compiling kube-derive v0.85.0
 Compiling headers-core v0.2.0
 Compiling serde_urlencoded v0.7.1
 Compiling atty v0.2.14
 Compiling socket2 v0.5.3
 Compiling urlencoding v2.1.2
 Compiling static_assertions v1.1.0
 Compiling xmlparser v0.13.5
 Compiling overload v0.1.1
 Compiling cast v0.3.0
 Compiling same-file v1.0.4
 Compiling walkdir v2.3.2
 Compiling criterion-plot v0.5.0
 Compiling nu-ansi-term v0.46.0
 Compiling aws-smithy-xml v0.55.2
 Compiling aws-smithy-query v0.55.2
 Compiling tokio-postgres v0.7.8 (https://github.com/MaterializeInc/rust-postgres#7bdd17b5)
 Compiling clap v3.2.24
 Compiling headers v0.3.8
 Compiling aws-sig-auth v0.55.1
 Compiling ciborium v0.2.0
 Compiling plotters v0.3.1
 Compiling aws-http v0.55.1
 Compiling aws-endpoint v0.55.1
 Compiling num_enum v0.5.7
 Compiling matchers v0.1.0
 Compiling aws-smithy-json v0.55.2
 Compiling tinytemplate v1.1.0
 Compiling tracing-serde v0.1.3
 Compiling serde_path_to_error v0.1.8
 Compiling tracing-log v0.1.3
 Compiling sharded-slab v0.1.4
 Compiling thread_local v1.1.4
 Compiling ipnet v2.5.0
 Compiling anes v0.1.6
 Compiling sync_wrapper v0.1.1
 Compiling matchit v0.7.0
 Compiling spin v0.5.2
 Compiling unicode-segmentation v1.10.1
 Compiling untrusted v0.7.1
 Compiling oorandom v11.1.0
 Compiling reqwest v0.11.13
 Compiling criterion v0.4.0
 Compiling tracing-subscriber v0.3.16
 Compiling similar v2.2.1
 Compiling aws-sdk-sts v0.26.0
 Compiling postgres v0.19.5 (https://github.com/MaterializeInc/rust-postgres#7bdd17b5)
 Compiling kube-core v0.85.0 (https://github.com/MaterializeInc/kube-rs.git?rev=838a7981483005e1af7c1338c48a4d0540a33ce4#838a7981)
 Compiling kube-client v0.85.0 (https://github.com/MaterializeInc/kube-rs.git?rev=838a7981483005e1af7c1338c48a4d0540a33ce4#838a7981)
 Compiling nix v0.26.1
 Compiling globset v0.4.9
 Compiling console v0.15.5
 Compiling prost-reflect v0.11.4
 Compiling lru v0.11.0
 Compiling autotools v0.2.5
 Compiling kube-runtime v0.85.0
 Compiling protobuf-src v1.1.0+21.5
 Compiling kube v0.85.0
 Compiling prettyplease v0.1.25
 Compiling fixedbitset v0.4.1
 Compiling which v4.2.2
 Compiling petgraph v0.6.0
 Compiling multimap v0.8.3
 Compiling prost-build v0.11.9
 Compiling paste v1.0.11
 Compiling debugid v0.8.0
 Compiling sentry-types v0.29.1
 Compiling sentry-core v0.29.1
error: linking with `clang` failed: exit status: 1
 |
 = note: LC_ALL="C" PATH="/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/bin:/nix/store/hmcqm87saxlcjzm3r636i9s8d7fxyn1y-cargo-1.71.1/bin:/nix/store/531fip043hgmi8dmr1r75h6mgjml69x8-cargo-auditable-0.6.1/bin:/nix/store/9b0p10ymqqsym71f7xq4cx3fh59jvb7w-cmake-3.26.4/bin:/nix/store/pc9klb0nmw954sxlqq835k2y4rsjk9i4-ps-adv_cmds-119/bin:/nix/store/m821fxa1c3yhjqhvvw4j7hnfzbqhg6ya-perl-5.38.0/bin:/nix/store/30dkgjwic2y26j17z8y9rd21nhpzx8sh-pkg-config-wrapper-0.29.2/bin:/nix/store/hrb2qka3ifk0fqw2580xbff465153d9p-bootstrap_cmds-121/bin:/nix/store/d6wmlcs9kv8gf752q3j3x0l3vipbj6mg-auditable-cargo-1.71.1/bin:/nix/store/hmcqm87saxlcjzm3r636i9s8d7fxyn1y-cargo-1.71.1/bin:/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/bin:/nix/store/21apr3mbmghnkd6zy2axxli2s36js3n8-clang-wrapper-11.1.0/bin:/nix/store/j979im1nim264y14d6k26dlbiwrnpijs-clang-11.1.0/bin:/nix/store/jfkxszd5mclhbqygx9lm1jy5gq2a5rw6-coreutils-9.3/bin:/nix/store/f0is0g9aafkjd7vyhzia7axcp45rcv9g-cctools-binutils-darwin-wrapper-11.1.0-973.0.1/bin:/nix/store/wnj5203979qy5i69zr9jznc6mncybpap-cctools-binutils-darwin-11.1.0-973.0.1/bin:/nix/store/jfkxszd5mclhbqygx9lm1jy5gq2a5rw6-coreutils-9.3/bin:/nix/store/hkjwkyvspdyz5v6bbdmzpgkqy38sk3id-findutils-4.9.0/bin:/nix/store/fac5y9gsaij3vsywyix99ni2bidbdvbl-diffutils-3.10/bin:/nix/store/0915q6jj8wdym586zjfijhrw3aqflibf-gnused-4.9/bin:/nix/store/qpk9fb3wn6qkvjpnznjkcx0hb7lpm41w-gnugrep-3.11/bin:/nix/store/m223lvwiz7v47djkm861524r350lwj71-gawk-5.2.2/bin:/nix/store/6baws0dbshlirv7dqqkmcrc7jpnxqri6-gnutar-1.35/bin:/nix/store/cwgy31xxhnxgf4hjahas02xa1bn1ji36-gzip-1.12/bin:/nix/store/hlmv5j1kwx737d6p4c8pblqbfr6f5yck-bzip2-1.0.8-bin/bin:/nix/store/ac9577gx85az323gjws1n52ar7w4b3x1-gnumake-4.4.1/bin:/nix/store/vvga016yc68k1y6n08qym93l5zna305q-bash-5.2-p15/bin:/nix/store/mmnkwyfc8rhddv6pqvmcmm2yxg54pq2p-patch-2.7.6/bin:/nix/store/skfb9v88g69mad3x5jvsj4vlrjv7i3g7-xz-5.4.3-bin/bin:/nix/store/s3x10q1z697dvpcd2l2cw9a21j71xaa2-file-5.44/bin" VSLANG="1033" ZERO_AR_DATE="1" "clang" "-Wl,-exported_symbols_list,/private/tmp/nix-build-materialize-0.65.1.drv-2/rustccvajiR/list" "-arch" "x86_64" "-m64" "/private/tmp/nix-build-materialize-0.65.1.drv-2/rustccvajiR/symbols.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.0.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.1.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.10.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.11.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.12.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.13.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.14.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.15.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.2.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.3.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.4.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.5.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.6.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.7.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.8.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.jsonpath_lib.6cd39ee96fbe9c3c-cgu.9.rcgu.o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/jsonpath_lib-8fd5e92d3a33b48f.1yb1ke397efjcoaf.rcgu.o" "-L" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps" "-L" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/release/deps" "-L" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libserde_json-0be85e546bbd6945.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libryu-8ddb50f373250ca6.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libitoa-b25e9e684159bad8.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libindexmap-d0851ea3ebface99.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libequivalent-c7ae25d105fef782.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libhashbrown-7ff8f664e81a4079.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libahash-c6fe3c5c61834d87.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libgetrandom-f7b21d1ed81e8b98.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/liblibc-849a7ce0e97c1950.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libonce_cell-9c6cf0dd059990d1.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/liballocator_api2-a0848f984f995782.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libserde-082c68bf8ab64bf8.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/liblog-3e09a901e0a8f412.rlib" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libcfg_if-36c929a87dc2cda8.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libstd-f27a182a2b925a38.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libpanic_unwind-6f5e6cca0625ea5c.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libobject-2c20652a08cb830f.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libmemchr-a6495d46c14c8f62.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libaddr2line-1692c1080c898b13.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libgimli-7c83fd92591c7360.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/librustc_demangle-4a88ffb19fc48e97.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libstd_detect-522f2a5a03fe369e.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libhashbrown-21a3247f6d546822.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_alloc-11a89b807511a6fd.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libminiz_oxide-f34b6f7df82c69ed.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libadler-bf8aa187bf37a21c.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libunwind-e96e48efd617e950.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libcfg_if-3ddbfe79387f2db0.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/liblibc-9b061cc4588dd59d.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/liballoc-58bb884f889e4d03.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/librustc_std_workspace_core-69a8d0d2fdd1ed85.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libcore-35944fe15ab21fee.rlib" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib/libcompiler_builtins-6dd91f64642791a1.rlib" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/nix/store/hpjqhn4jv85b1rx20fj5i1c5d9aw5pip-rustc-1.71.1/lib/rustlib/x86_64-apple-darwin/lib" "-o" "/private/tmp/nix-build-materialize-0.65.1.drv-2/source/target/x86_64-apple-darwin/release/deps/libjsonpath_lib-8fd5e92d3a33b48f.dylib" "-Wl,-dead_strip" "-dynamiclib" "-Wl,-dylib" "-nodefaultlibs" "--ld-path=/nix/store/cg869jlpzrh5xgc0hcll7risc5gsk611-mold-2.1.0/bin/mold"
 = note: clang-11: error: unsupported option '--ld-path=/nix/store/cg869jlpzrh5xgc0hcll7risc5gsk611-mold-2.1.0/bin/mold'
 
error: could not compile `jsonpath_lib` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment