diff options
author | Christoph Heiss <christoph@c8h4.io> | 2023-10-09 12:03:00 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-10-10 00:53:35 +0300 |
commit | 1303bc206edb9992502bc302feceb2fe4690f59a (patch) | |
tree | ce7f2f95172c140efce9a03cf03c51d319c7952c | |
parent | a61a2f7b7dd78f1c78cc12baa6f27f88b3bf7ce1 (diff) | |
download | nixpkgs-1303bc206edb9992502bc302feceb2fe4690f59a.tar nixpkgs-1303bc206edb9992502bc302feceb2fe4690f59a.tar.gz nixpkgs-1303bc206edb9992502bc302feceb2fe4690f59a.tar.bz2 nixpkgs-1303bc206edb9992502bc302feceb2fe4690f59a.tar.lz nixpkgs-1303bc206edb9992502bc302feceb2fe4690f59a.tar.xz nixpkgs-1303bc206edb9992502bc302feceb2fe4690f59a.tar.zst nixpkgs-1303bc206edb9992502bc302feceb2fe4690f59a.zip |
blueman: fix cross-compilation
blueman checks runtime deps during the configure. Fixes the following error when cross-compiling (in this case, to aarch64): ``` error: builder for '/nix/store/kzrxxlk0vpsz6hwhl4rgf0ankfp3639h-blueman-aarch64-unknown-linux-gnu-2.3.5.drv' failed with exit code 1; last 10 log lines: > checking for python version... 3.10 > checking for python platform... linux > checking for GNU default python prefix... ${prefix} > checking for GNU default python exec_prefix... ${exec_prefix} > checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages > checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.10/site-packages > checking for python-3.10... yes > checking for ifconfig... no > checking for ip... no > configure: error: ifconfig or ip not found, install net-tools or iproute2 For full logs, run 'nix log /nix/store/kzrxxlk0vpsz6hwhl4rgf0ankfp3639h-blueman-aarch64-unknown-linux-gnu-2.3.5.drv'. error: building '/nix/store/kzrxxlk0vpsz6hwhl4rgf0ankfp3639h-blueman-aarch64-unknown-linux-gnu-2.3.5.drv' failed ``` Signed-off-by: Christoph Heiss <christoph@c8h4.io>
-rw-r--r-- | pkgs/tools/bluetooth/blueman/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/bluetooth/blueman/default.nix b/pkgs/tools/bluetooth/blueman/default.nix index 1fa18703459..962ad4b2e0f 100644 --- a/pkgs/tools/bluetooth/blueman/default.nix +++ b/pkgs/tools/bluetooth/blueman/default.nix @@ -21,7 +21,7 @@ in stdenv.mkDerivation rec { ]; buildInputs = [ bluez gtk3 pythonPackages.python librsvg - gnome.adwaita-icon-theme iproute2 networkmanager ] + gnome.adwaita-icon-theme networkmanager ] ++ pythonPath ++ lib.optional withPulseAudio libpulseaudio; @@ -36,6 +36,8 @@ in stdenv.mkDerivation rec { configureFlags = [ "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system" "--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user" + # Don't check for runtime dependency `ip` during the configure + "--disable-runtime-deps-check" (lib.enableFeature withPulseAudio "pulseaudio") ]; |