Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@nix:/home/USER]# tail -17 /etc/nixos/configuration.nix
- fileSystems."/mnt/hgfs" = {
- #device = ".host:/";
- #fsType = "vmhgfs";
- device = "vmhgfs-fuse";
- fsType = "fuse";
- options = [
- "rw"
- "nosuid"
- "nodev"
- "nofail"
- "relatime"
- "ttl=5"
- "uid=USER"
- "gid=USER"
- ];
- };
- }
- [root@nix:/home/USER]# nixos-rebuild test
- building Nix...
- building the system configuration...
- these derivations will be built:
- /nix/store/hy8nz4sgiarqamx81cbm37ghqj062jmz-unit-mnt-hgfs.mount.service.drv
- /nix/store/4m79aq3v8b4rr532bsibh70cr4jhcmkh-system-units.drv
- /nix/store/8zvzk31qd3igsww51yrp87a7bwc73a2n-etc.drv
- /nix/store/0wsidj9dxhpn7bc3rajz6mqcmq79mxzi-nixos-system-nix-18.03.133192.45f52f765cd.drv
- building '/nix/store/hy8nz4sgiarqamx81cbm37ghqj062jmz-unit-mnt-hgfs.mount.service.drv'...
- building '/nix/store/4m79aq3v8b4rr532bsibh70cr4jhcmkh-system-units.drv'...
- building '/nix/store/8zvzk31qd3igsww51yrp87a7bwc73a2n-etc.drv'...
- building '/nix/store/0wsidj9dxhpn7bc3rajz6mqcmq79mxzi-nixos-system-nix-18.03.133192.45f52f765cd.drv'...
- activating the configuration...
- setting up /etc...
- setting up tmpfiles
- warning: the following units failed: mnt-hgfs.mount
- ● mnt-hgfs.mount - /mnt/hgfs
- Loaded: loaded (/etc/fstab; generated)
- Active: failed (Result: exit-code) since Tue 2018-09-18 00:05:08 CEST; 22ms ago
- Where: /mnt/hgfs
- What: vmhgfs-fuse
- Docs: man:fstab(5)
- man:systemd-fstab-generator(8)
- Process: 9135 ExecMount=/nix/store/d49n6q7b197j2nsnbdvn6i55rsnmiyq1-util-linux-2.31.1-bin/bin/mount vmhgfs-fuse /mnt/hgfs -t fuse -o rw,nosuid,nodev,relatime,ttl=5,uid=USER,gid=USER (code=exited, status=127)
- Sep 18 00:05:08 nix systemd[1]: Mounting /mnt/hgfs...
- Sep 18 00:05:08 nix mount[9135]: /bin/sh: vmhgfs-fuse: command not found
- Sep 18 00:05:08 nix systemd[1]: mnt-hgfs.mount: Mount process exited, code=exited status=127
- Sep 18 00:05:08 nix systemd[1]: mnt-hgfs.mount: Failed with result 'exit-code'.
- Sep 18 00:05:08 nix systemd[1]: Failed to mount /mnt/hgfs.
- warning: error(s) occurred while switching to the new configuration
- [root@nix:/home/USER]# ls -l /nix/store/*/*mnt-hgfs*
- lrwxrwxrwx 1 root root 94 Jan 1 1970 /nix/store/4a8nfhf044gh7pf3ha1r7glhw2lpnnv3-system-units/mnt-hgfs.mount.service -> /nix/store/f9v616h5k9d4yp24gdnnczlrwhjfq5y7-unit-mnt-hgfs.mount.service/mnt-hgfs.mount.service
- -r--r--r-- 1 root root 1013 Jan 1 1970 /nix/store/f9v616h5k9d4yp24gdnnczlrwhjfq5y7-unit-mnt-hgfs.mount.service/mnt-hgfs.mount.service
- [root@nix:/home/USER]# cat /nix/store/f9v616h5k9d4yp24gdnnczlrwhjfq5y7-unit-mnt-hgfs.mount.service/mnt-hgfs.mount.service
- [Unit]
- [Service]
- Environment="LOCALE_ARCHIVE=/nix/store/v2hvbpzhndgjm04djqql93bmb4w69gql-glibc-locales-2.26-131/lib/locale/locale-archive"
- Environment="PATH=/nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin:/nix/store/920k63py2w97xpfyb5ps9l6wbidvzfjz-coreutils-8.29/bin:/nix/store/hlgglqv1vm88frmysq2laifavxjhaf55-findutils-4.6.0/bin:/nix/store/iywd02hbirf506q740z0v6zyrvsa9gcf-gnugrep-3.1/bin:/nix/store/wkgszaq2dkc4asapcbx6ypd7xdnzad9f-gnused-4.4/bin:/nix/store/3hmpbbcv1db42m9g34c9g4q6qinw50x4-systemd-237/bin:/nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/sbin:/nix/store/920k63py2w97xpfyb5ps9l6wbidvzfjz-coreutils-8.29/sbin:/nix/store/hlgglqv1vm88frmysq2laifavxjhaf55-findutils-4.6.0/sbin:/nix/store/iywd02hbirf506q740z0v6zyrvsa9gcf-gnugrep-3.1/sbin:/nix/store/wkgszaq2dkc4asapcbx6ypd7xdnzad9f-gnused-4.4/sbin:/nix/store/3hmpbbcv1db42m9g34c9g4q6qinw50x4-systemd-237/sbin"
- Environment="TZDIR=/nix/store/k8n4sf0yfas70yfv156knrpv9xfipjwm-tzdata-2017c/share/zoneinfo"
- [root@nix:/home/USER]# find /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/ -iname '*hgfs*'
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin/mount.vmhgfs
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin/vmhgfs-fuse
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/bin/vmware-hgfsclient
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.so
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/open-vm-tools/plugins/common/libhgfsServer.la
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/open-vm-tools/plugins/common/libhgfsServer.so
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.so.0.0.0
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.la
- /nix/store/b57ima90i77cjyav2ijs73zd6hjng9d3-open-vm-tools-10.1.10/lib/libhgfs.so.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement