Created
January 17, 2022 17:16
-
-
Save mpontus/9ec8cd80851ebec5855af7863f0eb13f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# nodeComposition = pkgs.runCommand "node2nix" { | |
# src = ./.; | |
# buildInputs = [ pkgs.nodePackages.node2nix ]; | |
# } '' | |
# mkdir -p $out | |
# node2nix \ | |
# -i $src/package.json \ | |
# -o $out/node-packages.nix \ | |
# -c $out/default.nix \ | |
# -e $out/node-env.nix \ | |
# -d | |
# ''; | |
# nodePackages = callPackage nodeComposition {}; | |
# nodeEnv = callPackage ./node-env.nix { | |
# inherit (pkgs) stdenv lib python2 runCommand writeTextFile; | |
# inherit pkgs nodejs; | |
# }; | |
# nodePackages = callPackage ./node-packages.nix { | |
# inherit (pkgs) fetchurl nix-gitignore stdenv lib fetchgit; | |
# inherit nodeEnv; | |
# }; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment