From 67ac4b83ec29bc943447e6377aa3472efa33e3be Mon Sep 17 00:00:00 2001 From: Atemu Date: Sat, 1 Jul 2023 06:42:31 +0200 Subject: [PATCH] buildFHSEnv: disable multiArch by default Most FHSEnv-wrapped packages in Nixpkgs wrap a x86_64-linux binary; making multiArch unnecessary bloat closure size. Saves about 1G in anki-bin. This makes multiArch FHSEnvs the exception rather than the rule. --- pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix b/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix index 15504916af63..3e6fc922906f 100644 --- a/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix +++ b/pkgs/build-support/build-fhsenv-bubblewrap/buildFHSEnv.nix @@ -12,7 +12,7 @@ , profile ? "" , targetPkgs ? pkgs: [] , multiPkgs ? pkgs: [] -, multiArch ? true # Whether to include 32bit packages +, multiArch ? false # Whether to include 32bit packages , extraBuildCommands ? "" , extraBuildCommandsMulti ? "" , extraOutputsToInstall ? []