Builder for '/nix/store/..' failed to produce output path '/nix/store/ - via Home-Manager

via Home-Manager

"nixpkgs-unstable": {
        "branch": "nixpkgs-unstable",
        "description": "Nix Packages collection",
        "homepage": "",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "ff9efb0724de5ae0f9db9df2debefced7eb1571d",
        "sha256": "188h461pilsiym2dqzl17vx1g9pb816cwdi0az9mbw207w721avz",
        "type": "tarball",
        "url": "https://github.com/nixos/nixpkgs/archive/ff9efb0724de5ae0f9db9df2debefced7eb1571d.tar.gz",
        "url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
    }
builder for '/nix/store/bqmpxzdjq6m0n43hfskbzcakzq6n9dff-gpg-agent-ssh.socket.drv' failed to produce output path '/nix/store/y4qrgh0629hblf2xdyaz0hin0g03rm40-gpg-agent-ssh.socket'
builder for '/nix/store/sja7p8v1k8bs3bwr7csqji64hc7js39b-gpg-agent.socket.drv' failed to produce output path '/nix/store/4d778v7pzgcnnmz3cjrbhik8b7ci5bwm-gpg-agent.socket'
builder for '/nix/store/xl7y6hbd4cbh3laxgal7sk76vkm5ini2-lorri.socket.drv' failed to produce output path '/nix/store/qpcrrr9cdgkcb0s39jnz0bknz0pf66fp-lorri.socket'

it’s on all nixpkgs versions I tried

  • and for almost all services of Home_Manager?
warning: unknown setting 'experimental-features'
these 35 derivations will be built:
  /nix/store/m6v3i65ad8j5hl5j370d3m7chrvq07kx-python3-3.9.11-env.drv
  /nix/store/xk1vg9d06540mpm6inc0xx4pwsg3fmqh-vim-pack-dir.drv
  /nix/store/0symzx36bv68q7qhhyr40zg6ymha13i3-manifest.vim.drv
  /nix/store/fah9lrf8b87f4kda24x4smzbjv3bv553-nmd-chunktoc.xsl.drv
  /nix/store/iv833dqkw1gcadll4yp7a2hsl9qhwzjz-nmd-options.xml.drv
  /nix/store/9br0nv7y7kqxgi6a0jq89cq40436a39f-options-db.xml.drv
  /nix/store/sb4zzn9knqcylqnx28f1840i6mb92fnk-nmd-options.xml.drv
  /nix/store/cgqixfm06p77srs2alk0yzbfx8zazq4a-options-db.xml.drv
  /nix/store/hqwl9s328dwhh7qyh7l6jr7zbf0g0ail-converted-asciidoc.drv
  /nix/store/qkqihl1rk68n8nivmy3xc1r4hhp7h7y0-nmd-options.xml.drv
  /nix/store/px72nhf951ngm2qm3rjdlfwnky3lff9x-options-db.xml.drv
  /nix/store/ly1ls0mdr90rixygs26qiq81751pndmp-nmd-documents.drv
  /nix/store/n6wylji5bjsbli92f708w9ldb87f8k1n-manual-combined.drv
  /nix/store/hbjzy2gndsy71s3i2y5sk9aq0qmcx462-manual-olinkdb.drv
  /nix/store/0wvjmzzvadbjdlxyjk3q4sxwdgcr264b-man-pages.drv
  /nix/store/1a9s1y5hnl6ik9kyw56i407crmdnjcls-steam-run-usr-target.drv
  /nix/store/25yzxc31klc1jcp4r0rrmcisjp6x8sj4-emacs-packages-deps.drv
  /nix/store/vvr8kl147l3b80xwpg44x0p2qvxgmfhd-steam-run-fhs.drv
  /nix/store/mmvd2171pb2igxa34s09x4ir37fvdvmc-steam-run.drv
  /nix/store/6q1nkni81xpc8jj75rs6ya7bfq5722yy-steam-run.drv
  /nix/store/d6nhswkbsxd5gi0xmf4xs4vb1wpxzjh3-wps-office_11.1.0.9615.XA_amd64.deb.drv
  /nix/store/47gajrmydmi5lx0limm7kpblzl1rrvhz-wpsoffice-11.1.0.9615.drv
  /nix/store/796h202ii524xxg5a07ypykqy6wx46ga-hm_nviminit.vim.drv
  /nix/store/8ay1sasrz6ldy964h5lm4kzyqswlw0q6-wrapped-obs-studio-27.2.2.drv
  /nix/store/99b2iw68xnvy0j7c58z20jv9h2b7jfp0-syncthing.service.drv
  /nix/store/9f1g1z25v546bhvhdy8xk041b4in1qhh-luajit-2.1.0-2021-10-27-env.drv
  /nix/store/9rlnm0ircazaj0zsx8ll7sr9cbandd25-emacs-with-packages-27.2.drv
  /nix/store/vm44r5mjz4gwccvw2lq15acn0kmqic0q-python3-3.9.11-env.drv
  /nix/store/ynvzxc0ls5crhr4129zy9rxlkncywka3-neovim-ruby-env.drv
  /nix/store/b92q9l77pbi6i9yh5w13j19lahmfdi98-neovim-0.6.1.drv
  /nix/store/fh4vw85616snfks66s1gq1pq4gy8swv3-home-manager-path.drv
  /nix/store/iaryj54f2dbig6d73dg1iqlc8yj0jk78-dunst.service.drv
  /nix/store/qcsmkb9rll85cqnc75qqy7gmdk372mmw-activation-script.drv
  /nix/store/y4ikks70m0ad7acj1p4xa7nk1ikibl8l-home-manager-files.drv
  /nix/store/ixdlrrfmibm8k7glbav1d3vzyf5n5yk5-home-manager-generation.drv
