Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tool: read build time from symlink #100

Merged
merged 1 commit into from
Feb 9, 2023
Merged

tool: read build time from symlink #100

merged 1 commit into from
Feb 9, 2023

Conversation

nikstur
Copy link
Collaborator

@nikstur nikstur commented Feb 8, 2023

Read the build time from generation symlinks in /nix/var/nix/profiles
instead of from the underlying derivation. The derivation build time
will always be a UNIX epoch of 0 because of the nix-build sandbox,
which is useless for identifying when a generation was created.

Closes #95

Read the build time from generation symlinks in /nix/var/nix/profiles
instead of from the underlying derivation. The derivation build time
will always be a UNIX epoch of 0 because of the `nix-build` sandbox,
which is useless for identifying when a generation was created.
@blitz blitz merged commit 01f8fd4 into master Feb 9, 2023
@blitz blitz deleted the fix-build-time branch February 9, 2023 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build time in .osrel section of stub is always UNIX epoch 0
2 participants