From e4969a6b76c80cd52a0b95e42dfdbec4675265e7 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Fri, 6 Aug 2021 15:32:15 +0200 Subject: [PATCH] haskellPackages.basic-cpuid: fix build on non-x86 Patch in missing import. --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5d29d8554c0..f5c05c0c716 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1931,4 +1931,10 @@ EOT "--ghc-option=-O0" ]); + # https://github.com/ajscholl/basic-cpuid/pull/1 + basic-cpuid = appendPatch super.basic-cpuid (pkgs.fetchpatch { + url = "https://github.com/ajscholl/basic-cpuid/commit/2f2bd7a7b53103fb0cf26883f094db9d7659887c.patch"; + sha256 = "0l15ccfdys100jf50s9rr4p0d0ikn53bkh7a9qlk9i0y0z5jc6x1"; + }); + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super