15 lines
374 B
Nix
15 lines
374 B
Nix
{
|
|
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"
|
|
'';
|
|
}
|