/ backend / default.nix
default.nix
 1  {
 2    rustPlatform,
 3    version,
 4  
 5    cargo-edit,
 6    clippy,
 7    rustfmt,
 8  }:
 9  
10  rustPlatform.buildRustPackage {
11    pname = "acremote-backend";
12    inherit version;
13    src = ./.;
14  
15    cargoLock.lockFile = ./Cargo.lock;
16  
17    nativeBuildInputs = [
18      cargo-edit
19      clippy
20      rustfmt
21    ];
22  }