mast/flake.nix
Anish Lakhwara cedc5db744 darwin shell
2024-09-18 18:43:08 -07:00

29 lines
614 B
Nix

{
description = "A basic flake with a shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
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}"
'';
};
}
);
}