cleverca22
10/25/2016 - 8:40 PM

default.nix

["sails","sails-example"]
{ pkgs ? import <nixpkgs> {}, nodePackages ? null }:

let
  callPackage = pkgs.callPackage;
  nodePackages' = if nodePackages == null then pkgs.nodePackages else nodePackages;
  packages = (callPackage ./sails.nix { self = packages; }) // { inherit (nodePackages') buildNodePackage; };
in packages