Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Nix support on mac (requires testing) #1409

Merged
merged 7 commits into from
Oct 23, 2023

Conversation

siddhantk232
Copy link
Contributor

@siddhantk232 siddhantk232 commented Oct 22, 2023

This PR adds darwin.Security and xcbuild which should fix #1401.

Tested on linux (NixOS) with: nix build .
Required testing on a mac, run nix build . or nix run . with this branch checked out before merging this PR.

Upon failure, please include the full log. Nix will mention the command to get the full log at the end of the error message.

Some QOL changes have also been made:

  • use rust-overlay in favour of nixpkgs-mozilla
  • fetch version from Cargo.toml file

@amitu
Copy link
Contributor

amitu commented Oct 22, 2023

@siddhantk232 I am getting the following:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/pxqkhin7yzykfwp234v4n1sf9g4bsmy5-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
[naersk] cargo_version (read): 1.73.0 (9c4383fb5 2023-08-26)
[naersk] cargo_message_format (set): json-diagnostic-rendered-ansi
[naersk] cargo_release: --release
[naersk] cargo_options: 
[naersk] cargo_build_options: $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
[naersk] cargo_test_options: $cargo_release -j "$NIX_BUILD_CORES"
[naersk] RUST_TEST_THREADS: 8
[naersk] cargo_bins_jq_filter: select(.reason == "compiler-artifact" and .executable != null and .profile.test == false)
[naersk] cargo_build_output_json (created): /private/tmp/nix-build-fastn-0.3.0.drv-0/tmp.zzkglF7atj
[naersk] RUSTFLAGS: 
[naersk] CARGO_BUILD_RUSTFLAGS: 
[naersk] CARGO_BUILD_RUSTFLAGS (updated):  --remap-path-prefix /nix/store/c7chf1r80ly1dzccgxah0wf4pkfivrvc-crates-io-dependencies=/sources --remap-path-prefix /nix/store/s5azi3adb1rd0dfv4d751nrhph724pna-git-dependencies=/sources
[naersk] pre-installing dep /nix/store/5vvgp32y1z4mdzz8s7vn3nxrprlqfa0d-fastn-deps-0.3.0
@nix { "action": "setPhase", "phase": "buildPhase" }
building
cargo build $cargo_release -j "$NIX_BUILD_CORES" --message-format=$cargo_message_format
�[0m�[0m�[1m�[32m   Compiling�[0m fastn-grammar v0.1.0 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/fastn-grammar)
�[0m�[0m�[1m�[32m   Compiling�[0m fastn-js v0.1.0 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/fastn-js)
�[0m�[0m�[1m�[32m   Compiling�[0m ftd v0.3.0 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/ftd)
�[0m�[0m�[1m�[32m   Compiling�[0m fastn-issues v0.1.0 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/fastn-issues)
�[0m�[0m�[1m�[32m   Compiling�[0m fastn-package v0.1.0 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/fastn-package)
�[0m�[0m�[1m�[32m   Compiling�[0m fastn-core v0.1.0 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/fastn-core)
�[0m�[0m�[1m�[32m   Compiling�[0m fastn-cloud v0.1.0 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/fastn-cloud)
�[0m�[0m�[1m�[32m   Compiling�[0m fastn v0.3.76 (/private/tmp/nix-build-fastn-0.3.0.drv-0/source/fastn)
�[0m�[0m�[1m�[31merror�[0m�[1m:�[0m could not compile `fastn` (bin "fastn") due to 2 previous errors
�[0m�[1m�[38;5;9merror�[0m�[0m�[1m: linking with `cc` failed: exit status: 1�[0m
�[0m  �[0m�[0m�[1m�[38;5;12m|�[0m
�[0m  �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: LC_ALL="C" PATH="/nix/store/x4a9ak410pwj4l57s7mmxf83f5qbznfb-rust-default-1.73.0/lib/rustlib/aarch64-apple-darwin/bin:/nix/store/ybr7a0lvp4dzr14f1l3882x5qb68vkls-clang-wrapper-11.1.0/bin:/nix/store/6m1ncyha74vyyksinykcsic5gc1b29i7-clang-11.1.0/bin:/nix/store/g9pvwpwpgkhzlq0kv4bbllclm18kv0gj-coreutils-9.3/bin:/nix/store/7yafaqqhz1i9s4jmsj51g28c22yhq3kq-cctools-binutils-darwin-wrapper-11.1.0-973.0.1/bin:/nix/store/5v4ycnqpfammvlwpadyc26by7hy604cz-cctools-binutils-darwin-11.1.0-973.0.1/bin:/nix/store/x4a9ak410pwj4l57s7mmxf83f5qbznfb-rust-default-1.73.0/bin:/nix/store/x4yp8nml3m41qpwzya665vk1vkcsnvhp-jq-1.7-bin/bin:/nix/store/s76fp807gpk99zj1yi6ny6km7vhymydw-rsync-3.2.7/bin:/nix/store/grqr4jvssh0mlygj1pd1sg83gb7v5hlq-pkg-config-wrapper-0.29.2/bin:/nix/store/d77n7prp6f9ydhq5j8qa1jc2ggqjzfhs-openssl-3.0.10-bin/bin:/nix/store/99mpzrn6ywq1g0k2gqhl2vi5y24bxilq-xcodebuild-0.1.2-pre/bin:/nix/store/zrljfz58cimkjmrmkvdr3pzhvkhrxgh3-Toolchains/XcodeDefault.xctoolchain/bin:/nix/store/02jndc2wwsfigf12wv53k8zwyfvwl9gf-libiconv-50/bin:/nix/store/mn8bzfk8wfy1hkf596bh0m9k5ih9788i-libiconv-50/bin:/nix/store/g9pvwpwpgkhzlq0kv4bbllclm18kv0gj-coreutils-9.3/bin:/nix/store/cnjxsppdzfbwvmkdrkpps6j75a2xqgks-findutils-4.9.0/bin:/nix/store/fmb75iiyrc7bhr0al97izqch5pzrh5dy-diffutils-3.10/bin:/nix/store/c9606i14wkrcjavx5kvhaghxfpgy204k-gnused-4.9/bin:/nix/store/xrqvjyn24z6ljnh9583c13iarks1faa3-gnugrep-3.11/bin:/nix/store/gg71r49xcnn2l565cwz11ws3q38liwdw-gawk-5.2.2/bin:/nix/store/h1y472wdyk5jn7qsgwhcblaj9j42xrx9-gnutar-1.35/bin:/nix/store/5m5mvssdqh2liqz0d6bhjp7sql1bsi62-gzip-1.13/bin:/nix/store/p2i1j2pj8wjmy445xjlcfzq64r7gad50-bzip2-1.0.8-bin/bin:/nix/store/221p2yp3dlb6dxr93iidq4gpx9i25n81-gnumake-4.4.1/bin:/nix/store/zqx1fik7mcyg1037s015kfbw2zq0qhqn-bash-5.2-p15/bin:/nix/store/9ahpbnv7xxyp72f6a08qm0pyrzg85l7x-patch-2.7.6/bin:/nix/store/nws79v3asz8a9cyyn8f76kwykjr6lhkb-xz-5.4.4-bin/bin:/nix/store/f2zhjzawah3klb72plmq79kldymn93gc-file-5.45/bin" VSLANG="1033" ZERO_AR_DATE="1" "cc" "-arch" "arm64" "/private/tmp/nix-build-fastn-0.3.0.drv-0/rustcMsdMB0/symbols.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.00.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.01.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.02.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.03.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.04.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.05.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.06.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.07.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.08.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.09.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.10.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.11.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.12.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.13.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.14.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.fastn.d04f1d1c678eeb42-cgu.15.rcgu.o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797.2i5cshdbe9vywsoy.rcgu.o" "-L" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps" "-L" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/build/zstd-sys-ecb6333df7443208/out" "-L" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/build/libquickjs-sys-9e98a16d2a10ef1c/out" "-L" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/build/libsqlite3-sys-2ff4f41fa9859e8d/out" "-L" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/build/ring-b99aea3bf5caee21/out" "-L" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/build/bzip2-sys-8a1e31fa6edc002f/out/lib" "-L" "/nix/store/x4a9ak410pwj4l57s7mmxf83f5qbznfb-rust-default-1.73.0/lib/rustlib/aarch64-apple-darwin/lib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastn_cloud-eca225937b07b23f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtejar-282c60375201c7f2.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhex-b8dd9a8b47c67efd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastn_core-4c88e29ccf12d434.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpostgres_native_tls-f56e72315988e41c.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdeadpool_postgres-44e1c3cedd70e866.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdeadpool-9ac47458752bf35b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libretain_mut-b93e7f155f190ed5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdeadpool_runtime-687e832185fb44da.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtokio_postgres-ae3d10a3b0163f99.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libphf-e487a8b851b02cac.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libphf_shared-e1d57183df0157d6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsiphasher-1fe3fb43252fe589.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libwhoami-a17226e1ed61ec48.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpostgres_types-92e2590670bd3ea9.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpostgres_protocol-4b2dc7a7f8a5625d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libstringprep-669cacdfb0adf19f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfinl_unicode-b1b865f0023441c3.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libmd5-356939d7ad080a42.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfluent-e290b9b0b3002f2a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfluent_bundle-b269d9bfb40c8939.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfluent_langneg-e55cdd75fe1cc4fe.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libintl_pluralrules-709427594856217a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libself_cell-9eb67e23fd5ac291.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libintl_memoizer-4508e88f2b861657.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtype_map-b2da675fbb561eb7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunic_langid-8a81c88c8a4b762e.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunic_langid_impl-faa13cd562496965.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtinystr-f51c3838784ae026.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfluent_syntax-1bd01c808d022d34.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librustc_hash-efaa757fb57cb54a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liboauth2-7f2481df145ab988.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libserde_path_to_error-11119c391ae71623.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libchrono-39a3383dae5eb56d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libnum_traits-e3206b424eaf7d37.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libiana_time_zone-4d6469fa5c945a10.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libantidote-04fc65826925ae38.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libreqwest-c9ea696a9ef4ad00.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librustls_pemfile-668f07bbb80d500b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhyper_rustls-216218b194c07947.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhyper_tls-25a46b147d6a31ad.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libwebpki_roots-ae26ed12dc970780.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsystem_configuration-916299647394de72.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsystem_configuration_sys-d46226a7dbc20f96.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libipnet-648c3a980dce99bd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtokio_native_tls-a66e924fa8975485.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtokio_rustls-7ca24935e44ef994.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librustls-b56e812c4b1180e1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsct-8149d45dca847d39.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libwebpki-607458d17a9aa491.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libring-811df85d3215c8fc.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libuntrusted-04dab7e10b167477.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libnative_tls-5d4dd29a86b74b73.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsecurity_framework-893dfef61840ca22.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsecurity_framework_sys-fdc296330175fe64.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcore_foundation-3b014a6e7c2d7a94.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcore_foundation_sys-ea7348354f3c7805.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhyper-da70c51dac70ea65.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libwant-ee0c3722ac638c2e.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtry_lock-0ad01d2a91f22d7d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsocket2-9866464cd8b15a14.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtower_service-62231cdab5fbcbb5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhttp_body-f66da9998d0df16b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libzip-f7d6f77462b6bea5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpbkdf2-8fd0a0ea46decc43.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpassword_hash-8df6eaf2edc889b6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbase64ct-3e874e9b486f55f7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libzstd-f19d8c1df42cf5cc.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libzstd_safe-193037f3cd19a5ae.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbzip2-ddff7ca50d24ce7d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbzip2_sys-d75ec253375c20b0.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libaes-5fd16c9e87891c02.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcipher-82e44bbfb86101c3.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libinout-ddfebfed6ce032bd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhmac-45af7f8fc26898a9.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libconstant_time_eq-d73ad89cba12a8b9.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastn_package-16424e252110abac.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastn_issues-87f98643e05b5c5c.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librusqlite-04ab0fd6e490bbd5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfallible_streaming_iterator-3687a413227d617a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfallible_iterator-9313af77826dcf45.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhashlink-3502ccd9d4babfb2.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblibsqlite3_sys-1d9c3b21b9ebc174.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_web_lab-2c12107a14b923a8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libserde_html_form-a46f8da5cefdc7b1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcsv-74e09b28f8689d77.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcsv_core-ac4e9b5ef67f371d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libimpl_more-f71a61f29c782a9e.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libarc_swap-a2f9d2fc6aa43534.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libenv_logger-d2514468a16626cb.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtermcolor-51c7e44f676e70a8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhumantime-4f3903681bce037a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_web-35fe61c34445128a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libserde_urlencoded-0a76247e67e31dbd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_server-dbe2b44bbc378de7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_router-e464b269b387e77f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcookie-628aa9cf33a449f7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_http-b9db71582dbe90cf.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librand-6c7df038f674713f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librand_chacha-4685d39f0cf7cbd1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libppv_lite86-0fe6891ac34c9d2a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librand_core-151372d371585741.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhttparse-01b3c187e3d027f0.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbrotli-ae702a3747ba2fcf.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbrotli_decompressor-e66f8739bff480b0.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liballoc_stdlib-ee6a102dcac3bc43.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liballoc_no_stdlib-897fd34c3eb2e7e0.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhttpdate-17db5ca451cfac7d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsha1-f33089a20d0c1574.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblocal_channel-8f8c198c5607f5fd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbytestring-e842e652b4b26e46.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libencoding_rs-fca94a73e540448b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblanguage_tags-18c3f91646522700.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libh2-73bbfe61789f2fec.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libzstd-f38e97087a39e352.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libzstd_safe-e08fc2caa58a78e1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libzstd_sys-803614e959f1fe1d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_service-391a4cf1a483f491.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_codec-88fe7a88d4ffce65.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtokio_util-17754966f60d0a44.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_utils-6dbc820437e6a2d2.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblocal_waker-3f67c5d455bdb67d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libactix_rt-8b7ceb33a3797219.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhttp-882c9f27691c5982.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libedit-03ba7b7628877d95.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libwhich-e5fe52171275b22e.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhome-8d29570812d3a8e5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtempfile-889cf8e817aa8297.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastrand-9bc850e844d30493.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libasync_lock-9b1cefe754c6b254.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libevent_listener-bb9ae10176a6a962.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libignore-6a2e7cb5d636f4a2.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libglobset-75606d5b1c702178.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbstr-4d81b83a6e4502aa.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdiffy-9f5a2b75d5c719c5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures-18dd25477b3710fe.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures_executor-72e9080a29e75618.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures_util-e36f8ba24c530b9a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures_io-8f53df7d4888a100.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libslab-384563b2d546670f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures_channel-c61d827e218aad77.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures_sink-764c9382237694d0.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures_task-dc7d2cea856f16d8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpin_utils-e31afb7f24264723.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfutures_core-9bf042de7f9e0439.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liburl-46b790dbc0158e3b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libidna-73972d076e6eed45.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunicode_normalization-9e848a2f783d738b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtinyvec-0826166501e8a9eb.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtinyvec_macros-b990a47c9f0fa24c.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunicode_bidi-986d0a4b6dc565cc.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libform_urlencoded-eb8cb332e950acb4.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpercent_encoding-176b581e801b2cfc.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libmime_guess-b808f195ae3e4ecb.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunicase-d4fa98c4dda11646.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libmime-a3acbdaa78575830.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastn_observer-8993a1f8bde1bcbc.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtracing_subscriber-345a464cb4d60fd5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libnu_ansi_term-6741ca02b18e334f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liboverload-1899ceb628525e57.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libthread_local-87344b8f8f059c57.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsharded_slab-b6379cbb192230dc.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtracing_log-2f4ccea2b3eca640.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libansi_term-f236e997692c84e0.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcamino-bb1fcedc8fbc3b2f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librealm_lang-2b9c270e1c658158.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libaccept_language-81d1962b9eb7bc52.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libenum_iterator-57eeab28e46f193d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libftd-b3308757e734c57f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastn_js-24bcbf632099c6c6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libprettify_js-7fdc0029bf72fce8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libress-df2cdc2714359304.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunicode_xid-728bb502aef1a1fa.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpretty-2e3f0a3c91aa0c7f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunicode_width-173441c16538b32e.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libarrayvec-e918a719d038b29d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libquick_js-8c46f49fb48c29ed.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblibquickjs_sys-c1b2e115a9e18ed1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcss_color_parser-37d574e3303738b8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblazy_static-86354473308cf5ab.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcomrak-bf19510c2ababefe.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libderive_builder-ce32cf48bdec91c8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libunicode_categories-5ec9cee57de83ee7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtyped_arena-153fa82077fbdab8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libentities-fef57df10ee2b207.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libindexmap-e5756c33ea01a6b6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libequivalent-bf518c4ab3bd8400.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhashbrown-e33c6dc0202f732f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libahash-aae0425ff698c520.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libgetrandom-dca2722361a0de81.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liballocator_api2-3534d5cefdd8533f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libformat_num-7293b618a972e600.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libslug-136399915929817d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdeunicode-c71af4f8c445fc03.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsyntect-d220544a90934a45.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfancy_regex-064a4282244be71e.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libregex-99db3e917ad770cc.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libregex_automata-f9cf1115bc0df0fe.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libaho_corasick-8bc3f13e2ade413e.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libregex_syntax-3e7be34db930f2ce.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbit_set-51fcbaf087bd5546.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbit_vec-5846b080c49f33f6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libyaml_rust-ab9867a410395933.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblinked_hash_map-2b643421113b25c8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libregex_syntax-c9b076ff07463cc1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfnv-1841120f9761cbb6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libplist-1d2c9540aa69747a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libline_wrap-a5e1fada4ead2855.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsafemem-319757b6a903d664.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtime-e6cc14b39c640bb7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtime_core-84fac2efe79c4b15.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libderanged-66c99d8fe2414b0c.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpowerfmt-86e521b83c0a7ee0.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libquick_xml-53d0dd351cf897dd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libmemchr-66915e59bdc3447f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbase64-9c53cdf9fbffe523.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libindexmap-79725730cffca2cb.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libhashbrown-ab11999f4b46e4aa.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libflate2-af19966844d50d9b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libminiz_oxide-800cf3fa3b79919a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libadler-6d00a6f2f8153141.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcrc32fast-e2882e02a7478b02.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbincode-7b3aa393d6b04d32.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libinclude_dir-8d5485e35b4386e7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfastn_grammar-467fb9cf61b3ec05.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdirs-2fe37fdfd650cbbe.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdirs_sys-c21318761542488c.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liboption_ext-43957cc343e20315.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libthiserror-76b08af042558149.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libserde_json-3138010759b5c34a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libryu-a314fb4b3d9c78e4.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libitoa-84e990c035f4d4cd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libclap-ab88125cbcf92f4a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libclap_builder-757214b11a4e8e01.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libstrsim-c20becc558fb14fb.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libanstream-5432aa7ee0128ab8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libanstyle_query-f35374468ca7e399.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcolorchoice-35c325f8ac17ba1c.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libanstyle_parse-0fc4f685da89e6a3.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libutf8parse-e32b099995f313e1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libclap_lex-000c6ce8e3ac712a.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libanstyle-4fe3bc52f503ae63.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtracing-c6d43f8e43edcc39.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtracing_core-0c61e3dca4ee5993.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libonce_cell-f573531dbd456646.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libserde-88da28c3eba7170d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libmagic_crypt-a6998f4d28dcceb8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbase64-fedf814bb372afde.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcrc_any-23c9bd24725c394d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdebug_helper-d6c50f7b53e245e1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdes-9247b640afbc80ab.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsha2-b51cffb5555a3912.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtiger-e0749881bfc22230.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbyteorder-d94752276ca06c2b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libmd5-5f042a0ba314d866.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libblock_buffer-5bb70eecc31ff7d8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libaes-39b8cb040d804aa7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libopaque_debug-f43e860efa513ff1.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libblock_modes-2dad6e61f3568354.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcipher-526451b68358f9f6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libblock_padding-54011df2997baa5d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdigest-e2bf19069e867b50.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libnotify-ef8d217616002923.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libfiletime-455f2b058068face.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libwalkdir-3c956e8d796bea90.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsame_file-1e5dbb07db895e84.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libkqueue-8d1bb5219668da58.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libkqueue_sys-fa857b62e3f5f828.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbitflags-d3ec7938a410542f.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsha2-7a62a2a7a4b45e25.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libdigest-b5af36e0077f2a54.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsubtle-230fc2e4f3e515c5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libblock_buffer-c770073675cbaab8.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcrypto_common-020bd366b3b8e34d.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libgeneric_array-8b4985211046c5b5.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtypenum-cf1cfa58fd4f6054.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libtokio-b050f8e6a86e1556.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsignal_hook_registry-49db3d477b50d66b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libnum_cpus-bf60ea022dfd3751.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsocket2-bf17aa2fa91f5dda.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbytes-f6311a13816271bf.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libmio-40fce194c908d426.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblog-101e810616894d59.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libpin_project_lite-bb053e3e180e1052.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libparking_lot-3c79b8fd15a701d7.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libparking_lot_core-4792a01f9c0045ed.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcfg_if-f90c663cb752517b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libsmallvec-4248c6d98c875378.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblock_api-71039c6c33d02c73.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libscopeguard-300ede06319c9162.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libitertools-93c355b1ec9a1309.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libeither-fc7c9f5e56dd18a6.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libcolored-51ceed4dc25dd518.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblazy_static-abe4cfacddafb2fd.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libis_terminal-743ebed163912455.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/librustix-42d66dd57eebe66b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/libbitflags-373e808994fe725b.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liberrno-7595cb798ba36132.rlib" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/liblibc-d8c00879c20b2911.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd-3d2f8249df972181.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-71f458d6ad9754d3.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libobject-80ca13cc75b9f1f8.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libmemchr-f61e6e34bb7e3d2c.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libaddr2line-0e0bd047a1477984.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libgimli-2e16542b46c8c2c1.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_demangle-715d432050230d26.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libstd_detect-07347eb75450f6dc.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libhashbrown-9def065c9187ef49.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_alloc-a77178b509a93e9e.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libminiz_oxide-e52109799d3633b0.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libadler-71de85e71b396682.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libunwind-9d1db45aded26b54.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcfg_if-dc8bc139addbc9a1.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liblibc-43ed22d1545fab87.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/liballoc-dfb3f449d0391fb9.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/librustc_std_workspace_core-921be82af751e98a.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcore-ad57bf2066878332.rlib" "/nix/store/sqgcyq8a8iamx96qd3rip4p8jvksmy9s-rust-std-1.73.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libcompiler_builtins-7bc3106ba9bea571.rlib" "-framework" "CoreFoundation" "-framework" "SystemConfiguration" "-framework" "SystemConfiguration" "-framework" "Security" "-framework" "Security" "-framework" "CoreFoundation" "-liconv" "-lSystem" "-lc" "-lm" "-L" "/nix/store/x4a9ak410pwj4l57s7mmxf83f5qbznfb-rust-default-1.73.0/lib/rustlib/aarch64-apple-darwin/lib" "-o" "/private/tmp/nix-build-fastn-0.3.0.drv-0/source/target/release/deps/fastn-59b225b71635a797" "-Wl,-dead_strip" "-nodefaultlibs"�[0m
�[0m  �[0m�[0m�[1m�[38;5;12m= �[0m�[0m�[1mnote�[0m�[0m: ld: framework not found SystemConfiguration�[0m
�[0m          clang-11: error: linker command failed with exit code 1 (use -v to see invocation)�[0m
�[0m          �[0m


�[0m�[1m�[38;5;9merror�[0m�[0m�[1m: aborting due to previous error�[0m


[naersk] cargo returned with exit code 101, exiting

@amitu
Copy link
Contributor

amitu commented Oct 22, 2023

I tried adding:

          buildInput = with pkgs; lib.optionals stdenv.isDarwin [ darwin.Security darwin.apple_sdk.frameworks.Security ];

As recommended here: https://discourse.nixos.org/t/compile-a-rust-binary-on-macos-dbcrossbar/8612/2, but still same error.

@siddhantk232
Copy link
Contributor Author

I tried adding:

          buildInput = with pkgs; lib.optionals stdenv.isDarwin [ darwin.Security darwin.apple_sdk.frameworks.Security ];

As recommended here: https://discourse.nixos.org/t/compile-a-rust-binary-on-macos-dbcrossbar/8612/2, but still same error.

Could you try adding this to nativeBuildInputs instead?

@siddhantk232
Copy link
Contributor Author

siddhantk232 commented Oct 22, 2023

If that didn't work, then:

          buildInputs = with pkgs; lib.optionals stdenv.isDarwin [ 
              darwin.Security darwin.apple_sdk.frameworks.Security
              darwin.Security darwin.apple_sdk.frameworks.CoreFoundation
              darwin.Security darwin.apple_sdk.frameworks.CoreServices
              darwin.Security darwin.apple_sdk.frameworks.SystemConfiguration
          ];

ps: I have no idea what I'm suggesting here 😑

@siddhantk232
Copy link
Contributor Author

I think I've made a typo in flake.nix, it's buildInputs not buildInput. This still requires testing so retry above suggestions with buildInputs (notice the change in spelling)

@amitu
Copy link
Contributor

amitu commented Oct 23, 2023

Tried this, same problem :-(

          buildInputs = with pkgs; lib.optionals stdenv.isDarwin [ darwin.Security ];

@amitu
Copy link
Contributor

amitu commented Oct 23, 2023

This worked!

nix run . -- --version
warning: Git tree '/Users/amitu/Projects/fastn' is dirty
fastn: FTD Package Manager 0.3.76
diff --git a/flake.nix b/flake.nix
index 0d28434bf..4cde95118 100644
--- a/flake.nix
+++ b/flake.nix
@@ -39,7 +39,12 @@
             openssl.dev
           ] ++ lib.optionals stdenv.isDarwin [ xcbuild ];
 
-          buildInput = with pkgs; lib.optionals stdenv.isDarwin [ darwin.Security ];
+          buildInputs = with pkgs; lib.optionals stdenv.isDarwin [
+              darwin.Security darwin.apple_sdk.frameworks.Security
+              darwin.Security darwin.apple_sdk.frameworks.CoreFoundation
+              darwin.Security darwin.apple_sdk.frameworks.CoreServices
+              darwin.Security darwin.apple_sdk.frameworks.SystemConfiguration
+          ];
         };
       in
       rec {

@amitu
Copy link
Contributor

amitu commented Oct 23, 2023

This works too:

diff --git a/flake.nix b/flake.nix
index 0d28434bf..ad44b8ebd 100644
--- a/flake.nix
+++ b/flake.nix
@@ -39,7 +39,9 @@
             openssl.dev
           ] ++ lib.optionals stdenv.isDarwin [ xcbuild ];
 
-          buildInput = with pkgs; lib.optionals stdenv.isDarwin [ darwin.Security ];
+          buildInputs = with pkgs; lib.optionals stdenv.isDarwin [
+              darwin.apple_sdk.frameworks.SystemConfiguration
+          ];
         };
       in
       rec {

flake.nix Outdated Show resolved Hide resolved
@siddhantk232 siddhantk232 requested a review from amitu October 23, 2023 11:29
@amitu amitu merged commit 4d9e353 into fastn-stack:main Oct 23, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

can't install on Mac using nix
2 participants