3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.hls-rename-plugin: provide necessary test env

This commit is contained in:
sternenseemann 2021-09-29 14:18:35 +02:00
parent 8eb243a24d
commit cdffe459d8

View file

@ -832,6 +832,12 @@ self: super: builtins.intersectAttrs super {
export HOME=$TMPDIR/home
'';
});
hls-rename-plugin = overrideCabal super.hls-rename-plugin (drv: {
testToolDepends = [ pkgs.git ];
preCheck = ''
export HOME=$TMPDIR/home
'' + (drv.preCheck or "");
});
hls-splice-plugin = overrideCabal super.hls-splice-plugin (drv: {
testToolDepends = [ pkgs.git ];
preCheck = ''