diff --git a/overlays/android.nix b/overlays/android.nix index c7d59ad75b..5225943cd7 100644 --- a/overlays/android.nix +++ b/overlays/android.nix @@ -27,7 +27,7 @@ final: prev: prev.lib.optionalAttrs prev.stdenv.hostPlatform.isAndroid ({ }); numactl = prev.numactl.overrideAttrs (attrs: { - patches = attrs.patches + [ ./patches/numactl-2.0.14-no-librt.patch ]; + patches = (attrs.patches or []) ++ [ ./patches/numactl-2.0.14-no-librt.patch ]; }); zlib = prev.zlib.override { shared = false; static = true; };