haskell-arbtt: add build products into $PATH for the check phase
Fixes https://github.com/NixOS/nixpkgs/pull/57585.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user