mirror of
https://codeberg.org/demostf/api-test.git
synced 2026-11-30 04:00:49 +01:00
nix based docker
This commit is contained in:
parent
33e005b545
commit
8d644494d5
9 changed files with 111 additions and 164 deletions
10
flake.nix
10
flake.nix
|
|
@ -32,9 +32,17 @@
|
|||
];
|
||||
in rec {
|
||||
packages = rec {
|
||||
inherit (pkgs) demostf-api-test;
|
||||
inherit (pkgs) demostf-api-test demostf-api-test-docker;
|
||||
docker = demostf-api-test-docker;
|
||||
default = demostf-api-test;
|
||||
};
|
||||
apps = rec {
|
||||
api-test = {
|
||||
type = "app";
|
||||
program = "${pkgs.demostf-api-test}/bin/api-test";
|
||||
};
|
||||
default = api-test;
|
||||
};
|
||||
devShells.default = pkgs.mkShell {
|
||||
nativeBuildInputs = tools ++ dependencies;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue