summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-10-20 08:49:22 +0200
committermakefu <github@syntax-fehler.de>2016-10-20 08:49:22 +0200
commit789dbe2b2657760a5cebcf320f6807847d4fba64 (patch)
tree157ba6e163ab4846fc601d3aa626765b1c67036c
parentb6fc3af1430e318f781a417e0d7366e1013c0c44 (diff)
m 5 go: buildNodePackage via callPackage
-rw-r--r--krebs/5pkgs/go/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/krebs/5pkgs/go/default.nix b/krebs/5pkgs/go/default.nix
index fb8b65ea1..2871e5a99 100644
--- a/krebs/5pkgs/go/default.nix
+++ b/krebs/5pkgs/go/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, makeWrapper, lib, buildEnv, fetchgit, nodePackages, nodejs }:
+{ stdenv, makeWrapper, callPackage, lib, buildEnv, fetchgit, nodePackages, nodejs }:
with lib;
let
- np = nodePackages.override {
+ np = (callPackage <nixpkgs/pkgs/top-level/node-packages.nix>) {
generated = ./packages.nix;
self = np;
};
@@ -18,7 +18,7 @@ let
ignoreCollisions = true;
};
-in nodePackages.buildNodePackage {
+in np.buildNodePackage {
name = "go";
src = fetchgit {