Show More
@@ -29,14 +29,13 b' NodeJS dependencies' | |||
|
29 | 29 | |
|
30 | 30 | .. code:: shell |
|
31 | 31 | |
|
32 | # switch to pkgs dir | |
|
33 | pushd pkgs | |
|
34 |
node2nix --input |
|
|
35 | -o node-packages.nix \ | |
|
36 | -e node-env.nix \ | |
|
37 | -c node-default.nix \ | |
|
38 | -d --flatten --nodejs-6 | |
|
39 | popd | |
|
32 | rm -rf node_modules | |
|
33 | nix-shell pkgs/shell-generate.nix --command " | |
|
34 | node2nix --input package.json \ | |
|
35 | -o pkgs/node-packages.nix \ | |
|
36 | -e pkgs/node-env.nix \ | |
|
37 | -c pkgs/node-default.nix \ | |
|
38 | -d --flatten --nodejs-6 " | |
|
40 | 39 | |
|
41 | 40 | |
|
42 | 41 | |
@@ -45,8 +44,6 b' Bower dependencies' | |||
|
45 | 44 | |
|
46 | 45 | .. code:: shell |
|
47 | 46 | |
|
48 | bower2nix bower.json pkgs/bower-packages.nix | |
|
49 | # or | |
|
50 | 47 | nix-shell pkgs/shell-generate.nix --command "bower2nix bower.json pkgs/bower-packages.nix" |
|
51 | 48 | |
|
52 | 49 |
General Comments 0
You need to be logged in to leave comments.
Login now