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

copyClosureTo: Use SubstituteFlag instead of bool #1317

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

Ericson2314
Copy link
Member

@Ericson2314 Ericson2314 commented Dec 7, 2023

This matches Nix (in the same serialization logic in src/libstore/legacy-ssh-store.cc) and adds clarity.

This matches Nix (in the same serialization logic in
`src/libstore/legacy-ssh-store.cc`) and adds clarity.
@Ericson2314
Copy link
Member Author

Ericson2314 commented Dec 7, 2023

https://github.com/NixOS/nix/blob/43d55dd15f22376e11ce171699b129c0c6a18745/src/libstore/legacy-ssh-store.cc#L409 here is that serialization code in Nix for reference.

https://github.com/NixOS/nix/blob/43d55dd15f22376e11ce171699b129c0c6a18745/src/libstore/store-api.hh#L82 Here is SubstituteFlag to make sure there isn't any flipped booleans or whatever.

@Ericson2314 Ericson2314 merged commit 5870743 into NixOS:master Dec 7, 2023
1 check passed
@Ericson2314 Ericson2314 deleted the substitute-flag branch December 7, 2023 05:23
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.

1 participant