feat: hectic C: some sigfault

This commit is contained in:
2025-04-15 04:54:31 +00:00
parent d45307336a
commit 8697b00cfc
5 changed files with 113 additions and 118 deletions

View File

@@ -59,7 +59,9 @@
forAllSystemsWithPkgs [(import rust-overlay)] ({
system,
pkgs,
}: {
}: let
pkgs-unstable = import nixpkgs-unstable { inherit system; };
in {
packages.${system} = let
rust = {
nativeBuildInputs = [
@@ -143,6 +145,15 @@
buildInputs = (with pkgs; [ inotify-tools gdb gcc ]) ++ (with self.packages.${system}; [ c-hectic nvim-pager watch ]);
PAGER = "${self.packages.${system}.nvim-pager}/bin/pager";
};
pure-c = pkgs.mkShell {
buildInputs = (with pkgs; [ inotify-tools ]) ++ (with self.packages.${system}; [ nvim-pager ]) ++ (with pkgs-unstable; [ gdb gcc ]);
PAGER = "${self.packages.${system}.nvim-pager}/bin/pager";
shellHook = ''
export PATH=${pkgs-unstable.gcc}/bin:$PATH
export PAGER="${self.packages.${system}.nvim-pager}/bin/pager"
'';
};
default = pkgs.mkShell {
buildInputs =
(with self.packages.${system}; [