Conversation
|
Strangely enough, with this change I still get a similar error: However, the build continues and I'm able to reproduce the most recent AEs. |
|
hi @jethrogb! The issue is now resolved on the main branch and latest reproducible tag: https://github.com/intel/confidential-computing.sgx/tree/sgx_2.27_reproducible. We suggest using this approach instead of the reproducible branch. I'm also considering removing the Recent changes to reproducibility, including nix update: 9f5eb70 and d8e22e8. |
|
I'm fine with the tag-based approach, but I'm fairly certain you still need to implement a fix like this PR to make sure the releases remain reproducible into the future. |
Trying to do the reproducible build right now results in the following error in step 10 of the Dockerfile:
The problem seems to be that
nixpkgsis not pinned and always using the latest version. This PR pins thenixpkgsversion to 22.05, which is the version that was available when Nix 2.9 was released.More details about nixpkgs pinning:
https://nix.dev/tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.html
https://nix.dev/reference/pinning-nixpkgs.html