Merge pull request #127282 from r-burns/ccache

ccache: fix tests on darwin
This commit is contained in:
Sandro 2021-06-18 12:11:40 +02:00 committed by GitHub
commit 3fbace382d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];