Merge pull request #56638 from eadwu/vscode-extensions.WakaTime.vscode-wakatime/fix-dependency-path

vscode-extensions.WakaTime.vscode-wakatime: fix dependency path
This commit is contained in:
Dmitry Kalinkin 2019-03-03 05:40:02 -05:00 committed by GitHub
commit bf483b6e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,5 @@
{ stdenv, wakatime, vscode-utils }:
{ stdenv
, wakatime, vscode-utils }:
let
inherit (vscode-utils) buildVscodeMarketplaceExtension;
@ -12,9 +13,8 @@ in
};
postPatch = ''
mkdir -p out/wakatime-master
cp -rt out/wakatime-master --no-preserve=all ${wakatime}/lib/python*/site-packages/wakatime
mkdir -p dist/wakatime-master
cp -rt dist/wakatime-master --no-preserve=all ${wakatime}/lib/python*/site-packages/wakatime
'';
meta = with stdenv.lib; {