sometimes when i build against the release profile it works perfectly and builds just fine, other times not so much but can usually be fixed by restarting the build. perhaps caused by the optimisations?
Our Personal Data Server from scratch!
tranquil.farm
pds
rust
database
fun
oauth
atproto
release profile is not reproducible #48
open
opened by
isabelroses.com
oh thats ... not great. would optimisations do that? urgh its been a while since i dealt with reproducibility of rust builds. definitely wanna fix that tho
mostly confused cause afaik cargo is basically always deterministic, then nix provides the specified environment and dependencies and thus should make it reproducible urgh
isabelroses.com
(author)
i mostly assumed it was optimisations since i know that is a common cause for none reproducible builds, fat lto was also what made me think it. but it might certainly not be that.
I did indeed put all the optimization settings for release build quite up there, hmm. this will probably be easier to investigate when the nix module is merged into main, right? :p