web-terminal-experiment/flake.nix
ktkk aca520fe1e Update project naming
Use the correct project name (web-terminal-experiment) in both flake.nix and go.mod.
2025-09-24 15:23:11 +00:00

36 lines
766 B
Nix

{
description = "Web Terminal Experiment";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
nativeBuildInputs = with pkgs; [
go
gopls
];
buildInputs = with pkgs; [];
in {
devShells.default = pkgs.mkShell {inherit nativeBuildInputs buildInputs;};
packages.default = pkgs.buildGoModule rec {
name = "web-terminal-experiment-server";
src = ./.;
inherit buildInputs;
vendorHash = null;
};
}
);
}