-
Notifications
You must be signed in to change notification settings - Fork 27
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
How do I use this? #13
Comments
That's a good point, maybe I should add an example hello world package. |
Thanks! That sounds good. |
I second this. If one wants to be opinionated, it would be good to describe why particular opinionated decisions about the template were made. What value do these decisions create for the user? Once that is understood, provide a step by step example of how to use this template to generate a package for say, an application that does not yet have a presence in My particular use case is that I want to make a Thanks much! Nix4evar! |
This does seem like it's trying to be useful, but without more docs I have no idea where to put anything... like, say, the actual derivation build. And I can't find an example of anyone using this template on Github to learn from. |
I'm going to get back to this in the next couple of weeks! |
in case it helps as an example, i stumbled across this article https://rgoswami.me/posts/ccon-tut-nix/#project-local-pip which helped me get a Python 3.6 env with Numpy and Pandas up by changing shell.nix to this: { project ? import ./nix { }
}:
let
pythonEnv = project.pkgs.python36.withPackages (ps: with ps;[
numpy
pandas
]);
in project.pkgs.mkShell {
buildInputs = with builtins.attrValues project.devTools; [
pythonEnv
];
shellHook = ''
${project.ci.pre-commit-check.shellHook}
'';
} |
Since the launch of https://devenv.sh I've introduced it for this template, what do you think? Does it make easier to get started? |
I have trouble figuring out where to place my code in this template? Could you add a concrete example of building a package with this (or whatever this template is meant for)?
The text was updated successfully, but these errors were encountered: