- Remove nix dependency from uucore Cargo.toml
- Remove nix error conversion impls from error.rs, replace with rustix
- Migrate date's clock_settime/clock_getres from nix to rustix::time
- Replace nix dependency with rustix in date's Cargo.toml
- Update test nix features for test utilities that still need it
The nix crate is now completely removed from all source code (src/).
It remains only as a dev-dependency for test code.
Symlink LICENSE from the project root so it gets picked up when packaging
```
coreutils/tests/uutests on uutests-add-license
$ cargo package --allow-dirty --list | grep LICENSE
coreutils/tests/uutests on uutests-add-license
$ ln -s ../../LICENSE .
coreutils/tests/uutests on uutests-add-license
$ cargo package --allow-dirty --list | grep LICENSE
LICENSE
```
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
This ensures that the PATH environment variable is preserved even when cleared, allowing tests to find system utilities on NixOS where they are not in standard locations like /bin.
Fixes#10756
The tests fail when a non-UTF8 path is mounted, that's... not a
common case, but using a lossy string works just as well for the
tests, so let's use that.