Skip to content

Fixed-Output Derivation for Bootstrap Tarball#510

Open
tennox wants to merge 1 commit into
nix-community:testingfrom
tennox:pure-eval-fod
Open

Fixed-Output Derivation for Bootstrap Tarball#510
tennox wants to merge 1 commit into
nix-community:testingfrom
tennox:pure-eval-fod

Conversation

@tennox
Copy link
Copy Markdown

@tennox tennox commented Mar 9, 2026

Makes the Nix tarball download in bootstrap package build reproducible and deterministic by using Fixed-Output Derivations (FOD) - instead of impure builtins.fetchurl.

Replace builtins.fetchurl with fetchurl to make the Nix tarball download
a Fixed-Output Derivation. This ensures reproducibility with explicit hash
verification, enabling efficient caching and integrity checks.

Assisted-By: model-haiku via Claude Code
@tennox
Copy link
Copy Markdown
Author

tennox commented Mar 9, 2026

I realized the whole nixDirectory import is very impure and this doesn't help much...
so can be merged but doesn't change much I guess

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