acpica-tools: fix cross

The default value of INSTALLFLAGS is "-m 555 -s", -s being the option
to run the "strip" program on the installed files.  When
cross-compiling, we don't have a strip program (we have
"${stdenv.cc.targetPrefix}strip"), so install fails.

The simplest fix for this is to just remove -s from INSTALLFLAGS,
since stdenv will automatically strip all installed binaries at the
end anyway.
mullvad-ns
Alyssa Ross 3 years ago
parent ded7b6cb1b
commit 35759160d6
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0
  1. 3
      pkgs/tools/system/acpica-tools/default.nix

@ -26,6 +26,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ bison flex ];
# We can handle stripping ourselves.
INSTALLFLAGS = "-m 555";
installFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with lib; {

Loading…
Cancel
Save