mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Small windows cross fixes (#11230)
This commit is contained in:
parent
db5bacb637
commit
733c816d34
2 changed files with 4 additions and 2 deletions
|
@ -891,7 +891,7 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results)
|
|||
|
||||
void LocalStore::autoGC(bool sync)
|
||||
{
|
||||
#ifdef HAVE_STATVFS
|
||||
#if HAVE_STATVFS
|
||||
static auto fakeFreeSpaceFile = getEnv("_NIX_TEST_FREE_SPACE_FILE");
|
||||
|
||||
auto getAvail = [this]() -> uint64_t {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue