mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
docker: add glibc buildInput only on >=23.x
This commit is contained in:
parent
503953bd00
commit
1c353c50ff
@ -182,7 +182,11 @@ rec {
|
|||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
makeWrapper pkg-config go-md2man go libtool installShellFiles
|
makeWrapper pkg-config go-md2man go libtool installShellFiles
|
||||||
];
|
];
|
||||||
buildInputs = [ glibc glibc.static ] ++ plugins;
|
|
||||||
|
buildInputs = plugins ++ lib.optionals (lib.versionAtLeast version "23") [
|
||||||
|
glibc
|
||||||
|
glibc.static
|
||||||
|
];
|
||||||
|
|
||||||
patches = lib.optionals (lib.versionOlder version "23.0.5") [
|
patches = lib.optionals (lib.versionOlder version "23.0.5") [
|
||||||
(fetchpatch {
|
(fetchpatch {
|
||||||
|
Loading…
Reference in New Issue
Block a user