f4e63f1ac5
Eleven empty crates per DESIGN.md §11, versions and lints pinned once in the root manifest, Justfile carrying the §12 gate, nix dev shell. The frontend steps in `just ci` no-op until web/ exists. arr-core carries one placeholder test because `cargo nextest` fails a zero-test run, and relaxing that would let a broken filter go green later. Closes #1 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{
|
|
description = "arr — single-service replacement for Radarr and Sonarr";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
rust-overlay = {
|
|
url = "github:oxalica/rust-overlay";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, rust-overlay }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
overlays = [ (import rust-overlay) ];
|
|
};
|
|
|
|
rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
rust
|
|
cargo-nextest
|
|
cargo-machete
|
|
cargo-deny
|
|
just
|
|
sqlite
|
|
# arr-probe shells out to ffprobe; the e2e fixtures need ffmpeg.
|
|
ffmpeg
|
|
# Frontend, from issue #6 onwards.
|
|
nodejs
|
|
pnpm
|
|
biome
|
|
];
|
|
|
|
shellHook = ''
|
|
echo "arr dev shell — 'just' lists the entry points"
|
|
'';
|
|
};
|
|
});
|
|
}
|