Merge pull request #161007 from a-m-joseph/busybox-allow-disabling-applet-symlinks
This commit is contained in:
commit
a0820a9d0d
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ stdenv, lib, buildPackages, fetchurl, fetchFromGitLab
|
||||
, enableStatic ? stdenv.hostPlatform.isStatic
|
||||
, enableMinimal ? false
|
||||
, enableAppletSymlinks ? true
|
||||
# Allow forcing musl without switching stdenv itself, e.g. for our bootstrapping:
|
||||
# nix build -f pkgs/top-level/release.nix stdenvBootstrapTools.x86_64-linux.dist
|
||||
, useMusl ? stdenv.hostPlatform.libc == "musl", musl
|
||||
|
@ -95,6 +96,11 @@ stdenv.mkDerivation rec {
|
|||
CONFIG_STATIC y
|
||||
''}
|
||||
|
||||
${lib.optionalString (!enableAppletSymlinks) ''
|
||||
CONFIG_INSTALL_APPLET_DONT y
|
||||
CONFIG_INSTALL_APPLET_SYMLINKS n
|
||||
''}
|
||||
|
||||
# Use the external mount.cifs program.
|
||||
CONFIG_FEATURE_MOUNT_CIFS n
|
||||
CONFIG_FEATURE_MOUNT_HELPERS y
|
||||
|
|
Loading…
Reference in a new issue