about summary refs log tree commit diff
path: root/pkgs/development/go-modules/generic
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-07-29 18:16:35 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-07-29 18:16:35 -0700
commitc6bb486641a0784b0230fc6e076df2cd40f6e3e1 (patch)
tree48fb500f096a2f3b6b9815a3471b6ed75b16e35b /pkgs/development/go-modules/generic
parent202c5be5c6cfb0e30f0b4872e05a9195c5ed1d25 (diff)
downloadnixlib-c6bb486641a0784b0230fc6e076df2cd40f6e3e1.tar
nixlib-c6bb486641a0784b0230fc6e076df2cd40f6e3e1.tar.gz
nixlib-c6bb486641a0784b0230fc6e076df2cd40f6e3e1.tar.bz2
nixlib-c6bb486641a0784b0230fc6e076df2cd40f6e3e1.tar.lz
nixlib-c6bb486641a0784b0230fc6e076df2cd40f6e3e1.tar.xz
nixlib-c6bb486641a0784b0230fc6e076df2cd40f6e3e1.tar.zst
nixlib-c6bb486641a0784b0230fc6e076df2cd40f6e3e1.zip
go: govers is a native input
Diffstat (limited to 'pkgs/development/go-modules/generic')
-rw-r--r--pkgs/development/go-modules/generic/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix
index 1d259da14152..d7b4b1f3b4c1 100644
--- a/pkgs/development/go-modules/generic/default.nix
+++ b/pkgs/development/go-modules/generic/default.nix
@@ -28,7 +28,8 @@ go.stdenv.mkDerivation (
   (builtins.removeAttrs args [ "goPackageAliases" "disabled" ]) // {
 
   name = "go${go.meta.branch}-${name}";
-  buildInputs = [ go ] ++ buildInputs ++ (lib.optional (!dontRenameImports) govers) ;
+  nativeBuildInputs = [ go ] ++ (lib.optional (!dontRenameImports) govers);
+  buildInputs = [ go ] ++ buildInputs;
 
   configurePhase = args.configurePhase or ''
     runHook preConfigure