unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Philip Woods <elzairthesorcerer@gmail.com>
Cc: 18689-done@debbugs.gnu.org
Subject: bug#18689: guix-register test fails
Date: Sun, 02 Nov 2014 21:39:34 +0100	[thread overview]
Message-ID: <87k33djq0p.fsf@gnu.org> (raw)
In-Reply-To: <877g0644vz.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 12 Oct 2014 00:29:20 +0200")

ludo@gnu.org (Ludovic Courtès) skribis:

> diff --git a/nix/guix-register/guix-register.cc b/nix/guix-register/guix-register.cc
> index 92eedab..f5c610f 100644
> --- a/nix/guix-register/guix-register.cc
> +++ b/nix/guix-register/guix-register.cc
> @@ -224,16 +224,16 @@ main (int argc, char *argv[])
>      {
>        argp_parse (&argp, argc, argv, 0, 0, 0);
>  
> +      /* Instantiate the store.  This creates any missing directories among
> +	 'settings.nixStore', 'settings.nixDBPath', etc.  */
> +      LocalStore store;
> +
>        if (!prefix.empty ())
>  	/* Under the --prefix tree, the final name of the store will be
>  	   NIX_STORE_DIR.  Set it here so that the database uses file names
>  	   prefixed by NIX_STORE_DIR and not PREFIX + NIX_STORE_DIR.  */
>  	settings.nixStore = NIX_STORE_DIR;
>  
> -      /* Instantiate the store.  This creates any missing directories among
> -	 'settings.nixStore', 'settings.nixDBPath', etc.  */
> -      LocalStore store;
> -
>        register_validity (&store, *input, deduplication);
>      }
>    catch (std::exception &e)

Committed as 47e643d.  Closing this bug.

Ludo’.

      reply	other threads:[~2014-11-02 20:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-11 18:22 bug#18689: guix-register test fails Philip Woods
2014-10-11 22:29 ` Ludovic Courtès
2014-11-02 20:39   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k33djq0p.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=18689-done@debbugs.gnu.org \
    --cc=elzairthesorcerer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).