top-level/static.nix: Don’t add -static LDFLAGS in darwin
We can’t do fully static here, like "static" flag in libev does. I’m not 100% sure if this is necessary for Linux (makeStaticBinaries should set -static flag automatically), but leaving as is to avoid breaking anything.
This commit is contained in:
parent
258bc1beb0
commit
924c4ebc08
1 changed files with 2 additions and 2 deletions
|
@ -281,8 +281,8 @@ in {
|
|||
python39 = super.python39.override { static = true; };
|
||||
python3Minimal = super.python3Minimal.override { static = true; };
|
||||
|
||||
|
||||
libev = super.libev.override { static = true; };
|
||||
# Note: -static doesn’t work on darwin
|
||||
libev = super.libev.override { static = !super.stdenv.hostPlatform.isDarwin; };
|
||||
|
||||
libexecinfo = super.libexecinfo.override { enableShared = false; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue