flake.lib.buildNixpkgsConfig: fix stateDir

This commit is contained in:
2025-06-26 10:24:11 +08:00
parent 895e371ac9
commit 7efc011a8e

View File

@@ -27,7 +27,7 @@ let
# contentAddressedByDefault = true;
})
// (inputs.lib.optionalAttrs (nixpkgs.nixRoot != null)
{ nix = { storeDir = "${nixpkgs.nixRoot}/store"; stateDir = "${nixpkgs.nixRoot}/var"; }; });
{ nix = { storeDir = "${nixpkgs.nixRoot}/store"; stateDir = "${nixpkgs.nixRoot}/state"; }; });
in platformConfig //
{
inherit config;