Node.js: Difference between revisions
imported>Trusktr Add install section. |
imported>Makefu No edit summary |
||
Line 15: | Line 15: | ||
This is what was needed to convert a small application server [https://git.shackspace.de/rz/muellshack/tree/3be09715911628b164fa1cf346387555ca26a5b1 shackspace muellshack]: | This is what was needed to convert a small application server [https://git.shackspace.de/rz/muellshack/tree/3be09715911628b164fa1cf346387555ca26a5b1 shackspace muellshack]: | ||
<syntaxHighlight lang=console> | <syntaxHighlight lang=console> | ||
$ nix-shell -p yarn yarn2nix | $ nix-shell -p yarn yarn2nix-moretea | ||
$ yarn install | $ yarn install | ||
# creates yarn.lock | # creates yarn.lock | ||
Line 24: | Line 24: | ||
with (import <nixpkgs> {}); | with (import <nixpkgs> {}); | ||
rec { | rec { | ||
muellshack = mkYarnPackage { | muellshack = yarn2nix-moretea.mkYarnPackage { | ||
name = "muellshack"; | name = "muellshack"; | ||
src = ./.; | src = ./.; |