diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-09-10 14:02:48 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-09-10 14:02:48 +0000 |
commit | 35759160d6a8581a53e671c378dbc8e60b0a6385 (patch) | |
tree | fee2770ef9caa4bba0c35d3df6e55279042c0e1e /pkgs/tools/system | |
parent | ded7b6cb1bf3d6d03328b3f592069f2c4956a97f (diff) |
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.
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/acpica-tools/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/system/acpica-tools/default.nix b/pkgs/tools/system/acpica-tools/default.nix index b035ae04215d7..4f0ab0297506e 100644 --- a/pkgs/tools/system/acpica-tools/default.nix +++ b/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; { |