From 7cefd745bf22df7df26bef26a18991c57a098ec7 Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Mon, 21 Dec 2020 14:51:34 +0000 Subject: [PATCH] Fix Vim module --- modules/vim.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/vim.nix b/modules/vim.nix index 5f34073d..7da0483b 100644 --- a/modules/vim.nix +++ b/modules/vim.nix @@ -16,9 +16,11 @@ let passAsFile = [ "data" ]; buildPhase = '' - mkdir -p $out/colors + # Remove pre-built color schemes + rm colors/* + ${pkgs.mustache-go}/bin/mustache $dataPath \ - $src/templates/default.mustache > $out/colors/base16-stylix.vim + templates/default.mustache > colors/base16-stylix.vim ''; };