unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47189: octave needs to be wrapped with coreutils
@ 2021-03-16 11:46 Efraim Flashner
  2024-09-24  4:53 ` Arseniy Zaostrovnykh
  2024-09-24  4:56 ` bug#47189: [PATCH] gnu: octave-cli: Make coreutils an explicit input Arseniy Zaostrovnykh
  0 siblings, 2 replies; 3+ messages in thread
From: Efraim Flashner @ 2021-03-16 11:46 UTC (permalink / raw)
  To: 47189

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

I tracked down a bug where octave has a function called 'copyfile' which
shells out to call 'cp -r' but in an environment without coreutils, or
when in a script with PATH unset, it fails.

try it out with the following:
touch foo
guix environment --pure --ad-hoc octave-cli -- \
    octave --eval 'copyfile("foo","bar");'

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-24  5:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 11:46 bug#47189: octave needs to be wrapped with coreutils Efraim Flashner
2024-09-24  4:53 ` Arseniy Zaostrovnykh
2024-09-24  4:56 ` bug#47189: [PATCH] gnu: octave-cli: Make coreutils an explicit input Arseniy Zaostrovnykh

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).