GNU bug report logs - #33259
[PATCH 0/8] 'guix pack': Better '--localstatedir' handling and more tests

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sun, 4 Nov 2018 22:03:02 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #56 received at 33259 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 33259 <at> debbugs.gnu.org
Subject: Re: [bug#33259] [PATCH 1/8] pack: Move store database creation to a
 separate derivation.
Date: Tue, 06 Nov 2018 15:43:54 +0100
Hi,

Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> On Sun,  4 Nov 2018 23:10:29 +0100
> Ludovic Courtès <ludo <at> gnu.org> 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’.




This bug report was last modified 6 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.