diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ba9ac875ace3..ffb0a473bef3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7458,7 +7458,7 @@ let db4 = db45; supportOldDBs = getPkgConfig "nix" "OldDBSupport" true; storeDir = getPkgConfig "nix" "storeDir" "/nix/store"; - stateDir = getPkgConfig "nix" "stateDir" "/nix/state"; + stateDir = getPkgConfig "nix" "stateDir" "/nix/var"; }; nixCustomFun = src: preConfigure: enableScripts: configureFlags: