nix: use colored version by default
This commit is contained in:
parent
f4d4d46390
commit
9eebd41db0
1 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
@ -39,8 +39,8 @@
|
||||||
let
|
let
|
||||||
pkgs = import nixpkgs { inherit system; };
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
|
||||||
vnetod = pkgs.callPackage mkVnetod { };
|
vnetod = pkgs.callPackage mkVnetod { vnetodFeatures = [ "color" ]; };
|
||||||
coloredVnetod = pkgs.callPackage mkVnetod { vnetodFeatures = [ "color" ]; };
|
minimalVnetod = pkgs.callPackage mkVnetod { };
|
||||||
|
|
||||||
docker = pkgs.dockerTools.buildLayeredImage {
|
docker = pkgs.dockerTools.buildLayeredImage {
|
||||||
name = "pleshevskiy/vnetod";
|
name = "pleshevskiy/vnetod";
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
config = {
|
config = {
|
||||||
Volumes."/data" = { };
|
Volumes."/data" = { };
|
||||||
WorkingDir = "/data";
|
WorkingDir = "/data";
|
||||||
Entrypoint = [ "${coloredVnetod}/bin/vnetod" ];
|
Entrypoint = [ "${vnetod}/bin/vnetod" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -60,13 +60,13 @@
|
||||||
{
|
{
|
||||||
apps = {
|
apps = {
|
||||||
default = mkApp vnetod;
|
default = mkApp vnetod;
|
||||||
colored = mkApp coloredVnetod;
|
minimal = mkApp minimalVnetod;
|
||||||
};
|
};
|
||||||
|
|
||||||
packages = {
|
packages = {
|
||||||
inherit docker vnetod;
|
inherit docker vnetod;
|
||||||
default = vnetod;
|
default = vnetod;
|
||||||
colored = coloredVnetod;
|
minimal = minimalVnetod;
|
||||||
};
|
};
|
||||||
|
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
|
|
Loading…
Reference in a new issue