NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.89k stars 1.53k forks source link

Derivation with required feature assigned to wrong host #3188

Open toonn opened 5 years ago

toonn commented 5 years ago

I have an old 32bit machine that's very low on memory. Many things don't build successfully and the things that do aren't built particularly fast. So I set up a remote builder:

toonn@toxsol x86_64-linux,i686-linux /home/toonn/.ssh/nix_id_ed25519 2 10 benchmark,big-parallel,kvm,nixos-test,haskell 

One of the culprits re memory usage are haskell packages, probably because of GHC. So I gave all of them a "haskell" feature in an overlay:

self: super: {
  haskell = super.haskell // {
    packageOverrides = super.lib.composeExtensions super.haskell.packageOverrides
      (hself: hsuper: {
        mkDerivation = args: (hsuper.mkDerivation args).overrideAttrs (oldAs: {
          requiredSystemFeatures = [ "haskell" ];
        });
      });
  };
}

However, when trying to build a haskell package, taskell in this case (sadly no 32bit binaries available), I get an error that seems to suggest a haskell package, happy-1.19.9 in particular, is being built locally and then the local machine errors because it doesn't support the "haskell" feature:

Running scope as unit: run-u68.scope
these derivations will be built:
  /nix/store/ca4y75wgzvq01r5vl1zx3s5smw19f9jb-hscolour-1.24.4.drv
  /nix/store/1vrp4l8pzjk3slzd18gscj4n01ryqwhw-erf-2.0.0.0.drv
  /nix/store/kxsybskgc275agm3c0n9pqg183lwsqln-random-1.1.drv
  /nix/store/yw9bc7ik43c7r41mpm4drjf8yrvgg843-primitive-0.6.4.0.drv
  /nix/store/pdxbb140k4838pxr0sl5jvahpdpm2c6y-tf-random-0.5.drv
  /nix/store/afhgdfdg1rim5x336faazqckq1vvhcj5-QuickCheck-2.12.6.1.drv
  /nix/store/wn82jwv7zgghp3icwmwwbmzm6zpzy14k-extensible-exceptions-0.1.1.4.drv
  /nix/store/afqcjhxp6m0hwbd01izxn2sf3lg07wia-xml-1.3.14.drv
  /nix/store/h11fnpj2kndmsgs78k318i13wp2imyi1-hostname-1.0.drv
  /nix/store/j0fh8gxs0gjk95rhrl9z5gq2s24d79cc-old-locale-1.0.0.7.drv
  /nix/store/d6gq23jdm5zky2rasdc8yl9vln589gl7-colour-2.3.4.drv
  /nix/store/nb78qi36yqy482xylg2n4848jhzczr5k-ansi-terminal-0.8.2.drv
  /nix/store/picyrfp4f9m7bbr25n3wzwhmq70jpasf-ansi-wl-pprint-0.6.8.2.drv
  /nix/store/lsd8j7q7clhqq77wpc1pprl29lzlzg1z-regex-base-0.93.2.drv
  /nix/store/rrd2x3k874p1smkzr25dpgl063wjzkl0-regex-posix-0.95.2.drv
  /nix/store/yfrpna7m9nlxrib3qyrfgddhby8nam0y-test-framework-0.8.2.0.drv
  /nix/store/35z2d68rnz3jl70hl9dp09906c93fyxg-test-framework-quickcheck2-0.3.0.5.drv
  /nix/store/n3l5z0kp0xdqnx1hxk212ck8h2ayicib-nanospec-0.2.2.drv
  /nix/store/ibv50j96hm7zc88q9ypbqqrl7kq03677-call-stack-0.1.0.drv
  /nix/store/g1bad57dlxwh7d3d8k6g2h7sbnw8g6rl-HUnit-1.6.0.0.drv
  /nix/store/s8y01a4kqcaygzjpm10lbcdjmfmxq68x-test-framework-hunit-0.3.0.2.drv
  /nix/store/01x2nxx3793h2ji2zqfngswb9615zwsg-hashable-1.2.7.0.drv
  /nix/store/i6aa2p70d471bp1xdxqfdragdpvyy592-basement-0.0.10.drv
  /nix/store/k3xmawdn4zzq59lp55n3kr0xxs220i5y-foundation-0.0.23.drv
  /nix/store/mllk0zfqmkqi923b69bprwmnahp8jcaj-memory-0.14.18.drv
  /nix/store/02dzyd8g8xcq3cnzqnvs9kyadlbj6nnk-pem-0.2.4.drv
  /nix/store/06g5m8c4q9gg2fy5fimdl5f7ai2rxn8p-network-uri-2.6.1.0.drv
  /nix/store/lpkrv0flj53jkzwrcnz8m0gl0r3nh2jn-jailbreak-cabal-1.3.4.drv
  /nix/store/1i5pb9l3q6yzc90jc2zw3bchpy23555j-case-insensitive-1.2.0.11.drv
  /nix/store/28mlw5lp6j3g2qivc22inwsz5n77shq2-async-2.2.1.drv
  /nix/store/c7ja74wfffb4rnvazswdz53qqipc5jqa-zlib-0.6.2.drv
  /nix/store/q2ybmrvnrqi2l3i57qrls5cy9gh34nb6-network-2.8.0.0.drv
  /nix/store/6k60c9vqx88qbsglns4h52jzpzdyynj7-streaming-commons-0.2.1.0.drv
  /nix/store/ncaadkx97axr71wg0n6hkicaf209ylrf-mime-types-0.1.0.9.drv
  /nix/store/zv8hawxw4f7lw9mp6r5darqnipns23cm-transformers-compat-0.6.2.drv
  /nix/store/ndl6fa7qyz5c530dbsnpi6a4is5l4a31-exceptions-0.10.0.drv
  /nix/store/jijxm8w1kn76mm0rbbq1wc3g8vy0rrs9-logict-0.6.0.2.drv
  /nix/store/idsg5s8n8s8nfs6sk97j2scgzjisyr5n-smallcheck-1.1.5.drv
  /nix/store/0kszf5j6wfcq8slkb1b4w8xp5iwrz8kf-optparse-applicative-0.14.3.0.drv
  /nix/store/5dwldlizwzmm7ayvrjfrxfbvhm4z37qd-unbounded-delays-0.1.1.0.drv
  /nix/store/9qw26ggsdlxia8sg6gv7xxsgw38jfk18-wcwidth-0.0.2.drv
  /nix/store/bypxpwv93qj314zirj47k4bzhjzlb6bb-clock-0.7.2.drv
  /nix/store/z4k72xmilcwfjsnfm1y4xagrf55nr1vv-tagged-0.8.6.drv
  /nix/store/kshp6k7cblly58zfrdplglwhn6a2p32p-tasty-1.2.drv
  /nix/store/1c9id18xq0ha26x2gsh9gsvm7022jjva-tasty-smallcheck-0.8.1.drv
  /nix/store/5qrhjqgw9clcl5p63q1843w51w782w6w-integer-logarithms-1.0.2.2.drv
  /nix/store/clkw3avyh2dx4agdlfrvd05h39mfn02m-quickcheck-io-0.2.0.drv
  /nix/store/fzx38avjm3hpsnripq9xafdp9mhp43c7-hspec-expectations-0.8.2.drv
  /nix/store/jgrk3diapg6chhi19ak742pkvm6x0r21-setenv-0.1.1.3.drv
  /nix/store/d73s2bzdfzm4gikvj6idbxk8xx3acyw1-hspec-meta-2.6.0.drv
  /nix/store/azm9if22pagyi4sqc3if43whkx2s7gws-hspec-discover-2.6.1.drv
  /nix/store/547mj20fqa9wqp31ra5fya65kq87295f-temporary-1.3.drv
  /nix/store/sf9ai2rnqwny0zasrpgv5rmhcqlbqpai-silently-1.2.5.drv
  /nix/store/ph2w5lip5swqdmyhzf8x5wk8ryiikjzy-hspec-core-2.6.1.drv
  /nix/store/n9zhp5xd7a45llfv91jnh1zmnaivj5i1-hspec-2.6.1.drv
  /nix/store/rcnf5ps5ip9ldc74jpmy588frzyhjnlx-th-abstraction-0.2.11.0.drv
  /nix/store/s0grrbgjy0ib75s0bb4ynmjzq85hw2z3-generic-deriving-1.12.3.drv
  /nix/store/rl2zfpb94iqvff83y2m0h13ad480ab4n-tasty-ant-xml-1.1.6.drv
  /nix/store/wi7sb36k3l4k3fn8i81icymlljdnq82i-tasty-hunit-0.10.0.1.drv
  /nix/store/6prnph8kl4mq3xgsmdkds4a3y7wp9vnd-pcre-light-0.4.0.4.drv
  /nix/store/z1lavbhgw80dvzm78bpwkj9qdk4wbnqz-tasty-quickcheck-0.10.drv
  /nix/store/04xxqd58y2lj5xkgnphgsggpr9jcl6lx-scientific-0.3.6.2.drv
  /nix/store/6bbm660qdhfqifvd2pn5xsbd2sgc0z5a-base-compat-0.10.5.drv
  /nix/store/7qmjpk1qa50q291f7dc8yhagl8hspi9x-uuid-types-1.0.3.drv
  /nix/store/84w0cnhh8i3apq8sba8ml70b1xhajd4d-vector-0.12.0.2.drv
  /nix/store/b9nrnrw3i8bz6b5rn8w895yk2bhhvzly-old-time-1.1.0.3.drv
  /nix/store/mk0591f2s4mhlyas5jgk2is29xfvyyp8-unordered-containers-0.2.9.0.drv
  /nix/store/0jz2vg9mphkvz52vz5gwwkhbchfb4cr5-quickcheck-instances-0.3.19.drv
  /nix/store/3n63b9r1h14yhifikvhxi97b271frpqh-syb-0.7.drv
  /nix/store/84pm0x6q7vs59bddjdj3pyzf0fhkhi4v-ghc-paths-0.1.0.9.drv
  /nix/store/nfndyhdmvnfn6np7izlvrj5sw3jfslns-code-page-0.2.drv
  /nix/store/l04a41s2l66aq71acdl3dl9pb5frpic3-doctest-0.16.0.1.drv
  /nix/store/rvx0dz47d666ybcn437wm00d2syymj6q-http-types-0.12.3.drv
  /nix/store/xhvvv8qa6rnlvxb1634x5g0kh7kll64x-data-default-class-0.1.2.0.drv
  /nix/store/vlxs62cz2jj60hiisl1h08xrvjl767z3-cookie-0.4.4.drv
  /nix/store/cy64z425bpsp3azgmx2nzf6a3qpmvfbm-utf8-string-1.0.1.1.drv
  /nix/store/x75bdxfzalsi3fbm6y697i6303pzhyx7-blaze-builder-0.4.1.0.drv
  /nix/store/03hkhnmm7n5d8i70w9zx3gpnalqc4dx9-http-client-0.5.14.drv
  /nix/store/f1fz144fhawmzxla25dmw7ksw2l8v7v7-semigroups-0.18.5.drv
  /nix/store/p8h5l3jiwhfmz688by1mbanradilh1ml-base-prelude-1.3.drv
  /nix/store/31b0hzbiy28yiyxlcy4rqrp0rd3wny47-vector-builder-0.3.7.2.drv
  /nix/store/0wmq43xww5hb7hh601a40mcnn58ym6ad-data-default-instances-old-locale-0.0.1.drv
  /nix/store/6zpi8a7q53ygj7hfgfi2k78ll9qv4sm4-data-default-instances-containers-0.0.1.drv
  /nix/store/8fdx29w04r1wyql783iai2pjq214rxg5-dlist-0.8.0.5.drv
  /nix/store/v0w0gi73g9cybcqbigg1dmacpj6w06ap-data-default-instances-dlist-0.0.1.drv
  /nix/store/2wc19q81vdgxb1bijflfls7q5xbwffi5-data-default-0.7.1.1.drv
  /nix/store/i73yg94xvmpqi3szkhaiqyqwgli6mgqg-vector-th-unbox-0.2.1.6.drv
  /nix/store/7mnjprgvfzcyy78hkr7dmafn8v432wmy-math-functions-0.3.1.0.drv
  /nix/store/dkn9ncih5wvyrzybwp0rnvi06sw12x76-mwc-random-0.14.0.0.drv
  /nix/store/8f0r5kncb2r5vw4s8fn5cvzrlg2j96p8-StateVar-1.1.1.1.drv
  /nix/store/ngj1brfm52gw5q73s657bgdr3phiwqhy-contravariant-1.5.drv
  /nix/store/y14kjqb8pga036k0fyz4i5givpil97px-cabal-doctest-1.0.6.drv
  /nix/store/zj4krssxljzx5izf57539mp6ri5k2n0d-base-orphans-0.8.drv
  /nix/store/zcnhlq0jnx9cdnq1rqmqj2dwxspfax5g-distributive-0.6.drv
  /nix/store/n6lqqjqfsf6wv0ryd30amd3zhyr7smph-comonad-5.0.4.drv
  /nix/store/sk0r0qfv16z31si91hmydgpd6f755wl7-bifunctors-5.5.3.drv
  /nix/store/nnswjlmp41vhr9djpch3fa4bz8jlx674-semigroupoids-5.3.2.drv
  /nix/store/w3j3d02j7dyzfa8jryk8v5vcbgpk23c4-profunctors-5.3.drv
  /nix/store/2wpk5yzhvp3gzw3cd1zmf911gj8655iv-foldl-1.4.5.drv
  /nix/store/aj6894ik877ldphnc2kjw9w2zj3z4cgf-split-0.2.3.3.drv
  /nix/store/bryy5byy4ak31a60dph2f3dvcwwrg6wz-vector-algorithms-0.8.0.1.drv
  /nix/store/74p6z52gqva4gmimzw0axnz8swkpfn7a-mono-traversable-1.0.11.0.drv
  /nix/store/0f2ys6wjzcih546q6iwp04slypq7kfvj-mutable-containers-0.3.4.drv
  /nix/store/0ws170jikw7fai09wksjka4lclg02j97-text-metrics-0.3.0.drv
  /nix/store/dgkqv9z241jin0ah47jrndrbdjmcnyla-temporary-1.3.drv
  /nix/store/l6l2vxd2271wafv9jaccxs4sfwrgdjv4-logging-facade-0.3.0.drv
  /nix/store/0ydix83hpz029320af7xmzc6s04bnlrg-mockery-0.3.5.drv
  /nix/store/0yvldvviwx12b9lb5653lrb4dikmd0sv-raw-strings-qq-1.1.drv
  /nix/store/jd8115bpw2ss77npg76ry4rr9l90gv9n-unliftio-core-0.1.2.0.drv
  /nix/store/qd5y5788njy65ns8qylby8kymdvrzpvj-unliftio-0.2.10.drv
  /nix/store/183nw6wbql677lk3k711n2zf713avi37-say-0.1.0.1.drv
  /nix/store/jh42bffflbzjm0s88bz5whwk4wih9672-th-expand-syns-0.4.4.0.drv
  /nix/store/y585zb1k6ljnrbg4svbylf19zl5vij1b-safe-0.3.17.drv
  /nix/store/26wvnnkchpacq5s80hiyvyy4xbnc4dpf-th-reify-many-0.1.8.drv
  /nix/store/cv8b0bm9wxm19lgaii3gd22g7cmrblkc-hourglass-0.2.12.drv
  /nix/store/4mfhy56az5ryl3cx9464rmg206cwvp6m-asn1-types-0.3.2.drv
  /nix/store/mn8m4i56hfq3rwdyxbabh20vpxpfsp54-asn1-encoding-0.9.5.drv
  /nix/store/gd30gzlaalz23sx1bchfv5bx0shw0714-asn1-parse-0.9.4.drv
  /nix/store/z3rfvrchb1bf3n443j7srr9b3g1iq1b3-cryptonite-0.25.drv
  /nix/store/2c0xbs6l11aa1rgpimk38i265qni07gs-x509-1.7.5.drv
  /nix/store/n2hml1yjjqkjw7fkkdxqs2dxmvasgrji-transformers-base-0.4.5.2.drv
  /nix/store/2f9i06pj1qlbx7bcwqslvmi5g6axsasl-monad-control-1.0.2.3.drv
  /nix/store/2fqb9dhz87nmna48dap5w5gaprc8rxlp-text-zipper-0.10.1.drv
  /nix/store/51a0xr7vr8i2rsbqwgr73kk4910j5gqq-happy-1.19.9.drv
  /nix/store/sh16w4yb2gdyqf3l8xcd8aywsh0yq08m-haskell-src-exts-1.20.3.drv
  /nix/store/ljfd809rwsz82jwryzsykfkr3xi5i423-th-lift-0.7.11.drv
  /nix/store/y524x2iry7gwgbvam1qwzdn08a6ayw0j-th-lift-instances-0.1.12.drv
  /nix/store/sy3lq2sgmv5p6sd140bsvrshj0fmgg67-th-orphans-0.13.6.drv
  /nix/store/34l5r357kaagi9w61wsinw1k65v0bx61-haskell-src-meta-0.8.2.drv
  /nix/store/74hmj3cd9vvbxgvf5aqg0s7dh5cz33jq-x509-store-1.6.7.drv
  /nix/store/3apb24a5z6az4bnql8wnz8anha311wvn-x509-validation-1.6.11.drv
  /nix/store/h2kpihavqlrkp8qjj2dbf1qv1v0b4dis-x509-system-1.6.6.drv
  /nix/store/56b9zfmbwb8y7jxwbdcnzshp70a0fp3h-cereal-0.5.8.0.drv
  /nix/store/qkbmy41w5qrmd6kwm49ah78n2n6nx2by-socks-0.5.6.drv
  /nix/store/xamj6wky05q7am79yb4g43hcrv9gyxc3-tls-1.4.1.drv
  /nix/store/zs4d2ncd505hzl6a24f3m5ls4gdv58wl-byteable-0.1.1.drv
  /nix/store/6spf5i8vrid1nr9c4h6xr41mgal5rblr-connection-0.2.8.drv
  /nix/store/39c3qpw7p00havm7dznwrsj3p9y2bnxy-http-client-tls-0.3.5.3.drv
  /nix/store/3bll6q0ggzp7414xw7cs0h8rgw5ywsd3-silently-1.2.5.drv
  /nix/store/pzm86pg06f84m4z95bnvy4biibcvqg25-terminal-size-0.3.2.1.drv
  /nix/store/3wspk0q1dzax8nvybpzi2s120iwwmb3z-concurrent-output-1.10.9.drv
  /nix/store/5h4k3pqkf7l4y1xhbvin3x7vkmzky45q-attoparsec-0.13.2.2.drv
  /nix/store/cy7yl9gpwhkgqbbbx1kzdy0pkj1r26fa-bytestring-builder-0.10.8.2.0.drv
  /nix/store/ri5mb8p6xzjgm1hbphxa92a5gqmzq0j2-typed-process-0.2.4.0.drv
  /nix/store/y6y79mq6ab5b3hg6lkzan3kysjbqsbdf-resourcet-1.2.2.drv
  /nix/store/ybbh2n85bzjg8bzr4lwd096w5m7pccxw-conduit-1.3.1.1.drv
  /nix/store/4ml2fic2c56xhnwb36g92mcvk8ciswvd-conduit-extra-1.3.1.1.drv
  /nix/store/55knwkns2ks6r4qq3b14hcyli8swyc97-file-embed-0.0.11.drv
  /nix/store/pif0xvj0jfwnvlb2k5pnq3fqhc1skdfa-lifted-base-0.2.3.12.drv
  /nix/store/q83qylay72qhqvsah0h9fwn513d968y8-constraints-0.10.1.drv
  /nix/store/w0vszklb4n0y0c9szlvzcj8hnj67x28z-tasty-expected-failure-0.11.1.1.drv
  /nix/store/zla71rnksr6mzzplf8wpxkpl5idi1v5x-tasty-th-0.1.7.drv
  /nix/store/636329jdm6qm4d06xj25hlxpb6l3k2lr-lifted-async-0.10.0.3.drv
  /nix/store/c4f17i85zvzmvnwly6d5s5jyr3qxgil8-wl-pprint-annotated-0.1.0.1.drv
  /nix/store/a09h19qm3vyswdskpm7f6s83bn4q5p7b-haskell-lexer-1.0.2.drv
  /nix/store/hzv30y6yjrhxs3h7dgljax63xarkvkjl-pretty-show-1.9.5.drv
  /nix/store/k2v966hga9qjvwcy7v9dwwlz9d3qldai-mmorph-1.1.2.drv
  /nix/store/p8j35dsyjz8cwqh6gvrcsyk6l34wnsa8-hedgehog-0.6.1.drv
  /nix/store/55n1rf7bijis673dy402vqlmlplz5mic-tasty-hedgehog-0.2.0.0.drv
  /nix/store/59kh05wd125y3w4g1qn0839n2caswyjh-free-5.1.drv
  /nix/store/9ybwrg1rcbqjpnc7mvzfnv45w2mw2m2s-chunked-data-0.3.1.drv
  /nix/store/aq4p387zknjq4970d8gnk440vvb18g2k-dlist-instances-0.1.1.1.drv
  /nix/store/9954h93zha3pxm9c8x0kip5cc7mmpnh6-keys-3.12.1.drv
  /nix/store/ww89f6ci3n9sinbfi619c48ak3v2g3gb-void-0.7.2.drv
  /nix/store/bmrh44mgzpidpgmzp3kn0s6yrap21y61-adjunctions-4.4.drv
  /nix/store/d3b3prnyvjqrp3nhhs6jxqvi54bbi82f-invariant-0.5.1.drv
  /nix/store/d6h4zyxgwi2apd54m5x3hz512s4lgc84-kan-extensions-5.2.drv
  /nix/store/mgjwkij8p0x9zcryshk0ravf7yh3zalx-pointed-5.0.1.drv
  /nix/store/psa9z600hi5y69x98jwmvh00jr1va77p-vector-instances-3.4.drv
  /nix/store/acnxlbymilx7a4cvqky9w1dvplgx2kyg-mono-traversable-instances-0.1.0.0.drv
  /nix/store/n3zaxr8v5dqaywn711cz9h2jhz0rpiax-stm-chans-3.0.0.4.drv
  /nix/store/s2x04vaplz4fbpnvbcbl8s7v1z3ijgvq-basic-prelude-0.7.0.drv
  /nix/store/74rgdcgk8hhhp6r9iyf11xd13rikdadd-classy-prelude-1.5.0.drv
  /nix/store/dxlx1ica51jrnh3wk3mfjrccd9hzcw5h-hashable-time-0.2.0.2.drv
  /nix/store/mbi1mrqyz9y177r8bxb180pw23ky7886-base16-bytestring-0.1.1.6.drv
  /nix/store/wj3m4jcxdfwgwdkq64ljw64nmsbhfa0b-time-locale-compat-0.1.1.5.drv
  /nix/store/a4nwppdrlrdj00332ydv976hzg9r5z0d-aeson-1.4.2.0.drv
  /nix/store/xms62iyqvdw221k1bv960r4wis44g8i4-parser-combinators-1.0.1.drv
  /nix/store/y6g37ngxymyga91bkgq2nc4wbamhlgkx-megaparsec-7.0.4.drv
  /nix/store/c3gm18m5lrphs2q4a0z29m4jbg1vzad8-config-ini-0.2.4.0.drv
  /nix/store/hnqgx4vxq8ylqwd3lkxg4z2w9l2gn2hc-http-conduit-2.3.6.1.drv
  /nix/store/695ywy4nmbznbxd14r4bm9ip2cpkpafl-nats-1.1.2.drv
  /nix/store/x19vvqc6dp23pj3sp7vnw1l3ja042gkw-language-haskell-extract-0.2.4.drv
  /nix/store/csa9idfvw3xizqr90wxmhql3zdkw7wa9-test-framework-th-0.2.4.drv
  /nix/store/g0ag48kmx7s4w1v842q03d8rfxf847sw-reflection-2.1.4.drv
  /nix/store/i2sicydq1l12a4mq040fzw98wr5s8pcm-parallel-3.2.2.0.drv
  /nix/store/rh19d1ybvawl0pvc9l2f090vfw16y7nr-simple-reflect-0.3.3.drv
  /nix/store/ish0h6h71ka94xj2f5xk62dkwfdwxsc0-lens-4.17.drv
  /nix/store/rnz97372wq9gvklf82rmzm6higlh6r24-Glob-0.9.3.drv
  /nix/store/ppi8m5fvmc6v1qjkrdrfc908yy1sasn1-tasty-discover-4.2.1.drv
  /nix/store/rram01wbyfgxck1v3vghbvrfxjna9pdc-tasty-hspec-1.1.5.1.drv
  /nix/store/km9dlzcbm032ww9pr8kqaqb9n4gcx1si-tasty-discover-4.2.1.drv
  /nix/store/dn58jim8azqs819pbxva37d4h26smc2g-libyaml-0.1.1.0.drv
  /nix/store/6gds0xq756s581bp0dvx7fh97h8lnayn-yaml-0.11.0.0.drv
  /nix/store/dyv13sp2l3ryygd2l8s8wc4mvq4d1w8w-infer-license-0.2.0.drv
  /nix/store/n9lsxkpq91r5pba75nwvck85ri1fw01q-interpolate-0.2.0.drv
  /nix/store/mbdyfjx42ignzb1ap3d51fysbnlqncfa-hpack-0.31.2.drv
  /nix/store/c37j6j0a9km8gqrxa7rrvn643x5csap6-microlens-0.4.10.drv
  /nix/store/pbvkaxlpqb0361ylgc0zc08yi5aqfhnx-microlens-mtl-0.1.11.1.drv
  /nix/store/vaspbgbigglm2m8a7klg8ld494fasrpa-microlens-th-0.4.2.3.drv
  /nix/store/q1drpx0jp94jlk1bcrjj4b96cwnnvv0m-vty-5.25.1.drv
  /nix/store/6xqs4rq85hw12lkyypdfk8ppnmfplbx7-word-wrap-0.4.1.drv
  /nix/store/pzkfbkfq1cfqc5zc545lby3i757jhgqi-data-clist-0.1.2.2.drv
  /nix/store/qc4siphs6a067a7zq62mf4b7m6pbqjdb-brick-0.46.drv
  /nix/store/rw45hjj60f98sxjgff8qcjrgbn9w2vns-taskell-1.3.2.drv
  /nix/store/fi4brs3gw33gx306dgnp0zzwdpb2gkdw-taskell-1.3.2-fish-completions.drv
  /nix/store/5xbw88mj8hs22px5y4k17bq9dhfcibgz-toonn-fish-completions.drv
  /nix/store/liwn1fc27l5lwmhdmc3k909a7k8q2kq4-home-manager-path.drv
  /nix/store/6f15syk94gr0pv6ma3zg01a540lrgg1v-activation-script.drv
  /nix/store/wg4s1cvwcdqgsvcnsaww9jmphz72wgbw-home-manager-files.drv
  /nix/store/jd6vw7rls6d9j24kq8fc3pc28f0psc37-home-manager-generation.drv
