haskell-arbtt: add build products into $PATH for the check phase

Fixes https://github.com/NixOS/nixpkgs/pull/57585.
This commit is contained in:
Peter Simons 2019-03-17 09:41:28 +01:00
parent 4708d3f84b
commit 7c04e3eb75
3 changed files with 5 additions and 5 deletions

View File

@ -1027,6 +1027,11 @@ self: super: {
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
});
arbtt = overrideCabal super.arbtt (drv: {
preCheck = ''
for n in $PWD/dist/build/*; do PATH+=":$n"; done
'';
});
# This package refers to the wrong library (itself in fact!)
vulkan = super.vulkan.override { vulkan = pkgs.vulkan-loader; };
@ -1156,8 +1161,6 @@ self: super: {
xmonad-extras = doJailbreak super.xmonad-extras;
arbtt = doJailbreak super.arbtt;
# https://github.com/danfran/cabal-macosx/issues/13
cabal-macosx = dontCheck super.cabal-macosx;

View File

@ -2823,7 +2823,6 @@ broken-packages:
- arbor-monad-metric
- arbor-monad-metric-datadog
- arbor-postgres
- arbtt
- archiver
- archlinux
- archlinux-web

View File

@ -29814,8 +29814,6 @@ self: {
];
description = "Automatic Rule-Based Time Tracker";
license = stdenv.lib.licenses.gpl2;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
"arcgrid" = callPackage