go: don't require glibc (.static), dunno if go works w/musl
This commit is contained in:
parent
be2997353d
commit
6ae1bd4502
@ -38,7 +38,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ perl which pkgconfig patch makeWrapper ]
|
nativeBuildInputs = [ perl which pkgconfig patch makeWrapper ]
|
||||||
++ optionals stdenv.isLinux [ procps ];
|
++ optionals stdenv.isLinux [ procps ];
|
||||||
buildInputs = [ cacert pcre ]
|
buildInputs = [ cacert pcre ]
|
||||||
++ optionals stdenv.isLinux [ stdenv.glibc.out stdenv.glibc.static ];
|
++ optionals stdenv.isLinux [ stdenv.cc.libc.out ]
|
||||||
|
++ optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
|
||||||
propagatedBuildInputs = optionals stdenv.isDarwin [ Security Foundation ];
|
propagatedBuildInputs = optionals stdenv.isDarwin [ Security Foundation ];
|
||||||
|
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
|
@ -38,7 +38,8 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ perl which pkgconfig patch makeWrapper ]
|
nativeBuildInputs = [ perl which pkgconfig patch makeWrapper ]
|
||||||
++ optionals stdenv.isLinux [ procps ];
|
++ optionals stdenv.isLinux [ procps ];
|
||||||
buildInputs = [ cacert pcre ]
|
buildInputs = [ cacert pcre ]
|
||||||
++ optionals stdenv.isLinux [ stdenv.glibc.out stdenv.glibc.static ];
|
++ optionals stdenv.isLinux [ stdenv.cc.libc.out ]
|
||||||
|
++ optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
|
||||||
propagatedBuildInputs = optionals stdenv.isDarwin [ Security Foundation ];
|
propagatedBuildInputs = optionals stdenv.isDarwin [ Security Foundation ];
|
||||||
|
|
||||||
hardeningDisable = [ "all" ];
|
hardeningDisable = [ "all" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user