refactor: pull out flake devshells

This commit is contained in:
2025-07-17 15:48:20 +00:00
parent f2e7f57c5d
commit b2e5bb7f60
7 changed files with 109 additions and 64 deletions
+14
View File
@@ -0,0 +1,14 @@
{
system,
pkgs,
self
}: pkgs.mkShell {
buildInputs = (with pkgs; [ inotify-tools ]) ++ (with self.packages.${system}; [ nvim-pager ]) ++ (with pkgs; [ gdb gcc binutils ]);
PAGER = "${self.packages.${system}.nvim-pager}/bin/pager";
shellHook = ''
export PATH=${pkgs.gcc}/bin:$PATH
export PAGER="${self.packages.${system}.nvim-pager}/bin/pager"
'';
}