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

runInLinuxVM: fix createEmptyImage/preVM case #358705

Merged
merged 2 commits into from
Nov 24, 2024
Merged

Commits on Nov 24, 2024

  1. runInLinuxVM: re-add sourcing of stdenv & .attrs.sh

    This is required for `preVM` which can be arbitrary code: e.g.
    `vmTools.createEmptyImage` assumes the presence of `$out` in its default
    configuration.
    
    Also, before this patch, `preVM` wasn't even set in the
    `__structuredAttrs` case.
    Ma27 committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    26eba25 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e2ce1b View commit details
    Browse the repository at this point in the history