I installed toybox to get webcam to run. Later I discovered that the version of cp in toybox would create empty files. So I pulled toybox from /etc/nixos/configuration.nix. Now I find
/run/current-system/sw/bin/cp: symbolic link to /nix/store/wkncsy0h3kicp5y5hwqyqkirpa3ff5pv-coreutils-full-9.1/bin/cp
And that cp works.
- How should I approach getting cp in toybox fixed?
- How do I find out how a particular binary gets into my path? I don’t see coreutils-full in configuration.nix.