Skip to content

Move backwards-compatible yet cross-unsafe mkDerivation behavior behind a single switch #36219

Closed

Description

@shlevy

During a native build, stdenv has some behaviors that are inappropriate from a cross-compilation perspective yet were kept to reduce churn and increase compatibility (e.g. packages in buildInputs being in PATH during the build). We should have these "cheats" behind a single flag so we can easily track (ideally in CI) how much we need to fix before we can disable it altogether.

Action item from #35543

Activity

  1. added
    6.topic: cross-compilation
    on Mar 2, 2018
  2. Ericson2314 commented on May 15, 2018

    @Ericson2314
    Member

    #40529 puts the strict dependency handling behind strictDeps instead of crossConfig, which is much more intuitive is one might want strict deps without cross compiling too.

  3. stale commented on Jun 4, 2020

    @stale
  4. added
    2.status: stale
    on Jun 4, 2020
  5. r-burns commented on Oct 22, 2021

    @r-burns
    Contributor

    I assume this can be closed now that strictDeps is a thing?

  6. removed
    2.status: stale
    on Oct 22, 2021
  7. Ericson2314 commented on Oct 23, 2021

    @Ericson2314
    Member

    Yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

6.topic: cross-compilation

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions