nix-community / crate2nix

rebuild only changed crates in CI with crate2nix and nix
https://nix-community.github.io/crate2nix/
Apache License 2.0
335 stars 82 forks source link

Tarball issue when building or trying to use template. #336

Closed zdcthomas closed 3 months ago

zdcthomas commented 3 months ago

Hi! Thanks for the work on the awesome repo! I'm having an issue when I'm either using the template, or when I'm building from a the copied flake. Both give the same error. I'm running nix flake init --template github:nix-community/crate2nix on an aarch64 MacOS machine, and getting this error.

error:
       … while updating the lock file of flake 'git+file:///Users/<home>/<repo>'

       … while updating the flake input 'crate2nix'

       error: unsupported tarball input attribute 'lastModified'

Any direction would be super helpful, thanks!

zdcthomas commented 3 months ago

I figured out that the problem here was just that my nix version is too low