nix: use colored version by default

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-12 17:07:01 +03:00
parent f4d4d46390
commit 9eebd41db0
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -39,8 +39,8 @@
let
pkgs = import nixpkgs { inherit system; };
vnetod = pkgs.callPackage mkVnetod { };
coloredVnetod = pkgs.callPackage mkVnetod { vnetodFeatures = [ "color" ]; };
vnetod = pkgs.callPackage mkVnetod { vnetodFeatures = [ "color" ]; };
minimalVnetod = pkgs.callPackage mkVnetod { };
docker = pkgs.dockerTools.buildLayeredImage {
name = "pleshevskiy/vnetod";
@ -48,7 +48,7 @@
config = {
Volumes."/data" = { };
WorkingDir = "/data";
Entrypoint = [ "${coloredVnetod}/bin/vnetod" ];
Entrypoint = [ "${vnetod}/bin/vnetod" ];
};
};
@ -60,13 +60,13 @@
{
apps = {
default = mkApp vnetod;
colored = mkApp coloredVnetod;
minimal = mkApp minimalVnetod;
};
packages = {
inherit docker vnetod;
default = vnetod;
colored = coloredVnetod;
minimal = minimalVnetod;
};
devShell = pkgs.mkShell {