From 497b7f7641b731df220f4538cf981574140186ee Mon Sep 17 00:00:00 2001 From: Samuel Dionne-Riel Date: Sun, 13 Sep 2020 23:43:36 -0400 Subject: [PATCH] Add workaround for smartmontools cross-compilation regression --- cross-hacks.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cross-hacks.nix b/cross-hacks.nix index 6a70f75..8836052 100644 --- a/cross-hacks.nix +++ b/cross-hacks.nix @@ -8,8 +8,14 @@ # Does not cross-compile... alsa-firmware = pkgs.runCommandNoCC "neutered-firmware" {} "mkdir -p $out"; - # A "regression" in nixpkgs, where python3 pycryptodome does not cross-compile. - crda = pkgs.runCommandNoCC "neutered-firmware" {} "mkdir -p $out"; + # A "regression" in nixpkgs, where python3 pycryptodome does not cross-compile. + crda = pkgs.runCommandNoCC "neutered-firmware" {} "mkdir -p $out"; + + # Regression caused by including a new package in the closure + # Added in f1922cdbdc608b1f1f85a1d80310b54e89d0e9f3 + smartmontools = super.smartmontools.overrideAttrs(old: { + configureFlags = []; + }); }) (final: super: