ccache: fix tests on darwin

This commit is contained in:
Ryan Burns 2021-06-17 17:42:17 -07:00
parent 51bf815af0
commit bec5a8c533

View File

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, substituteAll
, binutils
, asciidoc
@ -34,6 +35,11 @@ let ccache = stdenv.mkDerivation rec {
src = ./force-objdump-on-darwin.patch;
objdump = "${binutils.bintools}/bin/objdump";
})
# Fix clang C++ modules test (remove in next release)
(fetchpatch {
url = "https://github.com/ccache/ccache/commit/8b0c783ffc77d29a3e3520345b776a5c496fd892.patch";
sha256 = "13qllx0qhfrdila6bdij9lk74fhkm3vdj01zgq1ri6ffrv9lqrla";
})
];
nativeBuildInputs = [ asciidoc cmake perl ];