diff options
author | makefu <github@syntax-fehler.de> | 2016-10-20 08:49:22 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-10-20 08:49:22 +0200 |
commit | 789dbe2b2657760a5cebcf320f6807847d4fba64 (patch) | |
tree | 157ba6e163ab4846fc601d3aa626765b1c67036c | |
parent | b6fc3af1430e318f781a417e0d7366e1013c0c44 (diff) |
m 5 go: buildNodePackage via callPackage
-rw-r--r-- | krebs/5pkgs/go/default.nix | 6 |
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 { |