Morgan Smith <[email protected]> writes:

Hi Morgan,

> GNU Guix is a pretty normal Linux distro that has a "/tmp" directory and
> has "/bin/sh".  However, the build environment is pretty funky because
> it wants to be "functional" (like nix).  I'm trying to run tests in this
> funky build environment.
>
> This build environment does not provide "/bin/sh" and the tmpdir is
> something like "/tmp/guix-build-emacs-org-10.0-pre.drv-0/tmp-orgtest/".
>>
>> The rationale is the comment I would say. What doesn't work with it?
>
> This commit hard codes the temporary directory to "/tmp/" instead of
> running `(temporary-file-directory)'.  This would fail on any system
> that has a custom value of `temporary-file-directory'.

So it shall use (temporary-file-directory) indeed. And the temp file on
the remote host must be configured (the default value is "/tmp"), as
described in the Tramp manual (info "(tramp) Predefined connection information")

--8<---------------cut here---------------start------------->8---
(add-to-list 'tramp-connection-properties
             (list (regexp-quote "/ssh:[email protected]:")
                   "tmpdir" 
"/tmp/guix-build-emacs-org-10.0-pre.drv-0/tmp-orgtest/"))
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.

Reply via email to