these 16 paths will be fetched (128.69 MiB download, 538.06 MiB unpacked):
  /nix/store/0fr5ri564fy2km8kz49a8w8ywwpakm2n-SDL2-2.0.20
  /nix/store/5l8aglg2yd1xzwbsl3xh67n8i0p2zal0-hook
  /nix/store/5vhn7csffnkb6w7l5v718wxvk5l313ig-qtwayland-5.15.3-bin
  /nix/store/6yl5nfcs6s97hdhpdszqrqsggwain8lp-ffmpeg-full-4.4.1
  /nix/store/937r5dj2zsabipaiy67qwbwr23vv6hgw-obs-studio-27.2.2
  /nix/store/9qigxqcawl02yrvaf4cj5fwa48kpf31j-qtquickcontrols-5.14.2-dev
  /nix/store/a3lfhjz9yzy0qv2yhksh1flychlz41ah-qtdeclarative-5.14.2-dev
  /nix/store/b49pbcn8zsjfaq2v37h6v6ivjfzwbaga-opencv-4.5.4
  /nix/store/im4lyfny6b2f0as5gy9s7plsdp6lsn1i-libvlc-3.0.17
  /nix/store/jhpv8qdlflsvr9w8xpi5nq9y36w3dcnn-firefox-91.8.0esr
  /nix/store/lywyr5rbiy4x4s0q0s5igcmg37ynnalq-qtwayland-5.14.2-dev
  /nix/store/n770bsgakv266y2467mncp9bg83vs6k4-frei0r-plugins-1.7.0
  /nix/store/qf6j04lkly3bva73as7gjw5bb6v5xvy3-qtwayland-5.14.2-bin
  /nix/store/r1x2vl3l87767vswd45q41x7qzzknngm-qtsvg-5.14.2-bin
  /nix/store/w848pbj1dzyy1l1sr0xafbniq7m48ah0-ffmpeg-4.4.1
  /nix/store/wbz2si64x3lc4xkpmnfaikicv5b6wrv2-qtsvg-5.14.2-dev
