Skip to content

Instantly share code, notes, and snippets.

@kolloch
Last active March 28, 2020 14:07
Show Gist options
  • Save kolloch/361ad07886c4a5f2df4633297d7293a2 to your computer and use it in GitHub Desktop.
Save kolloch/361ad07886c4a5f2df4633297d7293a2 to your computer and use it in GitHub Desktop.
Remote building some nixpkgs tests on Mac OS
nix-build -j 0 -A buildRustCrateTests --system x86_64-darwin --builders 'ssh://peter@dipmac.local x86_64-darwin' --option allowed-impure-host-deps '/bin/sh /usr/lib /dev /usr/lib' --option builders-use-substitutes true
these derivations will be built:
/nix/store/292c4spdby2gmlvz395j8is86bsj16df-src.drv
/nix/store/42h1nn3mrl7bfmr73z5m5bakj2jm3m0s-rust_bar-0.1.0.drv
/nix/store/hi8yqx0a23kds17jsvgypkfnar53igjc-src.drv
/nix/store/gqdd3f33s45zywwjcs6a64q6yps0vvzd-rust_bar-0.1.0.drv
/nix/store/cigqp9wdbmss3fpcq5fjpzmpnn4c9sn6-src.drv
/nix/store/wx5i9wkb4snal1rr46ck9nk607wdxdjn-src.drv
/nix/store/scwvpwa22856yrwdakbwyx71l5gwm0c3-build-script-and-main.drv
/nix/store/1mkl46014p8xh57vnnmkla6sc79hybwp-rust_foo-0.1.0-test.drv
/nix/store/1x7v4p1mlm4j2c7cqsfzm3k0g30zihzh-src.drv
/nix/store/ksv70hlki6y1sa4hqf308fi07pqm15yf-src.drv
/nix/store/1ywh5v3jixs4ifg87ds474ryf47js1xq-rust_crateBinNoPath3-0.1.0.drv
/nix/store/1zv7whvyjzw998ks3ikfbai7fjm32d4z-src.drv
/nix/store/222qd5gn29hliyng9dzw7xcwhrfsckak-src.drv
/nix/store/n2w478jafraki5lxh8y3mv90ddasq3zm-src.drv
/nix/store/zf0k2h8rgnhbl7klc63p2p7iy4fmjhr8-src.drv
/nix/store/2lh7n3f6wp65n9s2j01v0w06ly1862rm-rust-lib-tests-custom-lib-path-with-tests-dir.drv
/nix/store/4pv6fvzjs4vs8x5fk2hr7gnph8fcii5g-rust_rustLibTestsCustomLibPathWithTests-0.1.0-test.drv
/nix/store/272vizm47rr1wzf8qnaq9c3bcm3i3qhl-run-buildRustCrate-rustLibTestsCustomLibPathWithTests-test.drv
/nix/store/6nrxqhqlrg8fh9y3n9rplp1psp7xf07x-src.drv
/nix/store/7pi296gbh8hc2ly8kq2615bvnby2b6xf-src.drv
/nix/store/gg68sa4ajimk614biddz10hn1vbdxj6m-src.drv
/nix/store/r0hpxfvsm3j8gvwz3abhxx3gikpw47k1-src.drv
/nix/store/vy5blkp9ipd96xvagc2zb29jb991qykr-src.drv
/nix/store/xhxkwaj1xkz24xiwqzsz1d45r706xwaf-src.drv
/nix/store/3h045qw552c77i7j0yb7wwq9m75ni661-find-cargo-toml.drv
/nix/store/3r34crmbvrl42y360a627gjybw3l43j2-src.drv
/nix/store/4pkqg0747a9xs5vvs11m0a0mn42dbz3k-src.drv
/nix/store/6c6x5cwbadfvj4gz8ia9slnaqq5y5z5p-src.drv
/nix/store/s533r346bkhqmzipl6nfb0a8biswhmjd-src.drv
/nix/store/56zwqw0vp8pb4awlfhy47l25hijkw20c-buildRustCrateMultipleBinariesCase.drv
/nix/store/5wbj1bdb6a8zm5z3153z6hla2zs0g8hs-rust_alloc-no-stdlib-1.3.0.drv
/nix/store/a607jg5yqxvvpxnpjgpzd90j753b6wmb-src.drv
/nix/store/5xyysm3qfy1j5hzcym0pn7x1ndgyq2ys-rust_crateBinWithPath-0.1.0.drv
/nix/store/9rcw83f8115jzzvjrmyp8hh4iag2c2ry-src.drv
/nix/store/5z774wsr10a1maqf33v48f3d2vx8iagl-rust_rustLibTestsDefault-0.1.0-test.drv
/nix/store/md5qjj6s6gwdp0s2hrqc2x1sp7wn3rrv-rust_foo-0.1.0.drv
/nix/store/mlpflvd6k1mlgka5iybmpsgqqk89aasc-src.drv
/nix/store/czilqbqzq1m2fqc1ahlcmvl7a7m72r05-rust_crateBinRename1-0.1.0.drv
/nix/store/6hjpy9czfaz2aad2pm4ph2gkc34x4fjy-run-buildRustCrate-crateBinRename1-test.drv
/nix/store/a7mmpcrzi5ycslq0b2d7skafxwwsfgh3-src.drv
/nix/store/6ir08xp8phlbb7x94iz05r9960pd8qxh-rust_crateBinNoPath4-0.1.0.drv
/nix/store/cg1vyj2hsnkvqbkwbc4iklrbmnq2h1xw-rust_rustLibTestsCustomLibPath-0.1.0-test.drv
/nix/store/6j81ps80xvi8ly6shp0z1ggiaj8hkdvd-run-buildRustCrate-rustLibTestsCustomLibPath-test.drv
/nix/store/79q9m8lfckl0wns8yx80lzz7zm46zs4l-expected-files-crateBinNoPath1.drv
/nix/store/bn4akq4nkj6h2jijvgcvn8ymhckaq7mx-src.drv
/nix/store/fpggvgc4wcsfjf1bwh7x0ryvgn6nq7qv-rust_nixtestcrate-0.1.0.drv
/nix/store/6x8dy3vx0q5jvdv7s5v6dlhz1adh68ia-assert-outputs-crateBinNoPath1.drv
/nix/store/vpr9qzz066vzjb7sam8i55dvrxnfajlg-src.drv
/nix/store/svf5sayznl6cg31bkmalvvw2mwqc48nk-rust-bin-tests-combined.drv
/nix/store/d6gyv7pl2y3rdcbfwjf60cffdxigmc73-rust_rustBinTestsCombined-0.1.0-test.drv
/nix/store/724yrd40jw5vw5g2jfv1xbhqgrrsp78h-run-buildRustCrate-rustBinTestsCombined-test.drv
/nix/store/phc99k28b1qjcaq39bk525xncw6n2hgw-src.drv
/nix/store/fj9xl3iz70ps1bwxk0z5241raph1f62f-rust_libPath-0.1.0.drv
/nix/store/rn4dxnpqgn8szzk1hwqqqlhi887xjg79-src.drv
/nix/store/lfgwvm3x2cvvsvjqyq50bx9szd5pmawc-rust_run-test-libPath-0.1.0.drv
/nix/store/7gqn6q8iz85kxz4r87wym7qq8wh3iyx7-run-buildRustCrate-libPath-test.drv
/nix/store/b9vcnhrpldkpbfn8h0ma60dzlvqlrs51-rust_crateBinNoPath2-0.1.0.drv
/nix/store/80mqydr0bn3b3k8zd8wmjcc0pmnnbrix-run-buildRustCrate-crateBinNoPath2-test.drv
/nix/store/zdc66v1vgb3br8winjwb6dmy5z64h2q7-rust_somerlib-0.1.0.drv
/nix/store/sakgp8gshkq0w96f3sxvlg5vkphpls4l-rust_foo-0.1.0.drv
/nix/store/84w5agksm8bryv7xnk3ki36wbj8ds396-run-buildRustCrate-foo-test.drv
/nix/store/9fxr0q4iyg6v13i6xhs7vmgl55q14lds-src.drv
/nix/store/xv1gk94ngghmzg6i0lvmv94d89lqjxya-rust_srcLib-0.1.0.drv
/nix/store/9g6ljpvscnkzgnvhjyk4c6nnx2s2m7rh-run-buildRustCrate-srcLib-test.drv
/nix/store/alx6qkpbxwg0q6cd50v80bck0bfann0h-run-buildRustCrate-rustLibTestsDefault-test.drv
/nix/store/n3i8rmb7vjgwssy3k2bi2gwhrrrg7nrk-src.drv
/nix/store/p5w08s41mk3p9x5q9k46j31rk796djyj-src.drv
/nix/store/sa1vy3b490ir0fdvpx7fd4yyir7rzs1i-rust_customLibNameAndLibPath-0.1.0.drv
/nix/store/p3xx75jw94r7chsd75q2m9aaas92ka03-rust_run-test-customLibNameAndLibPath-0.1.0.drv
/nix/store/b3fyvi3rcwsqzs28hn746r8xwfij28hg-run-buildRustCrate-customLibNameAndLibPath-test.drv
/nix/store/xhdmmyx4fjcq8hp5vpq58xzabgqszin0-rust_brotli-decompressor-1.3.1.drv
/nix/store/paxj9f3r84d6rshb8sfsl1ilnncrqwqg-rust_brotli-2.5.0.drv
/nix/store/bd5yyj8pf8r9b0ypxsdiz7xw75jf1iwx-run-brotli-test-cmd.drv
/nix/store/hl98cdx0f516wqfkm007k580ck5iby1z-src.drv
/nix/store/d4r41mi9zk4fvvkx7x5h03lz1zcz5jcx-rust-bin-tests-subdir-combined.drv
/nix/store/hqlmcqxj1sv4aanwmnmq1aj7fd5izmk9-expected-files-crateBinWithPath.drv
/nix/store/iq56x7czvij5h11gy56dyi4vfgkcv7i9-run-buildRustCrate-crateBinNoPath4-test.drv
/nix/store/jzcx98pl22g1wbbfiy6xf8j5p9jk0l2j-run-buildRustCrate-foo-test.drv
/nix/store/k2g7dkbadpgy5rm5zkdm7bw8brx2cxd0-run-buildRustCrate-crateBinWithPath-test.drv
/nix/store/lwizgmsc55clfd6awd0kx8wfswdxn5s0-run-brotli-decompressor-test-cmd.drv
/nix/store/mw86qwljd58gjiv2gkvkq6jl2pikf59l-run-buildRustCrate-crateBinNoPath3-test.drv
/nix/store/nzqmi47r9kh56a946cybqci0asqb64nr-rust_foo-0.1.0.drv
/nix/store/ywq6w83p1p0lgdr8p4wg7p073yqk0fhf-rust_crateBinRename2-0.1.0.drv
/nix/store/s0hi8fahqgc3p14md06gzxl5gzn2frh8-run-buildRustCrate-crateBinRename2-test.drv
/nix/store/vyfbiv824w97nwx721ixj2zb0k0pv1z1-run-alloc-no-stdlib-test-cmd.drv
/nix/store/qnfln3b2cj04iz1h2p4l4l04y9a6p3x0-rust_rustCargoTomlInSubDir-0.1.0-test.drv
/nix/store/wwlfy11nzg4m8cvlf8xcmymh57s37p83-run-buildRustCrate-rustCargoTomlInSubDir-test.drv
/nix/store/yf4ya1m1qkzva41236zafwmmynj4g9cm-rust_rustBinTestsSubdirCombined-0.1.0-test.drv
/nix/store/xhybwmy28i1pyrcdgiw234a3920y35rx-run-buildRustCrate-rustBinTestsSubdirCombined-test.drv
/nix/store/ldqnmvllg0xq26phir39aaqvhx3lpap1-buildrs-out-dir-overlay.drv
/nix/store/pyfyzdxva9801gzd6awh6cif76dkfgp0-rust_buildRsOutDirOverlay-0.1.0.drv
/nix/store/xvvjb4hzmavvwdvm5ymw72zmhrin3ryv-run-buildRustCrate-buildRsOutDirOverlay-test.drv
/nix/store/qj3dkarga59gxacyxajm2f4k3i5by213-rust_rustCargoTomlInTopDir-0.1.0-test.drv
/nix/store/yckh4xmk15fycssx077a0c6ir11fvq1c-run-buildRustCrate-rustCargoTomlInTopDir-test.drv
/nix/store/mblfnbsmj6rpxhm2jmjzcps7w1f7fxrc-rust_nixtestcrate-0.1.0.drv
/nix/store/zm0y2rh9yrzx8l2wbrn8f6vg4wa0rkjs-assert-outputs-crateBinWithPath.drv
/nix/store/q7lc4rb71vqz9c4g54nk92hixbr6z3l0-rust_crateBinNoPath1-0.1.0.drv
/nix/store/zn6s8k4af7n6qj79qbd2dq3v42n3gn1d-run-buildRustCrate-crateBinNoPath1-test.drv
/nix/store/kwyldqndxad6zaih3ji3i1shz6mgw860-buildRustCrate-tests.drv
these paths will be fetched (359.60 MiB download, 1328.40 MiB unpacked):
/nix/store/04hq1yzsbmp4kprm9qk9sv3zikybwg87-clang-wrapper-7.1.0
/nix/store/07f12cjx253kmy2s5l3sxpwz99n5yizj-cargo-1.41.0
/nix/store/0nawrbqivjpnvrdbba6l95y8wmzcysxi-nss-cacert-3.51
/nix/store/2wzy260i8b8a3c1xnf4wgq5n2cxv06y4-cctools-port
/nix/store/3idi8cx1i3ismq4lh3c3plxy0jn8jbi0-expand-response-params
/nix/store/4m82hrq0xgi67j1wj53sr0bl2c0lf5av-llvm-7.1.0-lib
/nix/store/55cm7pz36vxy4lmj3l5fm7s9bh7ldy1j-clang-7.1.0
/nix/store/61p7wlwj927lnza6cn6sm01rvxbqyaca-jq-1.6-lib
/nix/store/6559s991g16wqhj6kyfa2am0qyy0p09s-llvm-7.1.0
/nix/store/7n9yjfzjxp3b71rj930840w5m1zijsxm-compiler-rt-7.1.0
/nix/store/7qhv5gzxaf10d0gkdlr6fpzylyp9f7gl-llvm-9.0.1-lib
/nix/store/7xqndfgcfsqbc8559y8zksiax3r59rgr-onig-6.9.4
/nix/store/8w866l3qn0fjpxp43yqxffk5xyxzpdg2-ncurses-6.2-man
/nix/store/9s9b2k6mipllqi84nb7hcy49i3mygsmh-libxml2-2.9.10
/nix/store/a8jb3ki1l57n17vijkrak0fm8580scz8-openssl-1.1.1d
/nix/store/bpkijvd9n58yzmii2cj96jnb0gz848j5-nghttp2-1.40.0-lib
/nix/store/c9wjlsjx1xkbljsvk90npmj76phnvch9-binutils-2.31.1
/nix/store/csiz4iyaanaga7v9d24gqv4ss2pznqp2-ncurses-6.2-dev
/nix/store/dhywhjyd9kl3bgj2si0flxlaxfb46smz-libffi-3.3
/nix/store/gf9dby7s5dssz3cjl959q531zgzahjjb-libkrb5-1.18
/nix/store/hhy5g31igqyqg0vrh0k2nzvya8rr3569-compiler-rt-7.1.0-dev
/nix/store/iv7fxj73qicg1crnvnlrg6l2j1silmc3-jq-1.6-bin
/nix/store/izvb1pxcljmwblf8cb6zp2wwzl9m9vr5-ncurses-6.2
/nix/store/j3r2mhrflkg0wi1nafkl690yhiy0yjls-curl-7.68.0
/nix/store/j6148qvjhcm25yqh852mcc3rv4wfpdwy-cctools-binutils-darwin-927.0.2
/nix/store/m4zfzq5j7fzy7nkqyfnwvr98lcby9j4k-libc++-5.0.2
/nix/store/mqkhmcjv3w3qbzr975nyqx8z5p23m3s2-jq-1.6-dev
/nix/store/nclby6zpy1lnixsfzd66khsz523fd5f8-lndir-1.0.3
/nix/store/pngf7h0rm43ajc0xcm19gvi3m1v1glzh-zlib-1.2.11-dev
/nix/store/sd9ra56mn8c1kh1d769jpl51pc4q60ns-llvm-9.0.1
/nix/store/vdzl2yh916ygj7qlylyswp1a3w46z6yf-cctools-binutils-darwin-wrapper-927.0.2
/nix/store/x5am8wmdv25mi1yz8f7vs11zlkibgyb0-rustc-1.41.0
/nix/store/xqj4gigqdhyk1zn3a3mq65fk845brw7p-stdenv-darwin
/nix/store/y5cj56z0vjbncvzrdgsbc1s97d6xzcdc-libssh2-1.9.0
/nix/store/yi095by9g9bb3x5vagw9k8qazjvsipjk-clang-7.1.0-lib
/nix/store/yqjswzmcl26633bm6sdnw2fpz444pcf5-libc++abi-5.0.2
error: while setting up the build environment: getting attributes of path '/usr/lib/libSystem.B.dylib': No such file or directory
nix-build -j 0 -A buildRustCrateTests --system x86_64-darwin --builders 'ssh://peter@dipmac.local x86_64-darwin' --option allowed-impure-host-deps '/bin/sh /usr/lib /dev /usr/lib' --option builders-use-substitutes true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment