2022-11-07T08:48:22 ccache 4.7.2 -> 4.7.3 https://repology.org/metapackage/ccache/versions 2022-11-07T08:48:26 attrpath: ccache 2022-11-07T08:48:26 Checking auto update branch... 2022-11-07T08:48:30 [version] 2022-11-07T08:48:30 [version] skipping because derivation has updateScript 2022-11-07T08:48:30 [rustCrateVersion] 2022-11-07T08:48:30 [rustCrateVersion] No cargoSha256 found 2022-11-07T08:48:30 [golangModuleVersion] 2022-11-07T08:48:30 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-07T08:48:30 [updateScript] 2022-11-07T08:48:36 [updateScript] Success 2022-11-07T08:48:36 [updateScript] this derivation will be built: /nix/store/myjdzbybg3pz9sidwh6a71nxwx96bn46-packages.json.drv building '/nix/store/myjdzbybg3pz9sidwh6a71nxwx96bn46-packages.json.drv'... Going to be running update for following packages: - ccache-4.7.2 Press Enter key to continue... Running update for: - ccache-4.7.2: UPDATING ... - ccache-4.7.2: DONE. Packages updated! 2022-11-07T08:48:36 2022-11-07T08:48:36 [quotedUrls] 2022-11-07T08:48:36 [quotedUrls] nothing found to replace 2022-11-07T08:48:37 Diff after rewrites: diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix index f1d01c9d03f..eaccf4badf2 100644 --- a/pkgs/development/tools/misc/ccache/default.nix +++ b/pkgs/development/tools/misc/ccache/default.nix @@ -15,13 +15,13 @@ let ccache = stdenv.mkDerivation rec { pname = "ccache"; - version = "4.7.2"; + version = "4.7.3"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-djqqXw6SSxH0ki1905hvRrCa1vYKDRFIsCvZ2vat/CM="; + sha256 = "sha256-i5VOKBNAzu65Ha3Lj3Hh6k+EMGPRAo5/qnwnJipDnMI="; }; outputs = [ "out" "man" ]; 2022-11-07T08:50:16 An auto update branch exists with message `ccache: 4.7.2 -> 4.7.3`. New version is 4.7.3. 2022-11-07T08:50:16 An auto update branch exists with an equal or greater version 2022-11-07T12:22:33 ccache 0 -> 1 2022-11-07T12:22:36 attrpath: ccache 2022-11-07T12:22:36 Checking auto update branch... 2022-11-07T12:22:39 [version] 2022-11-07T12:22:39 [version] skipping because derivation has updateScript 2022-11-07T12:22:39 [rustCrateVersion] 2022-11-07T12:22:39 [rustCrateVersion] No cargoSha256 found 2022-11-07T12:22:39 [golangModuleVersion] 2022-11-07T12:22:39 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-07T12:22:39 [updateScript] 2022-11-07T12:22:49 [updateScript] Success 2022-11-07T12:22:49 [updateScript] Going to be running update for following packages: - ccache-4.7.2 Press Enter key to continue... Running update for: - ccache-4.7.2: UPDATING ... - ccache-4.7.2: DONE. Packages updated! 2022-11-07T12:22:49 2022-11-07T12:22:49 [quotedUrls] 2022-11-07T12:22:49 [quotedUrls] nothing found to replace 2022-11-07T12:22:49 Diff after rewrites: diff --git a/pkgs/development/tools/misc/ccache/default.nix b/pkgs/development/tools/misc/ccache/default.nix index f1d01c9d03f..eaccf4badf2 100644 --- a/pkgs/development/tools/misc/ccache/default.nix +++ b/pkgs/development/tools/misc/ccache/default.nix @@ -15,13 +15,13 @@ let ccache = stdenv.mkDerivation rec { pname = "ccache"; - version = "4.7.2"; + version = "4.7.3"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; - sha256 = "sha256-djqqXw6SSxH0ki1905hvRrCa1vYKDRFIsCvZ2vat/CM="; + sha256 = "sha256-i5VOKBNAzu65Ha3Lj3Hh6k+EMGPRAo5/qnwnJipDnMI="; }; outputs = [ "out" "man" ]; 2022-11-07T12:24:23 Old version 4.7.2" not present in master derivation file with contents: { lib , stdenv , fetchFromGitHub , substituteAll , binutils , asciidoctor , cmake , perl , zstd , bashInteractive , xcodebuild , makeWrapper , nix-update-script }: let ccache = stdenv.mkDerivation rec { pname = "ccache"; version = "4.7.3"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "v${version}"; sha256 = "sha256-i5VOKBNAzu65Ha3Lj3Hh6k+EMGPRAo5/qnwnJipDnMI="; }; outputs = [ "out" "man" ]; patches = [ # When building for Darwin, test/run uses dwarfdump, whereas on # Linux it uses objdump. We don't have dwarfdump packaged for # Darwin, so this patch updates the test to also use objdump on # Darwin. (substituteAll { src = ./force-objdump-on-darwin.patch; objdump = "${binutils.bintools}/bin/objdump"; }) ]; nativeBuildInputs = [ asciidoctor cmake perl ]; buildInputs = [ zstd ]; cmakeFlags = [ # Build system does not autodetect redis library presence. # Requires explicit flag. "-DREDIS_STORAGE_BACKEND=OFF" ]; doCheck = true; checkInputs = [ # test/run requires the compgen function which is available in # bashInteractive, but not bash. bashInteractive ] ++ lib.optional stdenv.isDarwin xcodebuild; checkPhase = let badTests = [ "test.trim_dir" # flaky on hydra (possibly filesystem-specific?) ] ++ lib.optionals stdenv.isDarwin [ "test.basedir" "test.multi_arch" "test.nocpp2" ]; in '' runHook preCheck export HOME=$(mktemp -d) ctest --output-on-failure -E '^(${lib.concatStringsSep "|" badTests})$' runHook postCheck ''; passthru = { # A derivation that provides gcc and g++ commands, but that # will end up calling ccache for the given cacheDir links = {unwrappedCC, extraConfig}: stdenv.mkDerivation { name = "ccache-links"; passthru = { isClang = unwrappedCC.isClang or false; isGNU = unwrappedCC.isGNU or false; }; inherit (unwrappedCC) lib; nativeBuildInputs = [ makeWrapper ]; buildCommand = '' mkdir -p $out/bin wrap() { local cname="$1" if [ -x "${unwrappedCC}/bin/$cname" ]; then makeWrapper ${ccache}/bin/ccache $out/bin/$cname \ --run ${lib.escapeShellArg extraConfig} \ --add-flags ${unwrappedCC}/bin/$cname fi } wrap cc wrap c++ wrap gcc wrap g++ wrap clang wrap clang++ for executable in $(ls ${unwrappedCC}/bin); do if [ ! -x "$out/bin/$executable" ]; then ln -s ${unwrappedCC}/bin/$executable $out/bin/$executable fi done for file in $(ls ${unwrappedCC} | grep -vw bin); do ln -s ${unwrappedCC}/$file $out/$file done ''; }; }; passthru.updateScript = nix-update-script { attrPath = pname; }; meta = with lib; { description = "Compiler cache for fast recompilation of C/C++ code"; homepage = "https://ccache.dev"; downloadPage = "https://ccache.dev/download.html"; license = licenses.gpl3Plus; maintainers = with maintainers; [ kira-bruneau r-burns ]; platforms = platforms.unix; }; }; in ccache 2022-11-07T17:43:30 ccache 4.7.2 -> 4.7.3 https://github.com/ccache/ccache/releases 2022-11-07T17:43:32 attrpath: ccache 2022-11-07T17:43:32 Checking auto update branch... 2022-11-07T17:43:35 [version] 2022-11-07T17:43:35 [version] skipping because derivation has updateScript 2022-11-07T17:43:35 [rustCrateVersion] 2022-11-07T17:43:35 [rustCrateVersion] No cargoSha256 found 2022-11-07T17:43:35 [golangModuleVersion] 2022-11-07T17:43:35 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-11-07T17:43:35 [updateScript] 2022-11-07T17:43:39 [updateScript] Success 2022-11-07T17:43:39 [updateScript] this derivation will be built: /nix/store/5808skhf5z0k6kvzncxwa001a3jdga1y-packages.json.drv building '/nix/store/5808skhf5z0k6kvzncxwa001a3jdga1y-packages.json.drv'... Going to be running update for following packages: - ccache-4.7.3 Press Enter key to continue... Running update for: - ccache-4.7.3: UPDATING ... - ccache-4.7.3: DONE. Packages updated! 2022-11-07T17:43:39 2022-11-07T17:43:39 [quotedUrls] 2022-11-07T17:43:39 [quotedUrls] nothing found to replace 2022-11-07T17:43:39 The diff was empty after rewrites.