Nikita Karetnikov <nik...@karetnikov.org> skribis: > /tmp/nix-build-wdiff-1.1.2.drv-12/wdiff-1.1.2/src/wdiff: failed to execute > diff: No such file or directory
So, the test suite creates ‘diff’ binaries, for instance, with an invalid shebang. To fix that you need to add a phase that does: (substitute* "tests/testsuite" (("#! /bin/sh") (string-append "#!" (which "sh")))) I believe this should be enough. HTH, Ludo’.