1
1
mirror of https://github.com/divnix/digga.git synced 2024-10-04 02:27:45 +03:00

Using extra-* in nix.extraOptions should append to existing entries in nix.conf

This commit is contained in:
teutat3s 2021-07-20 21:28:46 +02:00 committed by Parthiv Seetharaman
parent 826620aabb
commit 2965633c1f

View File

@ -20,9 +20,10 @@ in
# package and option is from fup
nix.generateRegistryFromInputs = lib.mkDefault true;
# missing merge semantics in this option force us to use extra-* for now
nix.extraOptions = ''
experimental-features = ${lib.concatStringsSep " " experimental-features }
substituters = ${lib.concatStringsSep " " substituters }
trusted-public-keys = ${lib.concatStringsSep " " trusted-public-keys }
extra-experimental-features = ${lib.concatStringsSep " " experimental-features }
extra-substituters = ${lib.concatStringsSep " " substituters }
extra-trusted-public-keys = ${lib.concatStringsSep " " trusted-public-keys }
'';
}