cabal2nix: help the regression test suite locate the cabal2nix binary
This commit is contained in:
parent
1397830470
commit
e36fcd28a2
@ -1093,6 +1093,14 @@ self: super: {
|
|||||||
haddock-library = doJailbreak (dontCheck super.haddock-library);
|
haddock-library = doJailbreak (dontCheck super.haddock-library);
|
||||||
haddock-library_1_6_0 = doJailbreak (dontCheck super.haddock-library_1_6_0);
|
haddock-library_1_6_0 = doJailbreak (dontCheck super.haddock-library_1_6_0);
|
||||||
|
|
||||||
|
# The test suite does not know how to find the 'cabal2nix' binary.
|
||||||
|
cabal2nix = overrideCabal super.cabal2nix (drv: {
|
||||||
|
preCheck = ''
|
||||||
|
export PATH="$PWD/dist/build/cabal2nix:$PATH"
|
||||||
|
export HOME="$TMPDIR/home"
|
||||||
|
'';
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user