2024-08-03 18:06:43 -07:00
|
|
|
{
|
|
|
|
description = "A basic flake with a shell";
|
2024-09-18 18:43:08 -07:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
|
|
};
|
2024-08-03 18:06:43 -07:00
|
|
|
|
2024-09-18 18:43:08 -07:00
|
|
|
outputs = { nixpkgs, flake-utils, ... }:
|
|
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
in
|
|
|
|
{
|
|
|
|
devShells.default = pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
go
|
|
|
|
pigeon
|
|
|
|
nodejs
|
|
|
|
sqlite
|
|
|
|
];
|
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
echo "System: ${system}"
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
2024-08-03 18:06:43 -07:00
|
|
|
}
|