feat: cargo sccache

This commit is contained in:
winston 2023-05-18 16:01:22 +02:00
parent a700dcc76b
commit f168742184
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -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 =