@@ -118,8 +118,9 @@ in rec {
118118 # The actual generation of the xml file is done in nix purely for the convenience
119119 # of not having to generate the xml some other way
120120 optionsXML = pkgs.runCommand "options.xml" {} ''
121+ export NIX_STORE_DIR=$TMPDIR/store
122+ export NIX_STATE_DIR=$TMPDIR/state
121123 ${pkgs.nix}/bin/nix-instantiate \
122− --store dummy:// \
123124 --eval --xml --strict ${./optionsJSONtoXML.nix} \
124125 --argstr file ${optionsJSON}/share/doc/nixos/options.json \
125126 > "$out"