forked from lix-project/lix
release-common: use shell from nixpkgs, provide fallback for compat
This commit is contained in:
parent
84722d67d2
commit
47dc6076af
|
@ -1,7 +1,9 @@
|
||||||
{ pkgs }:
|
{ pkgs }:
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
sh = pkgs.busybox.override {
|
# Use "busybox-sandbox-shell" if present,
|
||||||
|
# if not (legacy) fallback and hope it's sufficient.
|
||||||
|
sh = pkgs.busybox-sandbox-shell or (pkgs.busybox.override {
|
||||||
useMusl = true;
|
useMusl = true;
|
||||||
enableStatic = true;
|
enableStatic = true;
|
||||||
enableMinimal = true;
|
enableMinimal = true;
|
||||||
|
@ -11,7 +13,7 @@ rec {
|
||||||
CONFIG_ASH_TEST y
|
CONFIG_ASH_TEST y
|
||||||
CONFIG_ASH_OPTIMIZE_FOR_SIZE y
|
CONFIG_ASH_OPTIMIZE_FOR_SIZE y
|
||||||
'';
|
'';
|
||||||
};
|
});
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--disable-init-state"
|
[ "--disable-init-state"
|
||||||
|
|
Loading…
Reference in a new issue