Skip to content

Commit

Permalink
fix(templates/rust): allow rust devshell startup to run 'direnv allow…
Browse files Browse the repository at this point in the history
…' multiple time
  • Loading branch information
htran-opencolo authored and blaggacao committed Jul 9, 2023
1 parent 3e62364 commit 78675b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/std/templates/rust/nix/repo/shells.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
text = ''
# ensure CARGO_HOME is populated
mkdir -p $PRJ_DATA_DIR/cargo
ln -s -t $PRJ_DATA_DIR/cargo $(ls -d ${cell.rust.toolchain}/*)
ln -snf -t $PRJ_DATA_DIR/cargo $(ls -d ${cell.rust.toolchain}/*)
'';
};

Expand Down

0 comments on commit 78675b5

Please sign in to comment.