prixdugaz/flake.nix
2026-04-02 09:50:45 -04:00

31 lines
733 B
Nix

{
description = "Essence Quebec - Gas price heatmap";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
go
gopls
gotools
];
};
packages.default = pkgs.buildGoModule {
pname = "essence";
version = "0.1.0";
src = ./.;
vendorHash = null; # Will need updating after go mod tidy
};
}
);
}