nix-daemon.nix: Fix checkConfig

This commit is contained in:
Eelco Dolstra 2019-10-23 18:39:37 +02:00
parent 6445a7cf7d
commit 52e739cc58

View file

@ -61,7 +61,7 @@ let
'' else ''
echo "Checking that Nix can read nix.conf..."
ln -s $out ./nix.conf
NIX_CONF_DIR=$PWD ${cfg.package}/bin/nix show-config ${optionalString isNix23 "--no-net"} >/dev/null
NIX_CONF_DIR=$PWD ${cfg.package}/bin/nix show-config ${optionalString isNix23 "--no-net --option experimental-features nix-command"} >/dev/null
'')
);