mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 21:57:59 +00:00
parent
3b68824528
commit
811294e5f0
@ -1,4 +1,5 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, unixODBC
|
||||
@ -49,6 +50,11 @@ buildGoModule rec {
|
||||
"no_adodb"
|
||||
];
|
||||
|
||||
# Work around https://github.com/NixOS/nixpkgs/issues/166205.
|
||||
env = lib.optionalAttrs stdenv.cc.isClang {
|
||||
NIX_LDFLAGS = "-l${stdenv.cc.libcxx.cxxabi.libName}";
|
||||
};
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
|
Loading…
Reference in New Issue
Block a user