Add sccache to Rust dev environment
This commit is contained in:
parent
4dc8728707
commit
35eec99174
1 changed files with 4 additions and 0 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
home.file.".cargo/config".text = ''
|
||||
[build]
|
||||
rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
||||
'';
|
||||
home.packages = builtins.attrValues
|
||||
{
|
||||
inherit (pkgs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue