Files
ErrorNoCord/flake.nix
ErrorNoInternet 4185723b8d feat: add (incomplete) nix flake
dave.py isn't packaged yet. Will try to do this myself but dealing with
vcpkg is a bit annoying.
2026-03-23 09:00:35 -04:00

42 lines
815 B
Nix

{
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
{
flake-parts,
self,
...
}@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-linux"
"x86_64-linux"
];
perSystem =
{ pkgs, self', ... }:
{
devShells.default = pkgs.mkShell {
name = "errornocord";
buildInputs = [
self'.packages.default
];
};
packages = rec {
errornocord = pkgs.callPackage ./. { inherit self; };
default = errornocord;
};
};
flake.pins = import ./npins;
};
description = "Hot-reloadable Discord music bot";
}