building '/nix/store/iaryj54f2dbig6d73dg1iqlc8yj0jk78-dunst.service.drv'...
building '/nix/store/99b2iw68xnvy0j7c58z20jv9h2b7jfp0-syncthing.service.drv'...
building '/nix/store/9f1g1z25v546bhvhdy8xk041b4in1qhh-luajit-2.1.0-2021-10-27-env.drv'...
building '/nix/store/ynvzxc0ls5crhr4129zy9rxlkncywka3-neovim-ruby-env.drv'...
building '/nix/store/vm44r5mjz4gwccvw2lq15acn0kmqic0q-python3-3.9.11-env.drv'...
copying path '/nix/store/0fr5ri564fy2km8kz49a8w8ywwpakm2n-SDL2-2.0.20' from 'https://cache.nixos.org'...
copying path '/nix/store/5vhn7csffnkb6w7l5v718wxvk5l313ig-qtwayland-5.15.3-bin' from 'https://cache.nixos.org'...
downloading 'https://cache.nixos.org/nar/0dd5j89ry70xc1hcpvq9qfih8ligpv80p4ni7fnlx3n3ircwpmhk.nar.xz'...
downloading 'https://cache.nixos.org/nar/0hidnn5axjndppz9pk4kwd83wcgd9h1rpl13gff8s5mzck041c79.nar.xz'...
warning: unknown setting 'experimental-features'
building '/nix/store/25yzxc31klc1jcp4r0rrmcisjp6x8sj4-emacs-packages-deps.drv'...
building '/nix/store/m6v3i65ad8j5hl5j370d3m7chrvq07kx-python3-3.9.11-env.drv'...
building '/nix/store/d6nhswkbsxd5gi0xmf4xs4vb1wpxzjh3-wps-office_11.1.0.9615.XA_amd64.deb.drv'...
copying path '/nix/store/r1x2vl3l87767vswd45q41x7qzzknngm-qtsvg-5.14.2-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/qf6j04lkly3bva73as7gjw5bb6v5xvy3-qtwayland-5.14.2-bin' from 'https://cache.nixos.org'...
downloading 'https://cache.nixos.org/nar/1xagfcdg3d9npcx8dpbbyglfvy001irv3n3aavb6vgq3by6bhasq.nar.xz'...
downloading 'https://cache.nixos.org/nar/1ivg9zxgz9ybi8z3dmxn3iw8y2865f2xcbhnlrdkzrw3mkcambs3.nar.xz'...
building '/nix/store/fah9lrf8b87f4kda24x4smzbjv3bv553-nmd-chunktoc.xsl.drv'...
building '/nix/store/1a9s1y5hnl6ik9kyw56i407crmdnjcls-steam-run-usr-target.drv'...
building '/nix/store/hqwl9s328dwhh7qyh7l6jr7zbf0g0ail-converted-asciidoc.drv'...
building '/nix/store/iv833dqkw1gcadll4yp7a2hsl9qhwzjz-nmd-options.xml.drv'...
created 4 symlinks in user environment
created 4 symlinks in user environment
created 12 symlinks in user environment
created 12 symlinks in user environment
warning: creating dangling symlink `/nix/store/v87aqjnzn6nni6qs2g1bmni1qmbhwxqq-python3-3.9.11-env//include/python3.9/python3.9m' -> `/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/include/python3.9/python3.9m' -> `../python3.9m'
warning: creating dangling symlink `/nix/store/v87aqjnzn6nni6qs2g1bmni1qmbhwxqq-python3-3.9.11-env//include/python3.9/python3.9m' -> `/nix/store/bvzpppawf2naqv3qhxqv66jxaq3iaxyj-python3-3.9.11/include/python3.9/python3.9m' -> `../python3.9m'
created 327 symlinks in user environment
created 327 symlinks in user environment
created 4 symlinks in user environment
created 4 symlinks in user environment
builder for '/nix/store/iaryj54f2dbig6d73dg1iqlc8yj0jk78-dunst.service.drv' failed to produce output path '/nix/store/wplv7k58klsmxadiqsk2qbhh4zbrkq6c-dunst.service'
builder for '/nix/store/99b2iw68xnvy0j7c58z20jv9h2b7jfp0-syncthing.service.drv' failed to produce output path '/nix/store/ay6x4cv3xppk8xi3nj1gyvdhbqvzz2lh-syncthing.service'
cannot build derivation '/nix/store/y4ikks70m0ad7acj1p4xa7nk1ikibl8l-home-manager-files.drv': 1 dependencies couldn't be built
building '/nix/store/qkqihl1rk68n8nivmy3xc1r4hhp7h7y0-nmd-options.xml.drv'...
building '/nix/store/sb4zzn9knqcylqnx28f1840i6mb92fnk-nmd-options.xml.drv'...
cannot build derivation '/nix/store/ixdlrrfmibm8k7glbav1d3vzyf5n5yk5-home-manager-generation.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ixdlrrfmibm8k7glbav1d3vzyf5n5yk5-home-manager-generation.drv' failed

