woodpecker/flake.nix
6543 90f519caf3
Fix flake add sqlite (#3890)
Adds sqlite to the nix flake
2024-07-12 11:37:02 -05:00

41 lines
914 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
# generic
gnumake
gnutar
# frontend
nodejs_20
pnpm
nodePackages.typescript
nodePackages.typescript-language-server
# backend
go_1_22
glibc.static
gofumpt
golangci-lint
go-mockery
protobuf
sqlite
];
CFLAGS = "-I${pkgs.glibc.dev}/include";
LDFLAGS = "-L${pkgs.glibc}/lib";
};
}
);
}