mirror of
https://codeberg.org/spire/dispenser.git
synced 2026-06-04 02:24:07 +02:00
23.05 + nix check
This commit is contained in:
parent
f24901fd89
commit
76ba9682a5
3 changed files with 18 additions and 15 deletions
|
|
@ -3,7 +3,7 @@
|
|||
utils.url = "github:numtide/flake-utils";
|
||||
naersk.url = "github:nix-community/naersk";
|
||||
naersk.inputs.nixpkgs.follows = "nixpkgs";
|
||||
nixpkgs.url = "nixpkgs/release-22.11";
|
||||
nixpkgs.url = "nixpkgs/release-23.05";
|
||||
rust-overlay.url = "github:oxalica/rust-overlay";
|
||||
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
|
||||
rust-overlay.inputs.flake-utils.follows = "utils";
|
||||
|
|
@ -45,6 +45,11 @@
|
|||
pname = "dispenser";
|
||||
root = src;
|
||||
};
|
||||
check = (naerskForTarget hostTarget).buildPackage {
|
||||
pname = "dispenser";
|
||||
cargoBuild = _: ''cargo $cargo_options check $cargo_build_options >> $cargo_build_output_json'';
|
||||
root = src;
|
||||
};
|
||||
dockerImage = pkgs.dockerTools.buildImage {
|
||||
name = "spiretf/dispenser";
|
||||
tag = "latest";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue