-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
Description
Issue description
Our CC wrapper doesn't wrap all the binaries that GCC provides -- namely prefixed with architecture x86_64-unknown-gnu-gcc and variations. Because unwrapped GCC is propagated to user environments from the wrapper it ends up in the path (for example in FHS environments). One example of problem that it causes is that OpenWrt picks it up and fails to compile.
wrapCC needs to detect and wrap those.
Steps to reproduce
buildEnv { paths = [ gcc ]; }(you can also add it toenvironment.systemPackagesorbuildFHSUserEnv);- Try to compile something with
x86_64-unknown-gnu-gcc(prefix may vary).
Technical details
- Nixpkgs version: (run
nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion) 59dbcef
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md