summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2019-10-22 19:04:40 +0200
committerAlan Pearce2019-10-22 19:04:40 +0200
commitddfcc76a810998203532731c05789cec81ca4fd0 (patch)
tree0890145ef0745182da16fc5f6a894493483c8934 /user
parentdf9e2d5331a863e285bcfe66391728ce884a61bc (diff)
downloadnixfiles-ddfcc76a810998203532731c05789cec81ca4fd0.tar.lz
nixfiles-ddfcc76a810998203532731c05789cec81ca4fd0.tar.zst
nixfiles-ddfcc76a810998203532731c05789cec81ca4fd0.zip
Move ripgrep to base, with PCRE2 in development/base
Diffstat (limited to 'user')
-rw-r--r--user/settings/base.nix1
-rw-r--r--user/settings/development/base.nix7
2 files changed, 6 insertions, 2 deletions
diff --git a/user/settings/base.nix b/user/settings/base.nix
index d39012de..7c187f7a 100644
--- a/user/settings/base.nix
+++ b/user/settings/base.nix
@@ -13,6 +13,7 @@
     sd
     entr
     file
+    ripgrep
     htop
     lsof
     iftop
diff --git a/user/settings/development/base.nix b/user/settings/development/base.nix
index c61e17d8..cd4f7220 100644
--- a/user/settings/development/base.nix
+++ b/user/settings/development/base.nix
@@ -12,8 +12,6 @@
     wrk
 
     ag
-    (ripgrep.override { withPCRE2 = true; })
-
     httpie
     jq
 
@@ -27,4 +25,9 @@
     ] else [
     ]
   );
+  nixpkgs.overlays = [
+    (self: super: {
+      ripgrep = super.ripgrep.override { withPCRE2 = true; };
+    })
+  ];
 }