summary refs log tree commit diff
path: root/pkgs/os-specific/linux/busybox
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-10-25 10:15:35 +0100
committerVladimír Čunát <vcunat@gmail.com>2015-10-25 10:20:08 +0100
commit784f69e6aef56ac673db9e89ab25e06094380040 (patch)
tree785287b524aa2c81507b96a126b2756bcd69419e /pkgs/os-specific/linux/busybox
parentd6756301cf93af95ad717eb6431da25bb34e407e (diff)
downloadnixpkgs-784f69e6aef56ac673db9e89ab25e06094380040.tar
nixpkgs-784f69e6aef56ac673db9e89ab25e06094380040.tar.gz
nixpkgs-784f69e6aef56ac673db9e89ab25e06094380040.tar.bz2
nixpkgs-784f69e6aef56ac673db9e89ab25e06094380040.tar.lz
nixpkgs-784f69e6aef56ac673db9e89ab25e06094380040.tar.xz
nixpkgs-784f69e6aef56ac673db9e89ab25e06094380040.tar.zst
nixpkgs-784f69e6aef56ac673db9e89ab25e06094380040.zip
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.
Diffstat (limited to 'pkgs/os-specific/linux/busybox')
-rw-r--r--pkgs/os-specific/linux/busybox/default.nix2
1 files changed, 2 insertions, 0 deletions
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
     ''}