versionCheckHook: use current coreutils env#474203
versionCheckHook: use current coreutils env#474203mdaniels5757 merged 1 commit intoNixOS:stagingfrom
Conversation
I was getting an "env: unrecognized option '--argv0=less'" error when using a package that used this hook in the bootstrap sequence.
e794cb3 to
6939271
Compare
|
Tested (on x86_64-linux) both the modified package that I noticed the issue on (uncommitted passthru.tests for gzip), and normal |
Could you give an example for a package in the bootstrap sequence that would not fail thanks to the changes here? Will you be using a different |
|
It looks like the root cause is that the bootstrap tools use coreutils 9.4, and --argv0 was added in coreutils 9.5 (coreutils/coreutils@193449b). Maybe the better solution is to update the bootstrap tarballs, in that case? |
OK thanks for explaining. I'm still a bit confused though as for |
|
See #474625 |
I was getting an "env: unrecognized option '--argv0=less'" error when using a package that used this hook in the bootstrap sequence.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.