node-packages.nix: Export buildNodePackage

This commit is contained in:
Shea Levy 2012-08-22 09:44:38 -04:00
parent 695ca8c498
commit aa4ce18077

View file

@ -1,13 +1,13 @@
{ pkgs, stdenv, nodejs, fetchurl }:
let buildNodePackage = import ../development/web/nodejs/build-node-package.nix {
inherit stdenv nodejs;
}; in
let self = {
buildNodePackage = import ../development/web/nodejs/build-node-package.nix {
inherit stdenv nodejs;
};
"coffee-script" = self."coffee-script-1.3.3";
"coffee-script-1.3.3" = buildNodePackage rec {
"coffee-script-1.3.3" = self.buildNodePackage rec {
name = "coffee-script-1.3.3";
src = fetchurl {
url = "http://registry.npmjs.org/coffee-script/-/${name}.tgz";