Skip to content

fusee-nano: fix version scheme#543810

Merged
Defelo merged 1 commit into
NixOS:masterfrom
notklea:541820/fusee-nano
Jul 20, 2026
Merged

fusee-nano: fix version scheme#543810
Defelo merged 1 commit into
NixOS:masterfrom
notklea:541820/fusee-nano

Conversation

@notklea

@notklea notklea commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Fixed the version scheme per #541820.

Things done

@notklea
notklea marked this pull request as ready for review July 20, 2026 10:55
@nixpkgs-ci
nixpkgs-ci Bot requested a review from leo60228 July 20, 2026 11:00
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jul 20, 2026
stdenv.mkDerivation {
pname = "fusee-nano";
version = "unstable-2023-05-17";
version = "0.5.3-unstable-2023-05-17";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
version = "0.5.3-unstable-2023-05-17";
version = "0.5.3-unstable-2023-05-18";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

committed on May 18, 2023

Or is it because of my tz? Can you help me verify?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is a timezone difference. I don't know if there's a convention for this but it's the 17th in my local timezone, the upstream commit's local timezone, and UTC.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I guess we are fine with 17th then :)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wrote this cursed piece of code, in case you want to test it for other repos:

(
git clone https://github.com/DavidBuchanan314/fusee-nano
cd fusee-nano
date -u -d"@$(git rev-list -1 --no-commit-header --format=%ct 2979d34f470d02f34594d8d59be1f5c7bf4bf73f)" "+%F" >&6
cd ..
rm -rf fusee-nano
) 6>&1 1>/dev/null 2>/dev/null

The important function is mostly git rev-list -1 --no-commit-header --format=%ct $commit_reference, and then using date -u -d@$timestamp +%F.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jul 20, 2026
@Defelo
Defelo added this pull request to the merge queue Jul 20, 2026
Merged via the queue into NixOS:master with commit 52de331 Jul 20, 2026
36 checks passed
@notklea
notklea deleted the 541820/fusee-nano branch July 20, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants