Re: [Nix-dev] npm packages broken

2016-02-07 Thread Wout Mertens
Sadly, I always build npm packages locally with a user created for the app.
Npm2nix is not usable yet afaik (I'd love to be wrong).

Last I saw, someone was proposing for it to piggyback on `npm shrinkwrap`,
which I think would be the way to go for determining version numbers. Worst
case, the result could be used to pre-populate an npm cache and to run npm
in a sandbox for building (possibly step by step so we can store all
modules separately).

On Tue, Feb 2, 2016, 8:53 PM Matthew O'Gorman  wrote:

>
> Yesterday I tried to package phonegap for nixos but ran into problems.
> It seems several of the packages in the node-package-generated.nix no
> longer exist so npm2nix over node-packages.json fails.  Should this
> feature be removed? If so how should I go about packaging npm software
> for nix.
>
> --
> Matthew O'Gorman
> BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv
> TorChat: 5w3dtk7nhkkijcpc
> Site: https://b.rldn.net
> Xim/Email: m...@rldn.net
> mog@rldn:~$ fortune wisdom -s|cowsay -f /dev/null
>  __
> / There is no cure for birth and death \
> | other than to enjoy the interval.|
> |  |
> \ -- George Santayana  /
>  --
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-- 

Wout.
(typed on mobile, excuse terseness)
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] npm packages broken

2016-02-07 Thread Luca Bruno
Just use an older npm2nix until someone fixes it:

with import  {};

(import (fetchTarball
https://github.com/NixOS/nixpkgs/archive/1357692.tar.gz) {}).npm2nix


On Sun, Feb 7, 2016 at 11:59 AM, Wout Mertens 
wrote:

> Sadly, I always build npm packages locally with a user created for the
> app. Npm2nix is not usable yet afaik (I'd love to be wrong).
>
> Last I saw, someone was proposing for it to piggyback on `npm shrinkwrap`,
> which I think would be the way to go for determining version numbers. Worst
> case, the result could be used to pre-populate an npm cache and to run npm
> in a sandbox for building (possibly step by step so we can store all
> modules separately).
>
> On Tue, Feb 2, 2016, 8:53 PM Matthew O'Gorman  wrote:
>
>>
>> Yesterday I tried to package phonegap for nixos but ran into problems.
>> It seems several of the packages in the node-package-generated.nix no
>> longer exist so npm2nix over node-packages.json fails.  Should this
>> feature be removed? If so how should I go about packaging npm software
>> for nix.
>>
>> --
>> Matthew O'Gorman
>> BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv
>> TorChat: 5w3dtk7nhkkijcpc
>> Site: https://b.rldn.net
>> Xim/Email: m...@rldn.net
>> mog@rldn:~$ fortune wisdom -s|cowsay -f /dev/null
>>  __
>> / There is no cure for birth and death \
>> | other than to enjoy the interval.|
>> |  |
>> \ -- George Santayana  /
>>  --
>> ___
>> nix-dev mailing list
>> nix-dev@lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
> --
>
> Wout.
> (typed on mobile, excuse terseness)
>
> ___
> nix-dev mailing list
> nix-dev@lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>


-- 
NixOS Linux 
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


[Nix-dev] npm packages broken

2016-02-02 Thread Matthew O'Gorman

Yesterday I tried to package phonegap for nixos but ran into problems.
It seems several of the packages in the node-package-generated.nix no
longer exist so npm2nix over node-packages.json fails.  Should this
feature be removed? If so how should I go about packaging npm software
for nix.

-- 
Matthew O'Gorman
BM-NBUmia4p88Jny5bZbRGcMt64SWWp5WVv
TorChat: 5w3dtk7nhkkijcpc
Site: https://b.rldn.net
Xim/Email: m...@rldn.net
mog@rldn:~$ fortune wisdom -s|cowsay -f /dev/null
 __ 
/ There is no cure for birth and death \
| other than to enjoy the interval.|
|  |
\ -- George Santayana  /
 -- 


signature.asc
Description: PGP signature
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev