Open sonn-gamm opened 5 months ago
Describe the bug I re-installed nix and devenv on mac, since all of a sudden devenv was not being found anymore as a command in my shell. It was anyway a good time to clean up nix since i stopped using nix-darwin a few months ago.
devenv
To reproduce
run
sh <(curl -L https://nixos.org/nix/install)
then
nix-shell -p nix-info --run "nix-info -m"
then proceed with the devenv installation
nix-env -iA devenv -f https://github.com/NixOS/nixpkgs/tarball/nixpkgs-unstable
the output will be:
installing 'devenv-1.0.5' these 44 paths will be fetched (32.50 MiB download, 149.49 MiB unpacked): /nix/store/nh66bzrq1zs7m9fddwvs1sj0zk950ihv-apple-framework-IOKit /nix/store/glvxzy0vanvq7590rbnmvcxkdq5msr68-apple-framework-Security /nix/store/m3cghpm00la4cfk5clnbcrg3mbqi4p9g-aws-c-auth-0.7.18 /nix/store/61a8v3yyzy0v7294x1nj7s052b1rq26j-aws-c-cal-0.6.12 /nix/store/jbwwhx0k262gj66zi137vsbmyvbffd41-aws-c-common-0.9.17 /nix/store/06basz20ky3l16h9d82xx8zmc27rb5bq-aws-c-compression-0.2.18 /nix/store/singmllpidh3a42d4nrs3g692zwimxb9-aws-c-event-stream-0.4.2 /nix/store/3pgsbf4q5mwgs07a6x7maygsn786z2qz-aws-c-http-0.8.1 /nix/store/rm40pc2ikym5sjp3nky63p52ibq7rpfg-aws-c-io-0.14.7 /nix/store/7hn8bg08cj3b6m0gpagmxx8pddjn3dl5-aws-c-mqtt-0.10.4 /nix/store/4sv7ywsn0c0ni0ph7b1g934590srkzbh-aws-c-s3-0.5.7 /nix/store/xfriy9rxs0wipzxgr56h4kblp59pyxkk-aws-c-sdkutils-0.1.16 /nix/store/3mn2cfp2s672yd9pqq4maaiiwvy6s0fv-aws-checksums-0.1.18 /nix/store/67nfajzs5sfd9dd2xwybk928yb54wahl-aws-crt-cpp-0.26.8 /nix/store/gzz6j5a95d267s4pzzca9hkar3gh2qz4-aws-sdk-cpp-1.11.318 /nix/store/gqzg310wkqm4bfla4d1p1vgb0wihnxad-boehm-gc-8.2.6 /nix/store/8j1dz3pz4z23vklshd1bjcv6n1vmx7qh-boost-1.81.0 /nix/store/8cv3hm68hkz2bsnnns70cdh5g2rnm955-brotli-1.1.0-lib /nix/store/l2x0rg8v2w638yy6v4z27cxw85qzszgn-cachix-1.7.3-bin /nix/store/41nf3fhd441bh9z5w7qym7jdwgi1yy63-curl-8.7.1 /nix/store/3gma5ck54688cymc8a373ggdyql4748z-devenv-1.0.5 /nix/store/l7jbkf6bg5wr9xbrgcds4nrqi1z8fyfj-editline-1.17.1 /nix/store/8k6708g0kl5qjhgflg26yadcqs7b9ylp-http-parser-2.9.4 /nix/store/i9k5rzqwx8wr2nacjrxxzigg0cj54dvk-icu4c-73.2 /nix/store/xqm71f1a4q8xij1wf4iq85dh5ch3sx3g-libarchive-3.7.4-lib /nix/store/5j9z1hb3qsdjc82xq6q33fjh80nyx2dg-libcpuid-0.6.5 /nix/store/3h4pdh2k1m8zr82iscqng3gqpjg0ayfg-libgit2-1.7.2-lib /nix/store/lcz0p6r0kvxm8ci8hr1xhhkwpms0qjzl-libidn2-2.3.7 /nix/store/41dd43ndjbjravnpxpng0j27lgqpdsn8-libkrb5-1.21.2 /nix/store/cnyjwxvz760dwgsn48f1r9pg8018x4zi-libpsl-0.21.5 /nix/store/plaia692ghx9kia91s9zw51a3yp65lpx-libsodium-1.0.19 /nix/store/2545niif61jy5f18kikv1rnrfx1amvx5-libssh2-1.11.0 /nix/store/a83npj4sqxpjfl38qi8hbf5h2dqi285h-libunistring-1.1 /nix/store/jxx11z9gd3z97h7m9vgga00j0d4q24kj-lowdown-1.1.0-lib /nix/store/61pmbvjih1irdz64p5x1d2v65kcjq0zw-nghttp2-1.61.0-lib /nix/store/hnxbmrp038757zkrky5wivkbgqr95rpf-nix-2.19.4 /nix/store/mdqcfvwy5q42l2vk0jbnr1qdshlkqqh7-nix-2.19.4-man /nix/store/k1j7sq8i5s2jqw75drjpp75pzq9kh7im-nix-2.21-devenv /nix/store/1q206wcvm4f08g2fmkswsbkhwn9cysm3-nix-2.21-devenv-man /nix/store/mzkw7h1frirrfwfny6dhwdw5s3fg3s5x-nlohmann_json-3.11.3 /nix/store/a2jji01wbmc5iibxb6ssnkc7ir9wsi7d-openssl-3.0.13 /nix/store/j5m85jmsgyfmwrsy3h6misg6ykh5ng6z-publicsuffix-list-0-unstable-2024-01-07 /nix/store/zb50rlsc6mcixkwi38hmhw767igyq7mk-sqlite-3.45.3 /nix/store/j2ph4yy305yigyk9881w063h7d113qcw-zstd-1.5.6 copying path '/nix/store/8cv3hm68hkz2bsnnns70cdh5g2rnm955-brotli-1.1.0-lib' from 'https://cache.nixos.org'... copying path '/nix/store/l7jbkf6bg5wr9xbrgcds4nrqi1z8fyfj-editline-1.17.1' from 'https://cache.nixos.org'... copying path '/nix/store/5j9z1hb3qsdjc82xq6q33fjh80nyx2dg-libcpuid-0.6.5' from 'https://cache.nixos.org'... copying path '/nix/store/plaia692ghx9kia91s9zw51a3yp65lpx-libsodium-1.0.19' from 'https://cache.nixos.org'... copying path '/nix/store/jxx11z9gd3z97h7m9vgga00j0d4q24kj-lowdown-1.1.0-lib' from 'https://cache.nixos.org'... copying path '/nix/store/1q206wcvm4f08g2fmkswsbkhwn9cysm3-nix-2.21-devenv-man' from 'https://cache.nixos.org'... copying path '/nix/store/mzkw7h1frirrfwfny6dhwdw5s3fg3s5x-nlohmann_json-3.11.3' from 'https://cache.nixos.org'... copying path '/nix/store/a2jji01wbmc5iibxb6ssnkc7ir9wsi7d-openssl-3.0.13' from 'https://cache.nixos.org'... copying path '/nix/store/jbwwhx0k262gj66zi137vsbmyvbffd41-aws-c-common-0.9.17' from 'https://cache.nixos.org'... copying path '/nix/store/gqzg310wkqm4bfla4d1p1vgb0wihnxad-boehm-gc-8.2.6' from 'https://cache.nixos.org'... copying path '/nix/store/8k6708g0kl5qjhgflg26yadcqs7b9ylp-http-parser-2.9.4' from 'https://cache.nixos.org'... copying path '/nix/store/61pmbvjih1irdz64p5x1d2v65kcjq0zw-nghttp2-1.61.0-lib' from 'https://cache.nixos.org'... copying path '/nix/store/mdqcfvwy5q42l2vk0jbnr1qdshlkqqh7-nix-2.19.4-man' from 'https://cache.nixos.org'... copying path '/nix/store/zb50rlsc6mcixkwi38hmhw767igyq7mk-sqlite-3.45.3' from 'https://cache.nixos.org'... copying path '/nix/store/i9k5rzqwx8wr2nacjrxxzigg0cj54dvk-icu4c-73.2' from 'https://cache.nixos.org'... copying path '/nix/store/j5m85jmsgyfmwrsy3h6misg6ykh5ng6z-publicsuffix-list-0-unstable-2024-01-07' from 'https://cache.nixos.org'... copying path '/nix/store/nh66bzrq1zs7m9fddwvs1sj0zk950ihv-apple-framework-IOKit' from 'https://cache.nixos.org'... copying path '/nix/store/41dd43ndjbjravnpxpng0j27lgqpdsn8-libkrb5-1.21.2' from 'https://cache.nixos.org'... copying path '/nix/store/a83npj4sqxpjfl38qi8hbf5h2dqi285h-libunistring-1.1' from 'https://cache.nixos.org'... copying path '/nix/store/j2ph4yy305yigyk9881w063h7d113qcw-zstd-1.5.6' from 'https://cache.nixos.org'... copying path '/nix/store/06basz20ky3l16h9d82xx8zmc27rb5bq-aws-c-compression-0.2.18' from 'https://cache.nixos.org'... copying path '/nix/store/xfriy9rxs0wipzxgr56h4kblp59pyxkk-aws-c-sdkutils-0.1.16' from 'https://cache.nixos.org'... copying path '/nix/store/3mn2cfp2s672yd9pqq4maaiiwvy6s0fv-aws-checksums-0.1.18' from 'https://cache.nixos.org'... copying path '/nix/store/glvxzy0vanvq7590rbnmvcxkdq5msr68-apple-framework-Security' from 'https://cache.nixos.org'... copying path '/nix/store/xqm71f1a4q8xij1wf4iq85dh5ch3sx3g-libarchive-3.7.4-lib' from 'https://cache.nixos.org'... copying path '/nix/store/lcz0p6r0kvxm8ci8hr1xhhkwpms0qjzl-libidn2-2.3.7' from 'https://cache.nixos.org'... copying path '/nix/store/61a8v3yyzy0v7294x1nj7s052b1rq26j-aws-c-cal-0.6.12' from 'https://cache.nixos.org'... copying path '/nix/store/cnyjwxvz760dwgsn48f1r9pg8018x4zi-libpsl-0.21.5' from 'https://cache.nixos.org'... copying path '/nix/store/rm40pc2ikym5sjp3nky63p52ibq7rpfg-aws-c-io-0.14.7' from 'https://cache.nixos.org'... copying path '/nix/store/singmllpidh3a42d4nrs3g692zwimxb9-aws-c-event-stream-0.4.2' from 'https://cache.nixos.org'... copying path '/nix/store/3pgsbf4q5mwgs07a6x7maygsn786z2qz-aws-c-http-0.8.1' from 'https://cache.nixos.org'... copying path '/nix/store/2545niif61jy5f18kikv1rnrfx1amvx5-libssh2-1.11.0' from 'https://cache.nixos.org'... copying path '/nix/store/41nf3fhd441bh9z5w7qym7jdwgi1yy63-curl-8.7.1' from 'https://cache.nixos.org'... copying path '/nix/store/3h4pdh2k1m8zr82iscqng3gqpjg0ayfg-libgit2-1.7.2-lib' from 'https://cache.nixos.org'... copying path '/nix/store/m3cghpm00la4cfk5clnbcrg3mbqi4p9g-aws-c-auth-0.7.18' from 'https://cache.nixos.org'... copying path '/nix/store/7hn8bg08cj3b6m0gpagmxx8pddjn3dl5-aws-c-mqtt-0.10.4' from 'https://cache.nixos.org'... copying path '/nix/store/4sv7ywsn0c0ni0ph7b1g934590srkzbh-aws-c-s3-0.5.7' from 'https://cache.nixos.org'... copying path '/nix/store/67nfajzs5sfd9dd2xwybk928yb54wahl-aws-crt-cpp-0.26.8' from 'https://cache.nixos.org'... copying path '/nix/store/gzz6j5a95d267s4pzzca9hkar3gh2qz4-aws-sdk-cpp-1.11.318' from 'https://cache.nixos.org'... copying path '/nix/store/8j1dz3pz4z23vklshd1bjcv6n1vmx7qh-boost-1.81.0' from 'https://cache.nixos.org'... copying path '/nix/store/hnxbmrp038757zkrky5wivkbgqr95rpf-nix-2.19.4' from 'https://cache.nixos.org'... copying path '/nix/store/k1j7sq8i5s2jqw75drjpp75pzq9kh7im-nix-2.21-devenv' from 'https://cache.nixos.org'... copying path '/nix/store/l2x0rg8v2w638yy6v4z27cxw85qzszgn-cachix-1.7.3-bin' from 'https://cache.nixos.org'... copying path '/nix/store/3gma5ck54688cymc8a373ggdyql4748z-devenv-1.0.5' from 'https://cache.nixos.org'... building '/nix/store/8l59i7pzkrk5chgq0sjjy6ixvpxj29ls-user-environment.drv'... error: opening lock file '/nix/var/nix/profiles/per-user/<local-user>/profile.lock': No such file or directory
Version
devenv fails to install.
Looks like a bug in Nix.
Thanks, I'll move it there then!
Did you rename your unix user?
No. I just uninstalled Nix and removed some of the nix files under /etc (eg bash pre-nix etc).
/etc
any updates on this?
Describe the bug I re-installed nix and devenv on mac, since all of a sudden
devenv
was not being found anymore as a command in my shell. It was anyway a good time to clean up nix since i stopped using nix-darwin a few months ago.To reproduce
run
then
then proceed with the devenv installation
the output will be:
Version
devenv fails to install.