rm submodules

This commit is contained in:
soup 2024-12-14 18:54:10 -05:00
parent 043cfd687c
commit 1267c63a90
Signed by: soup
SSH key fingerprint: SHA256:GYxje8eQkJ6HZKzVWDdyOUF1TyDiprruGhE0Ym8qYDY
2 changed files with 14 additions and 3 deletions

3
.gitmodules vendored
View file

@ -1,3 +0,0 @@
[submodule "deps/tree-sitter-c"]
path = deps/tree-sitter-c
url = https://github.com/tree-sitter/tree-sitter-c

View file

@ -7,6 +7,20 @@
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in {
packages.default = pkgs.stdenv.mkDerivation {
pname = "cgen";
version = "0";
src = builtins.fetchGit {
url = ./.;
submodules = true;
};
nativeBuildInputs = with pkgs; [
gcc14
tree-sitter
tinyxxd
];
};
devShells.default =
pkgs.mkShell {
packages = with pkgs; [