guix-patches
[Top][All Lists]
Advanced

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

[bug#45958] [PATCH core-updates v3 1/2] utils: Retrieve the store prefix


From: Ludovic Courtès
Subject: [bug#45958] [PATCH core-updates v3 1/2] utils: Retrieve the store prefix from NIX_STORE_DIR, not STORE_DIR.
Date: Thu, 28 Jan 2021 00:10:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:

>>  (define (%store-directory)
>>    "Return the directory name of the store."
>> -  (or (getenv "NIX_STORE")
>> +  (or (getenv "NIX_STORE_DIR")
>>        "/gnu/store"))
>>  
>>  (define (store-file-name? file)
>
> I found that both environment variables should be honored and pushed
> with a revised explanation in 47a6a938c3c4d0bbe7b6a3c64ff75d7bfb2f24fb.

Sounds good to me, thanks!

Ludo’.





reply via email to

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