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

Return derivation signatures in Perl bindings #4272

Merged
merged 1 commit into from Nov 23, 2020

Conversation

kwohlfahrt
Copy link
Contributor

I propose to add derivation signatures to the array returned by queryPathInfo. I have a matching patch to nix-serve, to serve pre-signed packages instead of signing packages on demand.

I'm not a Perl expert, but as far as I can tell, adding values to the end of this array is backwards-compatible with usage like:

my ($deriver, $narHash, $time, $narSize, $refs) = queryPathInfo($storePath, 1)

but I can also create another function to get these signatures (queryPathSigs or similar) if that is a better approach.

@edolstra edolstra merged commit 7827d95 into NixOS:master Nov 23, 2020
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.

None yet

2 participants