Skip to content

The mkShell should set NIX_NO_SELF_RPATH = true; by default #173025

@CMCDragonkai

Description

@CMCDragonkai

The mkShell is intended to create a shell to be used by nix-shell. Therefore it's $out doesn't even exist.

Recently there was a PR #153194 that made the shell buildable, but I still think this should be the default.

The NIX_NO_SELF_RPATH = true; would ensure that $out/lib64 and $out/lib does not appear in the $NIX_LDFLAGS, and this would ensure that any compiled objects in that shell do not get these non-existent paths in their rpath.

Notify maintainers

@zimbatm

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions