Skip to content

Instantly share code, notes, and snippets.

@dcastro
Created February 12, 2021 11:15
Show Gist options
  • Save dcastro/5c9e285e83dadaec257360f31d2ce158 to your computer and use it in GitHub Desktop.
Save dcastro/5c9e285e83dadaec257360f31d2ce158 to your computer and use it in GitHub Desktop.
nix + custom build type
$ nix-build ci.nix -A all-components --no-out-link
building '/nix/store/bflfb6jrxykrp53fkd5f0gd0d45z776s-git-ls-files.drv'...
trace: To make this a fixed-output derivation but not materialized, set `stack-sha256` to the output of /nix/store/w4f2lcmndg68m64cdrhm1vkhz2s216i7-calculateSha
trace: To materialize the output entirely, pass a writable path as the `materialized` argument and pass that path to /nix/store/y1w6r7c4wrvhllzmz4k3h6g30b4hph74-generateMaterialized
building '/nix/store/36nhcnn93ik0zdsmbcbrpqbq0ajl5lsc-morley-stack-to-nix-pkgs.drv'...
substituteStream(): WARNING: pattern '/nix/store/fn96af9026mkyk28pj3ivwd9drzd247m-morley' doesn't match anything in file '/nix/store/zyzl3v6lww8a81qhmv052075a4qbbj7n-morley-stack-to-nix-pkgs/default.nix'
substituteStream(): WARNING: pattern '/nix/store/fn96af9026mkyk28pj3ivwd9drzd247m-morley' doesn't match anything in file '/nix/store/zyzl3v6lww8a81qhmv052075a4qbbj7n-morley-stack-to-nix-pkgs/pkgs.nix'
these derivations will be built:
/nix/store/mpd8x6d3z1k1slzg0749hpx8nbv76nyq-morley-1.12.0-setup-config.drv
/nix/store/amj42rpx64ga410nl8gya0yhwbnrl7aa-morley-1.12.0-setup.drv
/nix/store/bknfd2zqjahzaks2663g67v0ipc7pdcl-morley-lib-morley-1.12.0.drv
/nix/store/08wkjf2wvakcjnla9k6rsacc698z346d-morley-exe-morley-1.12.0-config.drv
/nix/store/iy0pcs9zmhd6i41m8ncynmyds8vv1z2z-lorentz-lib-lorentz-0.9.1-config.drv
/nix/store/j5n3qna7x3slp1f2dmzalx686iy2y55l-lorentz-lib-lorentz-0.9.1-ghc-8.8.3-env.drv
/nix/store/0x114ldaxzg1pz91gpvjxfl4l6na7p8x-lorentz-lib-lorentz-0.9.1.drv
/nix/store/p21fqn7z4gfx2iyrn34dg9rxwi38hasq-morley-client-lib-morley-client-0.1.0-config.drv
/nix/store/0cd2m7avkvbk762g9aqjfkdk36j5rjsy-morley-client-lib-morley-client-0.1.0-ghc-8.8.3-env.drv
/nix/store/0ab3b7wvh13gjsgs1yvkplzk6rwk9jnr-morley-client-lib-morley-client-0.1.0.drv
/nix/store/qh9dik3flfzxsk276x4q3xbdg1z9zpkn-morley-client-test-morley-client-test-0.1.0-config.drv
/nix/store/8cwgf7jns7gybbv6h5q4yhj4jsiylxzv-morley-client-test-morley-client-test-0.1.0-ghc-8.8.3-env.drv
/nix/store/0rhw80w2ldmmr4rz6nfsn1qwifxj5dkm-morley-client-test-morley-client-test-0.1.0.drv
/nix/store/i1rj3i9dqw3agqpygz0ywfkxgkfngmfp-cleveland-lib-cleveland-0.1.0-config.drv
/nix/store/k3hc5269g6wbv0v7sagyhpm038wjf2yd-cleveland-lib-cleveland-0.1.0-ghc-8.8.3-env.drv
/nix/store/g524j1wsya2w0nygskknzqv48kvn3mk5-cleveland-lib-cleveland-0.1.0.drv
/nix/store/0zyay26z8gk5px0kcaccf6ivb9f2pinv-cleveland-test-morley-test-0.1.0-config.drv
/nix/store/ynnma6bfynjj9dzrfqrna06nrx2k3786-cleveland-test-morley-test-0.1.0-ghc-8.8.3-env.drv
/nix/store/1kpf4wg4yz006p7aaymqmxpnnc7yjd9h-cleveland-test-morley-test-0.1.0.drv
/nix/store/7kwwh8h0pygzcdvd18b35dbgj5c9ca28-morley-client-exe-morley-client-0.1.0-config.drv
/nix/store/w9gzakfzcm4dhgmfblj0csjkm44qiq9z-morley-client-exe-morley-client-0.1.0-ghc-8.8.3-env.drv
/nix/store/3p3yygi6bflq98am0r59bzzcqh6b6kb4-morley-client-exe-morley-client-0.1.0.drv
/nix/store/v9q6y1hg9vif5bmb2vs3fn56f21prjbr-cleveland-bench-morley-bench-0.1.0-config.drv
/nix/store/4ijg10vqnym0z3cf889j0zwa56w4r2kc-cleveland-bench-morley-bench-0.1.0-ghc-8.8.3-env.drv
/nix/store/z7jmbsal5rafr06bssfxp9vbv9crk370-autodoc-sandbox-lib-autodoc-sandbox-0.0.0-config.drv
/nix/store/8k09q1wpczlg46d79kwj2qxygfrkw5mj-autodoc-sandbox-lib-autodoc-sandbox-0.0.0-ghc-8.8.3-env.drv
/nix/store/r1x4rpappsnwcb3fcv8wpj29z4dclybc-autodoc-sandbox-lib-autodoc-sandbox-0.0.0.drv
/nix/store/5f8qnqfq651gbrpw585a9vnc45y72773-autodoc-sandbox-test-autodoc-sandbox-test-0.0.0-config.drv
/nix/store/lrdik5xzvr3wpnhrz64iabiqgv2snnbx-autodoc-sandbox-exe-autodoc-sandbox-registry-0.0.0-config.drv
/nix/store/8nl21g10ms9zf911v7fw83hmvakh0z4x-autodoc-sandbox-exe-autodoc-sandbox-registry-0.0.0-ghc-8.8.3-env.drv
/nix/store/dhm7msa8pivx5xzhlr4v5fsrxajryjvb-autodoc-sandbox-exe-autodoc-sandbox-registry-0.0.0.drv
/nix/store/gjpl0s715y9ds7hckliz3zqf5s6dj46b-cleveland-test-cleveland-test-0.1.0-config.drv
/nix/store/nh0h261rranl7pnslr55aq4nwn6a2war-cleveland-test-cleveland-test-0.1.0-ghc-8.8.3-env.drv
/nix/store/k39hmm308ryl2qmxjf6f1cwhbzl9rd1m-cleveland-test-cleveland-test-0.1.0.drv
/nix/store/wc14pgl01zp0ag0r9csb96vz0jgx9q77-autodoc-sandbox-test-autodoc-sandbox-test-0.0.0-ghc-8.8.3-env.drv
/nix/store/kc6djqhfshcr99wdq9arrcw016b4ansa-autodoc-sandbox-test-autodoc-sandbox-test-0.0.0.drv
/nix/store/s7q7r5safg59ixc4lkdq5w63wh79hspa-cleveland-test-lorentz-test-0.1.0-config.drv
/nix/store/wl5kgypi3f9d6wlycr6g6w4fy2x4f8f2-cleveland-test-lorentz-test-0.1.0-ghc-8.8.3-env.drv
/nix/store/n96d3q657bh55wvj9lbc7vs8kw3h8hna-cleveland-test-lorentz-test-0.1.0.drv
/nix/store/nvhnyhz02an6qx3hhn3scy8x75q2k90d-cleveland-bench-morley-bench-0.1.0.drv
/nix/store/zh6b60g1fgak1q2rbjh52q166353s250-morley-exe-morley-1.12.0-ghc-8.8.3-env.drv
/nix/store/v1hq175nk86d51iarp722p5yraaf16cy-morley-exe-morley-1.12.0.drv
building '/nix/store/mpd8x6d3z1k1slzg0749hpx8nbv76nyq-morley-1.12.0-setup-config.drv'...
building '/nix/store/amj42rpx64ga410nl8gya0yhwbnrl7aa-morley-1.12.0-setup.drv'...
unpacking sources
unpacking source archive /nix/store/sskcsmw3hr9lwwmzkpcyr2nnwb07hm78-morley-root-code-morley/code/morley
source root is morley
patching sources
building
Compiling package Setup.hs
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking ./Setup ...
installing
/nix/store/50780gywsyjad8nxrf79q6qx7y7mqgal-stdenv-linux/setup: line 82: cd: dist: No such file or directory
builder for '/nix/store/amj42rpx64ga410nl8gya0yhwbnrl7aa-morley-1.12.0-setup.drv' failed with exit code 1
cannot build derivation '/nix/store/v1hq175nk86d51iarp722p5yraaf16cy-morley-exe-morley-1.12.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/0ab3b7wvh13gjsgs1yvkplzk6rwk9jnr-morley-client-lib-morley-client-0.1.0.drv', '/nix/store/0rhw80w2ldmmr4rz6nfsn1qwifxj5dkm-morley-client-test-morley-client-test-0.1.0.drv', '/nix/store/0x114ldaxzg1pz91gpvjxfl4l6na7p8x-lorentz-lib-lorentz-0.9.1.drv', '/nix/store/1kpf4wg4yz006p7aaymqmxpnnc7yjd9h-cleveland-test-morley-test-0.1.0.drv', '/nix/store/3p3yygi6bflq98am0r59bzzcqh6b6kb4-morley-client-exe-morley-client-0.1.0.drv', '/nix/store/bknfd2zqjahzaks2663g67v0ipc7pdcl-morley-lib-morley-1.12.0.drv', '/nix/store/dhm7msa8pivx5xzhlr4v5fsrxajryjvb-autodoc-sandbox-exe-autodoc-sandbox-registry-0.0.0.drv', '/nix/store/g524j1wsya2w0nygskknzqv48kvn3mk5-cleveland-lib-cleveland-0.1.0.drv', '/nix/store/k39hmm308ryl2qmxjf6f1cwhbzl9rd1m-cleveland-test-cleveland-test-0.1.0.drv', '/nix/store/kc6djqhfshcr99wdq9arrcw016b4ansa-autodoc-sandbox-test-autodoc-sandbox-test-0.0.0.drv', '/nix/store/n96d3q657bh55wvj9lbc7vs8kw3h8hna-cleveland-test-lorentz-test-0.1.0.drv', '/nix/store/nvhnyhz02an6qx3hhn3scy8x75q2k90d-cleveland-bench-morley-bench-0.1.0.drv', '/nix/store/r1x4rpappsnwcb3fcv8wpj29z4dclybc-autodoc-sandbox-lib-autodoc-sandbox-0.0.0.drv', '/nix/store/v1hq175nk86d51iarp722p5yraaf16cy-morley-exe-morley-1.12.0.drv' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment