From aaa2f3a2372b539b4324901394d7cb3f2770c1ab Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 1 Dec 2022 16:12:30 +0300 Subject: [PATCH] d2: use subPackage to build only cli --- pkgs/d2.nix | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/pkgs/d2.nix b/pkgs/d2.nix index 6c06c02..93faadf 100644 --- a/pkgs/d2.nix +++ b/pkgs/d2.nix @@ -34,20 +34,5 @@ buildGoModule { postInstall = "installManPage ci/release/template/man/d2.1"; - excludedPackages = [ - "d2compiler" - "d2ast" - "d2exporter" - "d2format" - "d2graph" - "d2layouts" - "d2lib" - "d2oracle" - "d2parser" - "d2plugin" - "d2renderers" - "d2target" - "d2theme" - "e2etests" - ]; + subPackages = [ "." ]; }