Compare commits

..

2 Commits

Author SHA1 Message Date
52dd1edb66 added nix package build
Some checks failed
build / docker (push) Has been cancelled
2026-01-16 21:53:32 -05:00
7a1b74fe22 added result dir to gitignore 2026-01-16 21:53:23 -05:00
2 changed files with 35 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
/target /target
.env .env
.env.dev .env.dev
/result

View File

@@ -61,5 +61,39 @@
}; };
}; };
}); });
packages = forEachSupportedSystem ({ pkgs }: {
default = let
pname = "caitsith";
version = "master";
src = pkgs.fetchFromGitea {
domain = "scm.wyattjmiller.com";
owner = "wymiller";
repo = "caitsith";
rev = "${version}";
sha256 = "sha256-bNIzb57qPzzgwGVTjk2N59P7Rtt0MdyJY12sTAH05/s=";
};
in pkgs.rustPlatform.buildRustPackage {
inherit pname version src;
cargoLock = { lockFile = "${src}/Cargo.lock"; };
nativeBuildInputs = with pkgs; [
pkg-config-unwrapped
openssl.dev
];
meta = {
description = "A Discord bot that deathrolls";
mainProgram = "caitsith";
homepage = "https://scm.wyattjmiller.com/wymiller/caitsith";
maintainers = [ "wymillerlinux" ];
platforms = [ "x86_64-linux" ];
};
env = {
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
};
};
});
}; };
} }