Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Native deps aren't extracted #647

aperiodic opened this Issue Jun 17, 2012 · 0 comments


2 participants

aperiodic commented Jun 17, 2012

When using lein2-preview6 or running from a checkout of master, the native deps extraction doesn't occur. This seems to be caused, indirectly, by the stale dependencies calculation. When running lein deps, the (when-stale [:dependencies] project extract-native-deps jars native-path) form is evaluated twice. The first time, the dependencies are stale, so extract-native-deps is invoked, but the jars passed to it are not my project's dependencies' jars. When the when-stale form is evaluated the second time, the jars are indeed the dependency jars, but at this point, the dependencies aren't stale, so extract-native-deps isn't invoked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment