guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#33259] [PATCH 1/8] pack: Move store database creation to a separate


From: Ludovic Courtès
Subject: [bug#33259] [PATCH 1/8] pack: Move store database creation to a separate derivation.
Date: Tue, 06 Nov 2018 15:43:54 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi,

Danny Milosavljevic <address@hidden> skribis:

> On Sun,  4 Nov 2018 23:10:29 +0100
> Ludovic Courtès <address@hidden> wrote:
>
>> +  (when database
>> +    (install-file database (scope "/var/guix/db/"))
>> +    (chmod (scope "/var/guix/db/db.sqlite") #o644)
>
> Hmm, is it guaranteed that the basename of DATABASE is "db.sqlite" ?
> Sounds a little magical.

Yeah I understand your reluctance, but it’s actually guaranteed; if it
ever changes, this code will error out so hopefully we’ll catch it
with the tests.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]