diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-09-19 16:26:44 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-09-19 22:52:36 +0200 |
commit | 1b179d7876f19f04009a2f9e248ac10711f4c660 (patch) | |
tree | d3dfb99a2c0eaee62c32f647b93ceb65b9a2a778 /bootstrap | |
parent | 0996fcc657593955845c2761d7eb0f656149fe11 (diff) | |
download | guix-1b179d7876f19f04009a2f9e248ac10711f4c660.tar.gz guix-1b179d7876f19f04009a2f9e248ac10711f4c660.zip |
describe: Save the original value of (program-arguments).
Fixes <https://bugs.gnu.org/42688>.
Reported by pkill9 <pkill9@runbox.com>.
This ensures that 'guix repl -s SCRIPT' give SCRIPT the right value
of (current-profile), which in turn ensures that (%package-module-path)
is initialized with the right set of channels.
* guix/describe.scm (initial-program-arguments): New variable.
(current-profile): Use it.
* guix/scripts/repl.scm (guix-repl): Call 'current-profile' before
'set-program-arguments'.
Diffstat (limited to 'bootstrap')
0 files changed, 0 insertions, 0 deletions