Talk:Node.js: Difference between revisions
Latest comment: 30 August 2021 by L0b0 in topic How to use mkYarnModules?
imported>L0b0 →How to use mkPoetryEnv?: new section |
imported>L0b0 mNo edit summary |
||
Line 4: | Line 4: | ||
Actually, yarn2nix can be found under `pkgs.yarn2nix-moretea`, however i also think that `pkgs.nodePackages.node2nix` should be used. I am, however unsure how the path from node2nix to "deploy it on your nixos machine" is --[[User:Makefu|Makefu]] ([[User talk:Makefu|talk]]) 12:24, 26 February 2020 (UTC) | Actually, yarn2nix can be found under `pkgs.yarn2nix-moretea`, however i also think that `pkgs.nodePackages.node2nix` should be used. I am, however unsure how the path from node2nix to "deploy it on your nixos machine" is --[[User:Makefu|Makefu]] ([[User talk:Makefu|talk]]) 12:24, 26 February 2020 (UTC) | ||
== How to use | == How to use mkYarnModules? == | ||
I just end up with a [https://github.com/NixOS/nixpkgs/issues/136132 node_modules folder with no packages]. | I just end up with a [https://github.com/NixOS/nixpkgs/issues/136132 node_modules folder with no packages]. | ||
[[User:L0b0|L0b0]] ([[User talk:L0b0|talk]]) 01:22, 30 August 2021 (UTC) | [[User:L0b0|L0b0]] ([[User talk:L0b0|talk]]) 01:22, 30 August 2021 (UTC) |
Revision as of 00:52, 1 October 2021
yarn2nix not currently in nixpkgs
As of 11/2019, yarn2nix is not included in nixpkgs, however node2nix is. So perhaps the current yarn2nix section should be omitted, augmented/replaced with a section on node2nix, or the section on yarn2nix amended to indicate how to install it.
Actually, yarn2nix can be found under `pkgs.yarn2nix-moretea`, however i also think that `pkgs.nodePackages.node2nix` should be used. I am, however unsure how the path from node2nix to "deploy it on your nixos machine" is --Makefu (talk) 12:24, 26 February 2020 (UTC)
How to use mkYarnModules?
I just end up with a node_modules folder with no packages.