Skip to content

pkgsStatic: do not propagate builds with nix-support/propagated-build-inputs #83667

@FRidh

Description

@FRidh

Describe the bug
For static builds recursively all dependencies are needed. An adapter is now used that converts all buildInputs to propagatedBuildInputs. Using propagatedBuildInputs results in the file $out/nix-support/propagated-build-inputs causing a run-time dependency on all build-time dependencies.

With Python there is a similar kind of issue which is why there I am investigating a way that does not involve writing out that file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: staticStatic builds (e.g. pkgsStatic)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions