Nikita Karetnikov <[email protected]> skribis: > (system* "tar" "xvf" tarball)
The ‘PATH’ environment variable is empty. So this should be:
(let ((tar (string-append (assoc-ref %build-inputs "tar")
"/bin/tar")))
(zero? (system* tar "xvf" tarball)))
And tar needs to be explicitly added as an input.
Note ‘zero?’ to make sure ‘tar’ exits normally.
See ‘package-from-tarball’ for an example, in bootstrap.scm.
HTH,
Ludo’.
