npm2nix icon indicating copy to clipboard operation
npm2nix copied to clipboard

Generate nix expressions to build npm packages

Results 23 npm2nix issues
Sort by recently updated
recently updated
newest added

The NPM registry returns HTTP links to tarballs by default, but has full HTTPS support. Rewrite any matching urls to upgrade them to HTTPS. Refs https://github.com/NixOS/nixpkgs/issues/13809.

Without `--nodev` npm2nix generates expressions also for all dev packages, but those are not included anywhere. Would it make sense to have an additional target with dev dependencies to support...

Thats the result with node `v0.12.0` ``` { self, fetchurl, fetchgit ? null, lib }: {% ```

Thus, it crashes. https://github.com/NixOS/npm2nix/blob/master/src/npm2nix.coffee#L201 https://github.com/NixOS/npm2nix/blob/master/src/npm2nix.coffee#L238 Yay for dynamically typed languages

I'm running npm2nix on my package.json and it finishes without errors, but I'm getting a file that looks like this : ``` javascript { self, fetchurl, fetchgit ? null, lib...

I'm trying to package gitbooks which contains: ``` "nunjucks": "mozilla/nunjucks#103513c294835bcbe64222de6db494e2555e294e", ``` which fails with ``` fatal: reference is not a tree: 103513c294835bcbe64222de6db494e2555e294e Error during fetch: Error fetching git://github.com/mozilla/nunjucks.git#103513c294835bcbe64222de6db494e2555e294e from git:...

I have a project which uses several private modules which are not on npms but just git repos. So npm2nix will fail with something like : ``` building path(s) ‘/nix/store/z0dnfrb0riii8mgzg9k7mdfh3i7gpgbq-healthcheck-middleware-e288c34’...

Using node 0.12.0. When you have a dependency list like the following: ``` "dependencies": { "mymodule": "./node_modules/mymodule", "jquery": "~1.11.1", }, ``` You get an error like this: ``` Error during...

I'm having problems with the default.nix created by npm2nix - when I'm running it on a system with auto-optimise-store = true, it fails when unpacking sources: ``` these derivations will...