flake-compat icon indicating copy to clipboard operation
flake-compat copied to clipboard

sourceInfo does not have revCount with flake-compat, differing from getFlake

Open charles-dyfis-net opened this issue 3 years ago • 0 comments

Using Nix 2.8.1, a flake from git has the attributes rev, shortRev, revCount, lastModified and lastModifiedDate all under flake.sourceInfo.

However, with flake-compat, flake.sourceInfo has rev, shortRev, lastModified and lastModifiedDate, but not revCount directly under flake.sourceInfo.

revCount is available under flake.sourceInfo.outPath in this scenario.

charles-dyfis-net avatar Aug 19 '22 17:08 charles-dyfis-net