Merge pull request #116560 from sternenseemann/spacecookie-1.0.0.0-overrides

haskellPackages.spacecookie: enable extra tests, install man pages
This commit is contained in:
Dennis Gosnell 2021-03-17 10:59:48 +09:00 committed by GitHub
commit 7582dc16d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1664,4 +1664,16 @@ self: super: {
# Test suite does not compile.
feed = dontCheck super.feed;
spacecookie = overrideCabal super.spacecookie (old: {
buildTools = (old.buildTools or []) ++ [ pkgs.installShellFiles ];
# let testsuite discover the resulting binary
preCheck = ''
export SPACECOOKIE_TEST_BIN=./dist/build/spacecookie/spacecookie
'' + (old.preCheck or "");
# install man pages shipped in the sdist
postInstall = ''
installManPage docs/man/*
'' + (old.postInstall or "");
});
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super