mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-08-22 17:43:13 -04:00
fix: add ripgrep to always category and revert shellHook to use rg
This commit is contained in:
parent
ad26b17b8c
commit
92bd53feea
2 changed files with 4 additions and 4 deletions
|
|
@ -69,9 +69,7 @@
|
|||
''
|
||||
+ nixpkgs.lib.optionalString (config.cats.r or false) ''
|
||||
export R_HOME=$(R RHOME)
|
||||
# Use R itself to discover the library paths, avoiding a dependency on
|
||||
# ripgrep/strings/grep in the devShell PATH.
|
||||
export R_LIBS_SITE=$(Rscript -e 'cat(.libPaths(), sep = ":")')
|
||||
export R_LIBS_SITE=$(strings "$(command -v R)" | rg -o '/nix/store/[^:]+/library' | sort -u | paste -sd: -)
|
||||
export R_LIBS_USER="$PWD/.r-libs"
|
||||
mkdir -p "$R_LIBS_USER"
|
||||
'';
|
||||
|
|
|
|||
|
|
@ -25,7 +25,9 @@ in
|
|||
};
|
||||
|
||||
config.catPkgs = {
|
||||
always = maybe "always" (with pkgs; [ ]);
|
||||
always = maybe "always" (with pkgs; [
|
||||
ripgrep
|
||||
]);
|
||||
|
||||
clickhouse = maybe "clickhouse" (with pkgs; [ clickhouse-lts ]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue