Subject: Sourcing environment-variables may send to wrong directory

From: Alexandre Hannud Abdo <[email-masked]>
Date: Tue, 20 Apr 2021 22:37:09 +0200

Ni!

While debugging a package definition I met the following odd behavior:

On subsequent failed builds, if I go to build dir and source
'environment-variables', this is what happens:

/tmp/guix-build-[package].drv-1$ source environment-variables
/tmp/guix-build-[package].drv-0/[package]$

See how I source it in failed build '-1', but my cwd gets changed to
failed build '-0'!

Cheers,
ale
.~´