mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 00:20:58 +00:00
libgccjit, gccgo*: remove a reflexive symlink
https://hydra.nixos.org/build/286689241/nixlog/7/tail https://hydra.nixos.org/build/287154953/nixlog/1/tail Feel free to improve this ;-)
This commit is contained in:
@@ -391,5 +391,13 @@ pipe ((callFile ./common/builder.nix {}) ({
|
||||
(callPackage ./common/libgcc.nix { inherit version langC langCC langJit targetPlatform hostPlatform withoutTargetLibc enableShared libcCross; })
|
||||
] ++ optionals atLeast11 [
|
||||
(callPackage ./common/checksum.nix { inherit langC langCC; })
|
||||
])
|
||||
]
|
||||
# This symlink points to itself, and we disallow that now by noBrokenSymlinks (#370750)
|
||||
# TODO: find how exactly this happens and solve it in a better way.
|
||||
++ optional langJit (pkg: pkg.overrideAttrs (attrs: {
|
||||
postInstall = attrs.postInstall or "" + ''
|
||||
rm "$out/lib/lib"
|
||||
'';
|
||||
}))
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user