Ludovic Courtès a06a95baff
pull: Create profile after the store connection has been opened.
Fixes <https://bugs.gnu.org/35341>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

Previously, we'd call 'ensure-default-profile' before the connection to
the daemon has been opened.  On the first connection, the daemon ensures
that /var/guix/profiles/per-user is world-writable.  Since we were
calling 'ensure-default-profile' before that,
/var/guix/profiles/per-user was typically non-writable (555 and
root-owned), and thus 'guix pull' would error out.

* guix/scripts/pull.scm (guix-pull): Call 'ensure-default-profile'
within 'with-store'.
2019-04-22 12:01:32 +02:00
..
2019-04-10 17:09:47 +02:00
2017-07-21 17:03:24 +02:00
2019-04-14 23:40:52 +02:00
2017-01-28 18:55:20 +01:00
2018-08-26 01:47:40 +02:00
2018-09-25 18:45:50 +02:00
2017-11-08 22:31:58 +01:00
2019-04-08 10:42:51 +02:00
2018-06-01 15:21:28 +02:00
2019-03-13 23:12:43 +01:00
2018-09-04 17:25:11 +02:00
2019-04-17 11:53:53 +02:00
2018-12-19 23:52:25 +01:00