Files
ErrorNoCord/flake.nix

43 lines
847 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 = with pkgs; [
ffmpeg
self'.packages.default
];
};
packages = rec {
errornocord = pkgs.callPackage ./. { inherit self; };
default = errornocord;
};
};
flake.pins = import ./npins;
};
description = "Hot-reloadable Discord music bot";
}