building '/nix/store/ca4y75wgzvq01r5vl1zx3s5smw19f9jb-hscolour-1.24.4.drv' on 'ssh://toonn@toxsol'...
building '/nix/store/lpkrv0flj53jkzwrcnz8m0gl0r3nh2jn-jailbreak-cabal-1.3.4.drv' on 'ssh://toonn@toxsol'...
error: a 'i686-linux' with features {haskell} is required to build '/nix/store/51a0xr7vr8i2rsbqwgr73kk4910j5gqq-happy-1.19.9.drv', but I am a 'i686-linux' with features {benchmark, big-parallel, nixos-test}

nix-info output:

system: "i686-linux", multi-user?: no, version: nix-env (Nix) 2.2.2, channels(root): "home-manager-19.03, nixos-19.03.173279.878531fbdbb", channels(toonn): "", 
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Please let me know if there's more information I can provide, I really want taskell to run on this machine.

bhipple commented 5 years ago

Nix will attempt to build "lightweight" packages like .drvs locally, since for these packages the overhead of doing a remote build is usually greater than the cost of producing the package; see the preferLocalBuild = true option in the manual: https://nixos.org/nix/manual

To force it to build everything remotely, what happens if you try this?

To build only on remote builders and disable building on the local machine, you can use the option --max-jobs 0.

toonn commented 5 years ago

I'm trying this currently, it hasn't failed so far. I wouldn't expect a build, no matter how small, to be attempted locally if the local system doesn't support all the requiredFeatures though.

EDIT: The build finished successfully. As we expected.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

toonn commented 3 years ago

I think this is still a relevant UX issue.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

Ericson2314 commented 2 years ago

Yes preferLocalBuild perhaps should cause an error if the local system doesn't support enough features, or else perhaps it should be ignored and a remote builder used anyways, but it should not do a build locally anyways ignoring the required features.

stale[bot] commented 2 years ago

I marked this as stale due to inactivity. → More info