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:
commit
7582dc16d3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user