-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on
Description
Unresolved discussion on ML: https://www.mail-archive.com/[email protected]/msg11889.html
packageOverrides = pkgs_: with pkgs_; {
testgcc2 = pkgs_.gcc;
};
% nix-instantiate '<nixpkgs>' -A gcc
warning: you did not specify `--add-root'; the result might be removed by the garbage collector
/nix/store/993glmz6hxbld0ry81jwv7c3z7cgaz68-gcc-wrapper-4.8.2.drv
% nix-instantiate '<nixpkgs>' -A testgcc2
warning: you did not specify `--add-root'; the result might be removed by the garbage collector
/nix/store/41nacbfpr8jzsk3k03jjlqb2r2xis5gf-gcc-wrapper-4.8.2.drv
Note that regular packages in packageOverrides do NOT cause such problems.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on