about summary refs log tree commit diff
path: root/release-common.nix
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-02-05T16·25-0600
committerWill Dietz <w@wdtz.org>2018-02-05T16·25-0600
commit0ffa615420fc1ee67a03dcb1a491fed9e8cdb782 (patch)
tree87b08c5330275c9e9a146633bc2f6fbfb4eb6522 /release-common.nix
parent84722d67d2b09b5c28e1c2d9dd438ba592df2296 (diff)
busybox shell: enable various useful/expected features
Matches changes made in nixpkgs:
https://github.com/NixOS/nixpkgs/pull/34628
Diffstat (limited to 'release-common.nix')
-rw-r--r--release-common.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/release-common.nix b/release-common.nix
index 4553118e1f56..de5af452c0de 100644
--- a/release-common.nix
+++ b/release-common.nix
@@ -6,10 +6,22 @@ rec {
     enableStatic = true;
     enableMinimal = true;
     extraConfig = ''
+      CONFIG_FEATURE_FANCY_ECHO y
+      CONFIG_FEATURE_SH_MATH y
+      CONFIG_FEATURE_SH_MATH_64 y
+
       CONFIG_ASH y
+      CONFIG_ASH_OPTIMIZE_FOR_SIZE y
+
+      CONFIG_ASH_ALIAS y
+      CONFIG_ASH_BASH_COMPAT y
+      CONFIG_ASH_CMDCMD y
       CONFIG_ASH_ECHO y
+      CONFIG_ASH_GETOPTS y
+      CONFIG_ASH_INTERNAL_GLOB y
+      CONFIG_ASH_JOB_CONTROL y
+      CONFIG_ASH_PRINTF y
       CONFIG_ASH_TEST y
-      CONFIG_ASH_OPTIMIZE_FOR_SIZE y
     '';
   };