cabal2nix: disable test suite in 32 bit builds to fix the build
Works around https://github.com/NixOS/cabal2nix/issues/272.
This commit is contained in:
parent
9143cc6bc0
commit
e7c38c14b1
@ -763,6 +763,7 @@ with pkgs;
|
|||||||
isLibrary = false;
|
isLibrary = false;
|
||||||
enableSharedExecutables = false;
|
enableSharedExecutables = false;
|
||||||
executableToolDepends = [ makeWrapper ];
|
executableToolDepends = [ makeWrapper ];
|
||||||
|
doCheck = stdenv.is64bit; # https://github.com/NixOS/cabal2nix/issues/272
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
exe=$out/libexec/${drv.pname}-${drv.version}/${drv.pname}
|
exe=$out/libexec/${drv.pname}-${drv.version}/${drv.pname}
|
||||||
install -D $out/bin/${drv.pname} $exe
|
install -D $out/bin/${drv.pname} $exe
|
||||||
|
Loading…
x
Reference in New Issue
Block a user