codedownio / julia2nix

Generate Nix expressions for building a Julia depot with a set of packages
53 stars 6 forks source link

Register in nixpkgs #25

Closed schlichtanders closed 7 months ago

schlichtanders commented 3 years ago

Hi, it would be great to have julia2nix available in nixos and nixpkgs.

thomasjm commented 2 years ago

I actually have a master plan to put all Julia packages in Nixpkgs, so you won't need julia2nix.

If anyone urgently desires julia2nix in Nixpkgs in the meantime, feel free to make a PR there. Personally I'll only do so if/when the master plan doesn't end up working out.

schlichtanders commented 2 years ago

thank you for the update. to have all jupyter packages in nix is awesome, but I would see this complementary.

All julia users and developers know how to write Project.toml files. Also when I am developing Julia, I am developing using Julia Project.toml because it is the Julia standard. I am not tracking dependencies in nix.

Nevertheless it would be great to instantiate a nix-shell with all dependencies. My personal ideal would be to have a requirements.txt for python, Project.toml for Julia, etc. and then be able to create a nix project for it (nix-shell and/or flake).

thomasjm commented 2 years ago

Hmm okay, fair enough. In that case maybe we add it to Nixpkgs sooner.

Let's still hold off until a couple more problems are solved -- at least #20 and #28.

(However, I'd recommend trying the new flake-based usage method -- just do nix run github:codedownio/julia2nix/v1.0.0 !)

thomasjm commented 7 months ago

Julia package support has landed in Nixpkgs so I'll close this now