NixOS / npm2nix

Generate nix expressions to build npm packages
MIT License
57 stars 32 forks source link

Error in handling some git dependencies #8

Closed tailhook closed 9 years ago

tailhook commented 10 years ago

When I try to add react-tools I see the following:

remote: Total 5490 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (5490/5490), 20.58 MiB | 662.00 KiB/s, done.
Resolving deltas: 100% (3303/3303), done.
Checking connectivity... done.
fatal: ambiguous argument 'harmony': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Error during fetch: Error fetching https://github.com/ariya/esprima.git#harmony from git: git rev-parse exited with non-zero status code 128

The npm itself installs the package without issues

offlinehacker commented 9 years ago

This was due race condition, fixed in https://github.com/NixOS/npm2nix/commit/5d0753267cfb6e2cdb0503cf5d21471c077d68d0 will add react tools and push to nixpkgs.