-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cabal new-copy or call postCopy hook from new-install #5933
Comments
My POV is: if you can live without custom Writing outside package locations (e.g. to users' directory) is very bad practice, please don't. Make a subcommand or utility to perform post installation to create Links creation for For man pages, wouldn't it be easier for everyone if man pages are pre-processed and included in the See however agda/agda#3563 for similar problem, it's somewhat acceptable as there one requires the built There
Yet, even there, I'd rather manually type-check those modules in the distribution specific packaging script (say which makes |
I don't quite get what I'm expecting from a build system to provide me way to do such simple (from my POV, of course) things. Anyways, I'm not |
It was a typo, @phadej meant |
I'm using
cabal new-build
to build and install git-annex package. The package hasCustom
build type and havepostCopy
hooks to generate documentation and create.desktop
file.Building with
new-build
works fine, but postCopy hooks aren't called duringcabal new-install
, it simply saysUp to date
. There is also nonew-copy
command to make them run.Is there any way to run these hooks from
cabal-install
?The text was updated successfully, but these errors were encountered: