Show More
@@ -29,14 +29,13 b' NodeJS dependencies' | |||||
29 |
|
29 | |||
30 | .. code:: shell |
|
30 | .. code:: shell | |
31 |
|
31 | |||
32 | # switch to pkgs dir |
|
32 | rm -rf node_modules | |
33 | pushd pkgs |
|
33 | nix-shell pkgs/shell-generate.nix --command " | |
34 |
node2nix --input |
|
34 | node2nix --input package.json \ | |
35 | -o node-packages.nix \ |
|
35 | -o pkgs/node-packages.nix \ | |
36 | -e node-env.nix \ |
|
36 | -e pkgs/node-env.nix \ | |
37 | -c node-default.nix \ |
|
37 | -c pkgs/node-default.nix \ | |
38 | -d --flatten --nodejs-6 |
|
38 | -d --flatten --nodejs-6 " | |
39 | popd |
|
|||
40 |
|
39 | |||
41 |
|
40 | |||
42 |
|
41 | |||
@@ -45,8 +44,6 b' Bower dependencies' | |||||
45 |
|
44 | |||
46 | .. code:: shell |
|
45 | .. code:: shell | |
47 |
|
46 | |||
48 | bower2nix bower.json pkgs/bower-packages.nix |
|
|||
49 | # or |
|
|||
50 | nix-shell pkgs/shell-generate.nix --command "bower2nix bower.json pkgs/bower-packages.nix" |
|
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