diff --git a/pkgs/os-specific/linux/musl/default.nix b/pkgs/os-specific/linux/musl/default.nix index a8055df92fde..ae0c7703de61 100644 --- a/pkgs/os-specific/linux/musl/default.nix +++ b/pkgs/os-specific/linux/musl/default.nix @@ -11,6 +11,10 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + # required to avoid busybox segfaulting on startup when invoking + # nix-build "" + hardeningDisable = [ "stackprotector" ]; + preConfigure = '' configureFlagsArray+=("--syslibdir=$out/lib") '';