Subject: Re: [bug#70494] [PATCH 14/23] scripts: perform-download: Support configuring the %store-prefix.

From: Ludovic Courtès <[email-masked]>
Date: Thu, 16 May 2024 18:17:10 +0200

Christopher Baines <[email-masked]> skribis:

> * guix/scripts/perform-download.scm (guix-perform-download): Use
> GUIX_STORE_DIRECTORY from the environment if it's set, as this allows using
> the perform-download script with a non-default store directory.
>
> Change-Id: Id96bb901a106e1b13be5b21b3ce436c680c616a2

[...]

> +  (and=> (getenv "GUIX_STORE_DIRECTORY")
> +         %store-prefix)

‘%store-prefix’ is a parameter, and it already honors NIX_STORE_DIR by
default.  ‘GUIX_STORE_DIRECTORY’ isn’t used anywhere AFAICS.

Maybe let’s stick to what we currently have?