We’re going to need a bit more context :slight_smile: Can you share the rest of the log, and perhaps the channel info?

Got the same here (with another version of nixpkgs, hash is different) but here is the log

this derivation will be built:
  /nix/store/4j7h33s79d3x6q182w30fdz74ijijch2-gpg-agent-ssh.socket.drv
building '/nix/store/4j7h33s79d3x6q182w30fdz74ijijch2-gpg-agent-ssh.socket.drv'...
error: builder for '/nix/store/4j7h33s79d3x6q182w30fdz74ijijch2-gpg-agent-ssh.socket.drv' failed to produce output path for output 'out' at '/nix/store/4j7h33s79d3x6q182w30fdz74ijijch2-gpg-agent-ssh.socket.drv.chroot/nix/store/ljdhcmz7d6c11n9p3nqffx29djihc07y-gpg-agent-ssh.socket'

Disabling sandbox does not solve the issue.

Is this Home-Manager?

There have been issues with its systemd issues recently on master branch that resulted in similar errors.

there is an issue in nixpkgs about this (close), it is fixed in HM master.

Thx.
Found it (systemd: fix creation of user service unit files by andresilva · Pull Request #2867 · nix-community/home-manager · GitHub).

how can I see when or if it get into release-21.11 as well?

  • what is the main different between the latest release version and master (is it only some commits ahead or does it include braking changes)?

using rev from master makes no difference?

building '/nix/store/xl7y6hbd4cbh3laxgal7sk76vkm5ini2-lorri.socket.drv'...
copying path '/nix/store/1i9v0mi8ywywc7w761qnfvxs5yv51ip2-runtime-closure.nix' from 'https://cache.nixos.org'...
downloading 'https://cache.nixos.org/nar/155fxl9cv6kjg91h83b3cipwi1vibyah1hkwribh0iy4xy70jmrc.nar.xz'...
builder for '/nix/store/xl7y6hbd4cbh3laxgal7sk76vkm5ini2-lorri.socket.drv' failed to produce output path '/nix/store/qpcrrr9cdgkcb0s39jnz0bknz0pf66fp-lorri.socket'
cannot build derivation '/nix/store/m5y02pjw36p0572ifb5hnimjkg8gvplg-home-manager-files.drv': 1 dependencies couldn't be built

The only good way to know when a commit makes it into stable is to keep an eye on the git history and subscribe to github PRs. Sometimes it won’t unless you make an effort to open a pull request yourself, it’s all maintained by volunteers after all :slight_smile:

If you don’t want to clone the repo yourself to check, if you visit the branch on GitHub it will tell you the diff as well: GitHub - nix-community/home-manager at release-21.11

Master is the latest development branch, release branches happen every 6 months and then have security patches or significant bugs patched throughout their lifetime, so the delta is quite large. Some 300 commits ATM because 22.05 is just around the corner.

If this affects you and you think a backport of some kind makes sense, open an upstream issue about it.