Jump to content

Node.js: Difference between revisions

25 bytes removed ,  17 November 2020
Update yarn2nix's package name, now it's just yarn2nix.
imported>Vyorkin
mNo edit summary
imported>Pta2002
(Update yarn2nix's package name, now it's just yarn2nix.)
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-moretea
$ nix-shell -p yarn yarn2nix
$ yarn install
$ yarn install
# creates yarn.lock
# creates yarn.lock
Line 24: Line 24:
with (import <nixpkgs> {});
with (import <nixpkgs> {});
rec {
rec {
   muellshack = yarn2nix-moretea.mkYarnPackage {
   muellshack = mkYarnPackage {
     name = "muellshack";
     name = "muellshack";
     src = ./.;
     src = ./.;
Anonymous user