refactor: pull out flake devshells
This commit is contained in:
17
devshell/c.nix
Normal file
17
devshell/c.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
system,
|
||||
pkgs,
|
||||
self
|
||||
}: pkgs.mkShell {
|
||||
buildInputs = (with pkgs; [
|
||||
inotify-tools
|
||||
gdb
|
||||
gcc
|
||||
]) ++ (with self.packages.${system}; [
|
||||
c-hectic
|
||||
nvim-pager
|
||||
watch
|
||||
]);
|
||||
|
||||
PAGER = "${self.packages.${system}.nvim-pager}/bin/pager";
|
||||
}
|
||||
Reference in New Issue
Block a user