DavHau / mach-nix

Create highly reproducible python environments
MIT License
852 stars 105 forks source link

How to execute a nix expression? #438

Closed hykilpikonna closed 2 years ago

hykilpikonna commented 2 years ago

I'm trying to publish a pypi command-line script as a nixos package. Is there a tutorial?

I've wrote my nix script (screenshot below), how do I execute it? I tried nix-build and nix run, both of them gave errors.

image image

DavHau commented 2 years ago

Remove line 17 and 18. Also the URL should be a tarball url, like for example: https://github.com/hykilpikonna/hyfetch/tarball/master

hykilpikonna commented 2 years ago

Remove line 17 and 18. Also the URL should be a tarball url, like for example: https://github.com/hykilpikonna/hyfetch/tarball/master

Thank you!