-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
drake-factual: init at 1.0.3 #32121
drake-factual: init at 1.0.3 #32121
Conversation
This one was pretty annoying. I couldn't find any other examples of packages that build with leiningen. Leiningen installs dependencies in a local Maven cache, which is by default /var/empty/.m2. This can be changed with a variable in the project.clj file. That's what the sed command does. |
meta = with stdenv; { | ||
description = "a simple-to-use, extensible, text-based data workflow tool that organizes command execution around data and its dependencies"; | ||
homepage = https://github.com/Factual/drake; | ||
license = licenses.epl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib.licenses.epl10
homepage = https://github.com/Factual/drake; | ||
license = licenses.epl; | ||
platforms = lib.platforms.linux; | ||
maintainers = with maintainers; [ rybern ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lib.maintainers
@GrahamcOfBorg eval |
}; | ||
|
||
buildInputs = [ leiningen ]; | ||
propagatedBuildInputs = [ jdk which ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
propagatedBuildInputs
is not the right way of specifying run-time dependencies. Use makeWrapper
as described in https://nixos.org/nixpkgs/manual/#sec-language-java
Also, this won't build inside Nix sandbox. You will need a fixed-output derivation, you can check one of versions of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See @Mic92's comment
@rybern Are you still interested in this? |
Motivation for this change
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)