2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-12 16:53:21 +00:00

Merge pull request from delroth/acpica-i686

This commit is contained in:
Sandro 2023-05-09 17:39:13 +02:00 committed by GitHub
commit 43aabff99b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,13 +7,11 @@
stdenv.mkDerivation rec {
pname = "acpica-tools";
version = "20221020";
version = "20230331";
src = fetchurl {
# 20221020 has a weird filename published: https://acpica.org/node/201
name = "acpica-unix-${version}.tar.gz";
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar_0.gz";
hash = "sha256-M6LjlKygylfUAYr+PaNA361etFsbkwDoHdWV/aB88cU=";
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
hash = "sha256-DF1pXWBaqmFwnzxj9XoambiQIpFyOZhEawgTtXrDEOI=";
};
nativeBuildInputs = [ bison flex ];
@ -38,6 +36,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# i686 builds fail with hardening enabled (due to -Wformat-overflow). Disable
# -Werror altogether to make this derivation less fragile to toolchain
# updates.
NOWERROR = "TRUE";
# We can handle stripping ourselves.
# Unless we are on Darwin. Upstream makefiles degrade coreutils install to cp if _APPLE is detected.
INSTALLFLAGS = lib.optionals (!stdenv.isDarwin) "-m 555";