mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-11-11 20:43:00 +01:00
nvim-plugins: don't include garbage files from nix stdenv in output
This commit is contained in:
parent
7044d9c889
commit
47e79504f6
1 changed files with 5 additions and 5 deletions
|
@ -87,20 +87,20 @@ in
|
|||
|
||||
unpackPhase = ''
|
||||
# Copy plugins sources here
|
||||
mkdir plugins
|
||||
${builtins.concatStringsSep "\n" (lib.mapAttrsToList
|
||||
(name: src: "cp -r ${src} ${name}")
|
||||
(name: src: "cp -r ${src} plugins/${name}")
|
||||
config.cgnix.nvim-plugins)}
|
||||
chmod -R +rw .
|
||||
chmod -R +rw plugins
|
||||
'';
|
||||
|
||||
buildPhase = ''
|
||||
# Compile
|
||||
${if mzte-nv-compiler != "" then "${mzte-nv-compiler} ." else ""}
|
||||
${if mzte-nv-compiler != "" then "${mzte-nv-compiler} plugins" else ""}
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
mv * .* "$out"
|
||||
mv plugins "$out"
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue