Files
aethera/flake.nix
Evan Reichard 9b77a473b7
All checks were successful
continuous-integration/drone/push Build is passing
chore(dev): run backend with air
2026-05-02 16:29:10 -04:00

49 lines
911 B
Nix

{
description = "Development Environment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs =
{ self
, nixpkgs
, flake-utils
,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = (
import nixpkgs {
system = system;
config.allowUnfree = true;
}
);
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
# Backend
air
go
gopls
golangci-lint
# Frontend
bun
typescript-language-server
watchman
];
shellHook = ''
export LD_LIBRARY_PATH=${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH
. .env
'';
};
}
);
}