matrix-bot/flake.nix
shinya d7274d723d
Some checks failed
Deploy Matrix Bot / deploy (push) Has been cancelled
cleanup
2026-05-04 19:00:19 +02:00

30 lines
612 B
Nix

{
description = "Go project with mautrix and libolm";
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 = import nixpkgs {
inherit system;
};
in
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
go
pkg-config
olm
];
shellHook = ''
export CGO_ENABLED=1
'';
};
});
}