crate2nix icon indicating copy to clipboard operation
crate2nix copied to clipboard

Feature Request: Support generating nix expressions from a github url or crates.io name

Open IndianBoy42 opened this issue 3 years ago • 2 comments

I am trying to shift my system to Nix, and I use a lot of tools written in rust using cargo install. Some of them don't have Nix packages yet. This seems like a good tool for generating the Nix expression so I can use it atleast for myself. But afaict for now it would require me to clone the github to generate the nix expression

Are there any workarounds or do you think this feature would be useful?

IndianBoy42 avatar Jun 16 '21 08:06 IndianBoy42

There is somewhat preliminary (and stalled) support for out-of-tree builds:

https://github.com/kolloch/crate2nix/blob/master/out-of-tree-sources.md

kolloch avatar Jun 19 '21 10:06 kolloch

Close as duplicate of #102?

Ericson2314 avatar Jul 16 '21 15:07 Ericson2314