nix-daemon.nix: Fix checkConfig

wip/yesman
Eelco Dolstra 5 years ago
parent 6445a7cf7d
commit 52e739cc58
  1. 2
      nixos/modules/services/misc/nix-daemon.nix

@ -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
'')
);

Loading…
Cancel
Save