Closed Ericson2314 closed 7 months ago
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.
This matches Nix (in the same serialization logic in
src/libstore/legacy-ssh-store.cc
) and adds clarity.