Ludovic Courtès 1b179d7876
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'.
2020-09-19 22:52:36 +02:00
..
2019-12-15 00:34:05 +01:00
2020-07-05 03:15:08 +05:30
2020-07-05 16:07:59 +05:30
2020-07-20 23:25:10 +02:00
2020-09-06 15:40:54 +02:00
2020-04-17 23:36:47 +02:00
2020-05-11 23:30:55 +02:00
2019-03-13 23:12:43 +01:00