treewide: add complete nix package

This commit is contained in:
2026-05-08 12:35:51 -04:00
parent 7d6373e38b
commit afcf5facb0
6 changed files with 190 additions and 16 deletions
+5 -12
View File
@@ -6,11 +6,7 @@
};
outputs =
{
flake-parts,
self,
...
}@inputs:
{ flake-parts, self, ... }@inputs:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"aarch64-linux"
@@ -22,20 +18,17 @@
{
devShells.default = pkgs.mkShell {
name = "errornocord";
buildInputs = with pkgs; [
ffmpeg
self'.packages.default
];
buildInputs = [ self'.packages.default ];
inputsFrom = [ self'.packages.default ];
};
packages = rec {
errornocord = pkgs.callPackage ./. { inherit self; };
errornocord = pkgs.callPackage ./nix/package.nix { inherit self; };
default = errornocord;
};
};
flake.pins = import ./npins;
flake.pins = import ./nix/npins;
};
description = "Hot-reloadable Discord music bot";