cc-wrapper: disable response files for ccache#178280
cc-wrapper: disable response files for ccache#178280kira-bruneau merged 1 commit intoNixOS:masterfrom
Conversation
The problem is that the ccache wrapper does not work with response files (it seems like the fd doesn't survive after exec in the makeWrapper wrapper).
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/1089 |
Atemu
left a comment
There was a problem hiding this comment.
Diff LGTM and this fixes the issue.
I'm inclined to merge this.
|
Pinged ccache maintainers. |
kira-bruneau
left a comment
There was a problem hiding this comment.
Oh thanks for the ping @Atemu! This LGTM!!
|
Oh wait I just noticed that it looks like ccache fixed parsing response files in v4.6.1: https://ccache.dev/releasenotes.html#_build_improvements_6 - this probably isn't needed anymore. |
|
It wasn't working for me and the ccache version is 4.8 in my local tree I cherry-picked this onto. |
|
Ok, thanks! Just wanted to check first if ccache added supported for it in the meantime. |
|
@kira-bruneau Btw, where did you see clang response files being supported in that changelog? |
|
Oh it was |
The problem is that the ccache wrapper does not work with response
files (it seems like the fd doesn't survive after exec in the
makeWrapper wrapper).
Description of changes
Resolves: #119779
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes