feat: cargo sccache
This commit is contained in:
parent
a700dcc76b
commit
f168742184
1 changed files with 5 additions and 0 deletions
|
@ -32,7 +32,12 @@ in {
|
|||
"${sessionVariables.GOPATH}/bin"
|
||||
"${sessionVariables.CARGO_HOME}/bin"
|
||||
];
|
||||
packages = [pkgs.sccache];
|
||||
};
|
||||
xdg.configFile."cargo/config".text = ''
|
||||
[build]
|
||||
rustc-wrapper = "sccache"
|
||||
'';
|
||||
|
||||
# NOTE: workaround for gpgme on Darwin, since GUI apps aren't aware of $GNUPGHOME
|
||||
programs.gpg.homedir =
|
||||
|
|
Loading…
Reference in a new issue