Skip to content

Commit

Permalink
Merge pull request #305399 from LeSuisse/acpica-tools-20240322
Browse files Browse the repository at this point in the history
acpica-tools: 20230628 -> 20240322, build from source repo
  • Loading branch information
delroth authored Apr 20, 2024
2 parents d1b9eb7 + e9e4563 commit 5fd470c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions pkgs/tools/system/acpica-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{ lib
, stdenv
, fetchurl
, fetchFromGitHub
, bison
, flex
}:

stdenv.mkDerivation rec {
pname = "acpica-tools";
version = "20230628";
version = "20240322";

src = fetchurl {
url = "https://downloadmirror.intel.com/783534/acpica-unix-${version}.tar.gz";
hash = "sha256-hodqdF49Ik3P0iLtPeRltHVZ6FgR3y25gg7wmp3/XM4=";
src = fetchFromGitHub {
owner = "acpica";
repo = "acpica";
rev = "refs/tags/G${version}";
hash = "sha256-k5rDaRKYPwdP4SmEXlrqsA2NLZDlqXBclz1Lwmufa2M=";
};

nativeBuildInputs = [ bison flex ];
Expand All @@ -29,9 +31,6 @@ stdenv.mkDerivation rec {

env.NIX_CFLAGS_COMPILE = toString ([
"-O3"
] ++ lib.optionals (stdenv.cc.isGNU) [
# Needed with GCC 12
"-Wno-dangling-pointer"
]);

enableParallelBuilding = true;
Expand Down

0 comments on commit 5fd470c

Please sign in to comment.