From 90a4f2d9bac48b6833f1c952c25d8c606bc159ce Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Tue, 25 Feb 2020 21:33:10 -0500 Subject: [PATCH] vale: install styles provided by upstream --- pkgs/tools/text/vale/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/text/vale/default.nix b/pkgs/tools/text/vale/default.nix index c7b06b7e0f6f..96969b0a310a 100644 --- a/pkgs/tools/text/vale/default.nix +++ b/pkgs/tools/text/vale/default.nix @@ -5,7 +5,7 @@ buildGoModule rec { version = "2.2.2"; subPackages = [ "." ]; - outputs = ["out" "doc"]; + outputs = ["out" "doc" "data"]; src = fetchFromGitHub { owner = "errata-ai"; @@ -21,7 +21,9 @@ buildGoModule rec { goPackagePath = "github.com/errata-ai/vale"; postInstall = '' mkdir -p $doc/share/doc/vale + mkdir -p $data/share/vale cp -r docs/* $doc/share/doc/vale + cp -r styles $data/share/vale ''; buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];