1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-08 15:13:55 +02:00

Implement overlay store deduplication.

This commit is contained in:
Ben Radford 2023-07-19 12:32:32 +01:00
parent a9510f9502
commit 8ddbcb736a
No known key found for this signature in database
GPG key ID: 9DF5D4640AB888D5
2 changed files with 18 additions and 3 deletions

View file

@ -45,8 +45,7 @@ overlayInode=$(stat -c %i "$overlayPath")
nix-store --store "$storeB" --optimise
remountOverlayfs
# Check path only exists in lower store
stat "$lowerPath"
stat "$overlayPath"
expect 1 stat "$upperPath"
#expect 1 stat $(toRealPath "$storeA/nix/store" "$path")