65 lines
1.5 KiB
Nix
65 lines
1.5 KiB
Nix
{
|
|
description = "Discord bot for Prism Launcher";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
flake-parts = {
|
|
url = "github:hercules-ci/flake-parts";
|
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
|
};
|
|
|
|
get-flake.url = "github:ursi/get-flake";
|
|
|
|
pre-commit-hooks = {
|
|
url = "github:cachix/pre-commit-hooks.nix";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
nixpkgs-stable.follows = "nixpkgs";
|
|
flake-compat.follows = "";
|
|
};
|
|
};
|
|
|
|
procfile-nix = {
|
|
url = "github:getchoo/procfile-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
rust-overlay = {
|
|
url = "github:oxalica/rust-overlay";
|
|
inputs = {
|
|
nixpkgs.follows = "nixpkgs";
|
|
flake-utils.follows = "pre-commit-hooks/flake-utils";
|
|
};
|
|
};
|
|
|
|
treefmt-nix = {
|
|
url = "github:numtide/treefmt-nix";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {flake-parts, ...} @ inputs:
|
|
flake-parts.lib.mkFlake {inherit inputs;} {
|
|
debug = true;
|
|
imports = [
|
|
./args.nix
|
|
./docker.nix
|
|
./pre-commit.nix
|
|
./procfiles.nix
|
|
./shell.nix
|
|
./static.nix
|
|
./treefmt.nix
|
|
|
|
inputs.pre-commit-hooks.flakeModule
|
|
inputs.procfile-nix.flakeModule
|
|
inputs.treefmt-nix.flakeModule
|
|
];
|
|
|
|
systems = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"aarch64-darwin"
|
|
];
|
|
};
|
|
}
|