mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 16:53:21 +00:00
Merge pull request #230769 from delroth/acpica-i686
This commit is contained in:
commit
43aabff99b
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user