From 784f69e6aef56ac673db9e89ab25e06094380040 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 25 Oct 2015 10:15:35 +0100 Subject: busybox: fix minimal build with musl libc Now we always enable large file support, as it should be cheap enough, and avoids also problems on some filesystems #10181. The minimal build disables (almost) all options, so it was building without large file support. However, in musl the `off_t` is *always* 64-bit, which lead to problems, now detected during build time. --- pkgs/os-specific/linux/busybox/default.nix | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkgs/os-specific/linux') diff --git a/pkgs/os-specific/linux/busybox/default.nix b/pkgs/os-specific/linux/busybox/default.nix index 2a96f4b46b3..fa6591701a6 100644 --- a/pkgs/os-specific/linux/busybox/default.nix +++ b/pkgs/os-specific/linux/busybox/default.nix @@ -46,6 +46,8 @@ stdenv.mkDerivation rec { CONFIG_PREFIX "$out" CONFIG_INSTALL_NO_USR y + CONFIG_LFS y + ${stdenv.lib.optionalString enableStatic '' CONFIG_STATIC y ''} -- cgit 1.4.1