mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +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 = [
|
||||
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") [
|
||||
(fetchpatch {
|
||||
|
Loading…
Reference in New Issue
Block a user