[Nix] Enable flake support for nix repl

This commit is contained in:
Antoine Viallon 2023-05-11 23:14:16 +02:00
parent 04b784451f
commit 5ca978f344
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -88,7 +88,7 @@ in
nix.settings.builders-use-substitutes = true;
nix.settings.substitute = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ]
nix.settings.experimental-features = [ "nix-command" "flakes" "repl-flake" ]
++ optional cfg.contentAddressed "ca-derivations";
nix.settings.download-attempts = 5;