move to external cargo config
This commit is contained in:
parent
43a3c2df5b
commit
4311082a72
6 changed files with 17 additions and 6 deletions
|
|
@ -2,12 +2,15 @@
|
|||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
cargoFile = builtins.readFile ./cargo.toml;
|
||||
cargoConfig = builtins.replaceStrings ["path/to/sccache"] ["${pkgs.sccache}/bin/sccache"] cargoFile;
|
||||
in {
|
||||
imports = [
|
||||
(import ./helix.nix {inherit pkgs inputs;})
|
||||
];
|
||||
|
||||
home.file.".cargo/config.toml".text = builtins.readFile ./cargo.toml;
|
||||
home.file.".cargo/config.toml".text = cargoConfig;
|
||||
|
||||
programs = {
|
||||
jujutsu = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue