From d28f88d95200ed24379bcbfc4066750c44741f35 Mon Sep 17 00:00:00 2001 From: aszlig Date: Thu, 7 May 2020 23:59:56 +0200 Subject: vim: Remove file artifacts for ATS syntax plugin We essentially only want to have the ftdetect and syntax files, everything else is just cruft that is not in any way related to Vim. Ideally we want to do a whitelist approach instead of the "remove everything unneeded" we're doing right now, but since I don't want to refactor the whole Vim expression I'll leave it the dirty[TM] way. Signed-off-by: aszlig --- pkgs/aszlig/vim/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pkgs/aszlig') diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix index 2e5e580f..0f97b293 100644 --- a/pkgs/aszlig/vim/default.nix +++ b/pkgs/aszlig/vim/default.nix @@ -303,11 +303,12 @@ let owner = "alex-ren"; repo = "org.ats-lang.toolats"; rev = "e0c5499dfa5c65b4aa3bf031247c768f826f3de8"; - sha256 = "1wf8pr4pj660bxq00l9fhr07qm7mpy1jglmsyxzi9qq9pgb2avzy"; + sha256 = "0g1qrq4f4gq0yrnlslrjz03m0997rd343b22w21w7359hydlqzax"; extraPostFetch = '' mv -t "$out" "$out/org.ats-lang.toolats.vim/ftdetect" \ "$out/org.ats-lang.toolats.vim/syntax" - rm -rf "$out/org.ats-lang.toolats.vim" + rm -rf "$out/org.ats-lang.toolats"* \ + "$out/README.md" "$out/release" "$out/.gitignore" ''; }; -- cgit 1.4.1