-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
passing maven flags, and postUnpack #36
Comments
So, I think doing something like
solves the -Pprod problem. |
The |
I see. -> The answer is that this is being run in a nix shell and it's just getting the appropriate environment. I should probably be patching the src derivation. |
I dirty/shitty hack is to override the |
I'm not sure where else to ask this;
I'm trying to build https://github.com/sismics/docs and it says to pass -Pprod and run
mvn -Pprod -DskipTests clean install
from thedocs-web
directory, but settingin the default.nix generated by mavenix doesn't seem to do anything, and setting
MAVEN_OPTS = "-Pprod";
causes:What's the correct way to do this? (I don't really know anything about maven) I imagine I'm passing
-Pprod
in the wrong place.The text was updated successfully, but these errors were encountered: