We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
fix-follows.diff
Running nix-shell in template repo on a fresh install of NixOS 21.05 should succeed.
nix-shell
After cloning the repo and running nix-shell from within its directory, the build fails due to the following error:
hash mismatch in fixed-output derivation '/nix/store/avfapjldz0a50cc1g8ckr7s0786djnd7-fix-follows.diff': wanted: sha256:1ns60jk9w593xza8d4arggqk9yjpfb7fhf2yd36pixajbd5cq8lz got: sha256:05r5icbxblm6ir73smpfjwca69w91aw1dkbk43a3v6454mpn04yk cannot build derivation '/nix/store/0xmncxl92cw09w1cjl8adp3wbnl79wsn-nix-2.4pre20210707_02dd6bb.drv': 1 dependencies couldn't be built
Full output:
[cdom@nixos:~]$ git clone /~https://github.com/divnix/devos Cloning into 'devos'... remote: Enumerating objects: 6632, done. remote: Counting objects: 100% (1871/1871), done. remote: Compressing objects: 100% (827/827), done. remote: Total 6632 (delta 1164), reused 1557 (delta 1014), pack-reused 4761 Receiving objects: 100% (6632/6632), 3.63 MiB | 13.66 MiB/s, done. Resolving deltas: 100% (3701/3701), done. [cdom@nixos:~]$ cd devos [cdom@nixos:~/devos]$ nix-shell hint: Using 'master' as the name for the initial branch. This default branch name hint: is subject to change. To configure the initial branch name to use in all hint: of your new repositories, which will suppress this warning, call: hint: hint: git config --global init.defaultBranch <name> hint: hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and hint: 'development'. The just-created branch can be renamed via this command: hint: hint: git branch -m <name> these derivations will be built: /nix/store/0hj1h74964wmw4zrpziqqdxia4gwakwz-unpack-pin-utils-0.1.0.drv /nix/store/0kr8sriwh2icrfjx8plx3yyhyf782v1h-unpack-anymap-0.12.1.drv /nix/store/0wvrc4r8djfgdvlk13dqfbsgnf0b8cr7-unpack-wasi-0.10.0+wasi-snapshot-preview1.drv /nix/store/rbgwk3hd9xprwgjr9ndrwf1vdbsai3wc-fix-follows.diff.drv /nix/store/0xmncxl92cw09w1cjl8adp3wbnl79wsn-nix-2.4pre20210707_02dd6bb.drv /nix/store/0zrqmzsk6avdkldy3yi9361yslx5njgv-unpack-ntapi-0.3.6.drv /nix/store/10qy6s0h7ql4p9nc9ydqjs793aglj5bf-unpack-indexmap-1.6.0.drv /nix/store/13b6m039rgqjs5r4prlgxbaimz02ak0x-unpack-proc-macro-hack-0.5.19.drv /nix/store/1akq4djlxa53yv0g9dv4wdpr8r0p7ayr-unpack-fsevent-2.0.2.drv /nix/store/1b506vlm7n27br65cvw146nayxnjf449-unpack-notify-5.0.0-pre.4.drv /nix/store/1g6h3wmbfs56p4nflh81c8wksj2fxynd-unpack-mio-0.7.6.drv /nix/store/1rrnhy4hi7fbiv48rfqvq7ib1j57bxpk-unpack-cfg-if-1.0.0.drv /nix/store/1yxpmf39jv2wwvnaiix7v3m8rj5i24vs-utils-update.bash.drv /nix/store/2303k8zx1da5as2s3k5qjrkh3b3zf35v-unpack-text_unit-0.1.10.drv /nix/store/2wyxvrs7syy1nz3slnn9k6kyr4r6521z-unpack-strsim-0.10.0.drv /nix/store/38qj9dfw88xfm3dx3phf0ahdn12m8cmy-unpack-winapi-0.2.8.drv /nix/store/3mcslwwyab0mkqdmb3v0valab7jgngb3-unpack-chrono-0.4.19.drv /nix/store/453736c5v5l9a6fw6j3nk63wgd5f0zky-unpack-hashbrown-0.9.1.drv /nix/store/478w411728ig266q7j9vy6qysc0v5j99-unpack-signal-hook-registry-1.3.0.drv /nix/store/4dn5ay481b436chh7bky5hb51alb0kw4-unpack-fork-0.1.18.drv /nix/store/4i4j0jz7wdav2702rpdhfa4lsn6ki66f-nixos-rebuild.drv /nix/store/4ppzgrjlrr7w354y4430ks41a0zhl0r6-unpack-toml-0.5.7.drv /nix/store/4z8i3l98h7s817h832g1gs0n3ny3l0wy-unpack-proc-macro2-1.0.27.drv /nix/store/57wm10yf5bxasyl8idz054sspwgdv1kr-unpack-atty-0.2.14.drv /nix/store/5ywv1b2pddykfdp9ygn31dbvh2pff1sc-hosts-rebuild.bash.drv /nix/store/65ky5zy9rpkw4pp5cb23c97hbzl395ld-hm-home.bash.drv /nix/store/6cqf2aaj0cavbz33l625vgj0x9ll4zs8-unpack-lock_api-0.4.2.drv /nix/store/6w39qzb4wdf3dbxfc3nahkngjzar4fxz-unpack-regex-1.4.2.drv /nix/store/7gqwbcp0gz0v6iqdzr93rp5pdccs421m-unpack-autocfg-1.0.1.drv /nix/store/7wfv8dvdnzvhs60blh1r8ik1vak3g7ip-unpack-serde-1.0.118.drv /nix/store/8hx3dayqrm3ivd6xf7d2i29p26hb01z9-unpack-thiserror-1.0.22.drv /nix/store/8lqf9fcrbm8hj7nj3lp7ky9yskz150vn-unpack-smol_str-0.1.16.drv /nix/store/8mmrqnwbs20cin290r6887as9vgv56hc-unpack-once_cell-1.5.2.drv /nix/store/8n6i4zk8wmp19sjn73kzim68n5hgjzn4-unpack-miow-0.2.2.drv /nix/store/977394xqy3jkyllr5v1025l3c6bsj015-unpack-mio-0.6.23.drv /nix/store/9lj8fkxkmgw9rlyv00gkr1yw6hb6w0lx-unpack-yansi-0.5.0.drv /nix/store/ahsx31dj6whz6ymz8pww32vz3a3jrzdp-unpack-same-file-1.0.6.drv /nix/store/b4nmc4vl5zjv55jyr1s8xcaz6qn032ml-unpack-winapi-build-0.1.1.drv /nix/store/bavap8jphp18hz9pphv9mbrla520blkj-unpack-walkdir-2.3.1.drv /nix/store/bb8jkmy2yak73l1y1q47lp0f5qk03zr3-unpack-miow-0.3.6.drv /nix/store/bhwvdm82xmhb06mvz7915ws2lsmwx2mw-unpack-textwrap-0.12.1.drv /nix/store/bmrkfam3s0xbyxaam4fqpx93076w0j7n-unpack-fsevent-sys-3.0.2.drv /nix/store/c469pdxmsixqd5850yvpx5y1asx59pgy-unpack-scopeguard-1.1.0.drv /nix/store/ca5gmj72n9g06gbzrj02i3gpr8nx17js-unpack-instant-0.1.9.drv /nix/store/cdnlandfb4yf9jgqj2qa4c4knpm92ld9-unpack-rowan-0.9.1.drv /nix/store/cscp70fcjv6gqpzfbzq1s20mw8pvqc6d-unpack-termcolor-1.1.2.drv /nix/store/dgfbddp068x82x9mbqc75qczif4iqlyk-unpack-hermit-abi-0.1.17.drv /nix/store/dl8ckpbcgphq2g5jvcbhp6d810q8h7ra-unpack-unicode-segmentation-1.7.1.drv /nix/store/dq0xzlypx4x2v3p6mjkgvpnd8x5mc4yg-unpack-lazycell-1.3.0.drv /nix/store/dqpx5524afvdm251fx8jyf261csp7lny-unpack-smallvec-1.5.1.drv /nix/store/f2qzalzc5hkgsb2r22n2vlx3vbq3zy4g-unpack-fuchsia-zircon-0.3.3.drv /nix/store/f4gkycbpc6sarkl8bxskz47yxs3pk7jz-unpack-futures-util-0.3.8.drv /nix/store/fz0plifhhc00qxbpknr07x6g5v3ipi7a-unpack-lazy_static-1.4.0.drv /nix/store/g4xab2dc9h9y9ps1jwx8n489kh8rs6g2-unpack-futures-task-0.3.8.drv /nix/store/g5nijnwzh4604ddkdi2xl946agzc9sd4-unpack-winapi-i686-pc-windows-gnu-0.4.0.drv /nix/store/grl5v1fl1c40f1m9hm6mpgwj16pffmsz-unpack-flexi_logger-0.16.2.drv /nix/store/h0dx99r94izqbd9rkdi6a356p8wivv7l-unpack-ws2_32-sys-0.2.1.drv /nix/store/h4z12afvh2hn78wj0cnnx6515n44dp76-unpack-time-0.1.44.drv /nix/store/ha2zc7zrkk49w140n77gyrrnssvvp8pl-unpack-thiserror-impl-1.0.22.drv /nix/store/hnjxf2w752xsrbn3cs1vq5x801gal388-unpack-fuchsia-zircon-sys-0.3.3.drv /nix/store/hr351ll38vx56bb35qq6aqx11lgcp2vb-unpack-serde_json-1.0.60.drv /nix/store/ic7ww42alwyk7sx58nnny7zx9df6x0ip-unpack-serde_derive-1.0.118.drv /nix/store/idfn3db6vzigssibf3i39vl8pr3m6wb4-unpack-vec_map-0.8.2.drv /nix/store/idjr1rsjxvr3z14723wqa7nd0ndmrxjh-unpack-num_cpus-1.13.0.drv /nix/store/iicc04p20z6174gdry2fsd53dm0gxxl0-unpack-ryu-1.0.5.drv /nix/store/ilr75kygrb0qz2jhxjdxvc9xrbfdl2h0-unpack-futures-macro-0.3.8.drv /nix/store/imidj4dzml887fhkah1gi1ia5d87pn48-unpack-quote-1.0.7.drv /nix/store/imvh0pz8hr3ss6wbdnrxysynhgrmkf4h-unpack-crossbeam-channel-0.4.4.drv /nix/store/ir9b0xlrl5ckm4638vdvxy1qmb70icfv-unpack-yn-0.1.1.drv /nix/store/ivfyhzrj45cbikjxpddxhjfbbr2fkp6z-unpack-thread_local-1.0.1.drv /nix/store/izzdw4k1pm59qql8vhqzynng0wgwgrxz-unpack-thin-dst-1.1.0.drv /nix/store/j8xpaggnkgdsswndpv95alcb5b27f8l1-unpack-winapi-0.3.9.drv /nix/store/jnyrk5k2vhapkffsvl2mf7c9arcd8xki-unpack-num-traits-0.2.14.drv /nix/store/jrmy5b0djmiphkhlvkfp7kjj1vb2gw0w-unpack-redox_syscall-0.1.57.drv /nix/store/jvmpl7vhgl1415cnmzl9s5q9wnic2fxp-unpack-syn-1.0.73.drv /nix/store/kjixz2n7zbzhyij1w4bbvz2rlspyb689-unpack-proc-macro-error-1.0.4.drv /nix/store/la3s5yxvvddvhi5iqywcfgspixd9133l-unpack-cbitset-0.2.0.drv /nix/store/lcy8c49s9ap7pfpfb4v2qiq1814alzs5-unpack-rustc-hash-1.1.0.drv /nix/store/ld7abxlp6rc2khvk68k2isav448av4n4-unpack-slab-0.4.2.drv /nix/store/lmfylg3j44cpfghxcrcqsiz81yb247rd-unpack-heck-0.3.1.drv /nix/store/m1xmpkpvdqpnpayl7r0bh1y67njaizlk-unpack-signal-hook-0.3.1.drv /nix/store/mp8n0x5b3jdmkzszv4ipadnq83z5yqm6-unpack-libc-0.2.81.drv /nix/store/mx70517vrfj607kp1qg79sfxik5c5fcd-unpack-num-integer-0.1.44.drv /nix/store/n701zdqa8jp1d821cq8fcydrwyydgwwq-unpack-tokio-1.9.0.drv /nix/store/nfg8sz9xnwlqayw0qi1ypx2gxdjarw9n-unpack-proc-macro-error-attr-1.0.4.drv /nix/store/ngcfhrgw5j63gawpkr23jxlm6p97x11h-unpack-kernel32-sys-0.2.2.drv /nix/store/nnrsa9dayqi9dbz1yn5qys2bxycwwq02-unpack-inotify-0.8.3.drv /nix/store/nx8ahi1x4iajdh6dfl9xywc6f3ixpfs6-unpack-socket2-0.3.17.drv /nix/store/pgz7pgml6ihz74ldczg46awx4kr1h74p-unpack-bytes-1.0.1.drv /nix/store/plw00ppmpg9m4q2p49a1bmrf4pkxx3bc-unpack-merge-0.1.0.drv /nix/store/psi5wpnz3zfajbsfcrxp4d6igbjx43sr-unpack-parking_lot-0.11.1.drv /nix/store/py7gw3yx39gww35pnqsknkdajpy2jplb-unpack-rnix-0.8.0.drv /nix/store/q8alyrjyw63bjinq6hwm46qbm48c5isr-unpack-filetime-0.2.13.drv /nix/store/qi5sjqdbaf0s33dg252j05cliy3a16qk-unpack-pin-project-internal-1.0.2.drv /nix/store/qk0f3b3v5jaa1bkpgyf1s0rn7k12p57j-unpack-merge_derive-0.1.0.drv /nix/store/qn166xfk4d1kf5761nkgbfyajc4g01mq-unpack-tokio-macros-1.3.0.drv /nix/store/qr5yg1cknqyh93dzvgrzk0lblrh901zn-unpack-glob-0.3.0.drv /nix/store/qy88wam0wxjvcpnadvrrwlaan6q7s77d-unpack-maybe-uninit-2.0.0.drv /nix/store/r301kzw34wncd5q3xndg3a4g482hliaw-unpack-clap_derive-3.0.0-beta.2.drv /nix/store/rnwp6khbxz7yfmscm0zlv80sjllj59g1-unpack-proc-macro-nested-0.1.6.drv /nix/store/s7m0nz7wda8ksxmg5yk3m918dvfzkpcy-unpack-winapi-x86_64-pc-windows-gnu-0.4.0.drv /nix/store/sihag530rad21w2pz1ic7r5r4cqcfn60-unpack-crossbeam-utils-0.7.2.drv /nix/store/sjlgkfrv1bmk49gxpd3pgkw7sxdgc0gx-unpack-inotify-sys-0.1.4.drv /nix/store/sl8bsy6zbv6mfijz3w7by5l0480x83nx-unpack-net2-0.2.37.drv /nix/store/spj1idisbrl70x71438yrpwf59j48fa1-unpack-pin-project-1.0.2.drv /nix/store/svdzf2j04hw9li7b18y69s08z15hr108-unpack-os_str_bytes-2.4.0.drv /nix/store/vd9p9k4dxq594qwvyqvg5y1fqnny060x-unpack-whoami-0.9.0.drv /nix/store/w57ancww9711ac9i7zkpnwszv0r9hr2f-unpack-unicode-width-0.1.8.drv /nix/store/wj9ahdq1nzg4gs33nz58hz1bkl3szf4l-unpack-mio-extras-2.0.6.drv /nix/store/wkyzd58fa6lawwzfw7lslzp5wrl1bvxg-unpack-regex-syntax-0.6.21.drv /nix/store/wmd9rabhvnnk9sz18mhk7i75pab0asby-unpack-iovec-0.1.4.drv /nix/store/x418sahaj405pgsxzlcsv7q46fp751g2-unpack-futures-core-0.3.8.drv /nix/store/xcpg1pcwrrpn2qvk6sjhhqrw7dprc16w-unpack-log-0.4.11.drv /nix/store/xwkyqr4ar8dhg61cxzsspaqz89ffhz14-unpack-winapi-util-0.1.5.drv /nix/store/y781pdd9lplg965x9q1ayap6kf3j2im0-unpack-clap-3.0.0-beta.2.drv /nix/store/yb3pwa4ymvhdd2vwkl2a5lq8rppcsmj5-unpack-memchr-2.3.4.drv /nix/store/yg7416v0jhr28vg5kmnkmp38c0yhzkw4-unpack-pin-project-lite-0.2.0.drv /nix/store/yzxiljcw33rpprm9q4wxss324wgz8kfv-unpack-unicode-xid-0.2.1.drv /nix/store/z75g6z3jc04n0sbqhsbm45mj6hag15nq-unpack-parking_lot_core-0.8.1.drv /nix/store/zbxs695hrvvh4pbjvcm9jhpnbwl8y1c9-unpack-bitflags-1.2.1.drv /nix/store/zddbdjqb8yin4rijyy3878ncg1219p57-unpack-itoa-0.4.6.drv /nix/store/zx0cfnlgb10ig967hwwaaq1ikdfpq8vd-unpack-version_check-0.9.2.drv /nix/store/zzn1y8zciyq4kq2hq93py1zgfr5k2l0p-unpack-cfg-if-0.1.10.drv /nix/store/s1wx1cprmijd3zxgfb4sicp2qad752bs-crates-io.drv /nix/store/j0wamhf3xlcggwcxcj02fh3qp2zagqj7-deploy-rs-deps-0.1.0.drv /nix/store/r1f53alam03lv9ziszfma9lmhdpv0zh6-deploy-rs-0.1.0.drv /nix/store/vpvzjadm2kp4ib94hpzzdwv359rh826w-source.drv /nix/store/zf4b84nsjvhgm10gy39irasg1dn1iz53-python3.8-nvchecker-2.3.drv /nix/store/s6g66mn6s0src5hzc4aiy47wfpfyn5z3-nvfetcher-0.3.0.0.drv /nix/store/s1qxz35pfhdgcc1gyaamnzq9lfga2mg7-nvfetcher.drv /nix/store/fg8ci0m70vw6hh1v13zmsk6nf0fwgi0p-vjjpddjf4h9kn5va8adm4dai8s126j1v-repl.drv /nix/store/g444l93qfyn0pfqyl23c490h2vq82ypj-get.bash.drv /nix/store/lv0q1pfrdryf90dm7w01jh269njcqphm-hosts-vm.bash.drv /nix/store/zgpmy6yhh64p09rwxdl3vvni5zyl40bk-hosts-build.bash.drv /nix/store/zjna5lj0k2bggijckncvac0hv201lmlm-bud.drv /nix/store/98y21i5kjf0g01gzw7dr53izzlg7d6bc-devshell-dir.drv /nix/store/wkw4g6py2lngbzdgyjm0qlyh8gz2crip-nixos-entrypoint.drv building '/nix/store/rbgwk3hd9xprwgjr9ndrwf1vdbsai3wc-fix-follows.diff.drv'... building '/nix/store/0kr8sriwh2icrfjx8plx3yyhyf782v1h-unpack-anymap-0.12.1.drv'... building '/nix/store/vpvzjadm2kp4ib94hpzzdwv359rh826w-source.drv'... trying https://patch-diff.githubusercontent.com/raw/NixOS/nix/pull/4641.patch % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 14164 0 14164 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k hash mismatch in fixed-output derivation '/nix/store/avfapjldz0a50cc1g8ckr7s0786djnd7-fix-follows.diff': wanted: sha256:1ns60jk9w593xza8d4arggqk9yjpfb7fhf2yd36pixajbd5cq8lz got: sha256:05r5icbxblm6ir73smpfjwca69w91aw1dkbk43a3v6454mpn04yk cannot build derivation '/nix/store/0xmncxl92cw09w1cjl8adp3wbnl79wsn-nix-2.4pre20210707_02dd6bb.drv': 1 dependencies couldn't be built building '/nix/store/57wm10yf5bxasyl8idz054sspwgdv1kr-unpack-atty-0.2.14.drv'... building '/nix/store/7gqwbcp0gz0v6iqdzr93rp5pdccs421m-unpack-autocfg-1.0.1.drv'... cannot build derivation '/nix/store/98y21i5kjf0g01gzw7dr53izzlg7d6bc-devshell-dir.drv': 1 dependencies couldn't be built cannot build derivation '/nix/store/wkw4g6py2lngbzdgyjm0qlyh8gz2crip-nixos-entrypoint.drv': 1 dependencies couldn't be built error: build of '/nix/store/wkw4g6py2lngbzdgyjm0qlyh8gz2crip-nixos-entrypoint.drv' failed
Unable to use nix-shell in the DevOS repo
Essentially a fresh NixOS configuration with some additions for Linode compatibility.
The text was updated successfully, but these errors were encountered:
Anybody has a fix for this? I wanted to use this now but this is a blocker.
Sorry, something went wrong.
The follows fix is now in upstream nixpkgs and iirc should also be backported to the latest release. This patch should no longer be necessary at all. For now you should just be able to remove: /~https://github.com/divnix/devos/blob/079adc4474231d5582fee5574bc5bcc6f133e5ac/flake.nix#L76
The same happens when running nix develop github:divnix/devos. This seems to be fixed in digga, so I guess we are just waiting for a lock file update.
nix develop github:divnix/devos
We're no longer patching nix, so this shouldn't be a problem anymore - I think!
No branches or pull requests
Expected Behavior
Running
nix-shell
in template repo on a fresh install of NixOS 21.05 should succeed.Current Behavior
After cloning the repo and running
nix-shell
from within its directory, the build fails due to the following error:Full output:
Possible Solution
Steps to Reproduce
Context
Unable to use
nix-shell
in the DevOS repoYour Environment
Essentially a fresh NixOS configuration with some additions for Linode compatibility.
The text was updated successfully, but these errors were encountered: