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

Open
opened 2022-08-19 17:56:37 +00:00 by charles-dyfis-net · 0 comments
charles-dyfis-net commented 2022-08-19 17:56:37 +00:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/flake-compat#43
No description provided.