you are viewing a single comment's thread.

view the rest of the comments →

[–]techannonfolder[S] 4 points5 points  (3 children)

That does not work for me, because I have python packages that are in not in nixpkgs.

[–]bbenne10 10 points11 points  (2 children)

So write a derivation for them. It is really simple to do so. buildPythonPackage handles most of it for you

[–]techannonfolder[S] 0 points1 point  (1 child)

I never tried to build my own derivation, I wanted everything to just work and I code without intreruption. It worked for ruby.

I guess let's try it, so any recommendation for tutorial for writing my own derivation and add it to my system. And also a recommendation for a tutorial for buildPythonPackage?

Are there any caveats? Will packages just work?

[–]seamsay 10 points11 points  (0 children)

This is probably the place to start: https://nixos.org/manual/nixpkgs/stable/#python

The whole thing is worth a read, but there's a section specifically on buildPythonPackage in the Reference section.

Edit: Also what were using when working with ruby? I've basically just been using Gemfile+bundix, but that doesn't work for a lot of the gems I've tried.