go-lib: fix instalation directory for source

This commit is contained in:
José Romildo Malaquias 2018-10-21 19:06:23 -03:00
parent fffd13e5e0
commit 6b087a3d21
2 changed files with 5 additions and 3 deletions

View File

@ -19,8 +19,7 @@ stdenv.mkDerivation rec {
makeFlags = [ makeFlags = [
"PREFIX=$(out)" "PREFIX=$(out)"
"GOPATH=$(GGOPATH):${go-lib}/share/gocode" "GOCACHE=off"
"HOME=$(TMP)"
]; ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -22,7 +22,10 @@ stdenv.mkDerivation rec {
mobile-broadband-provider-info mobile-broadband-provider-info
]; ];
makeFlags = [ "PREFIX=$(out)" ]; makeFlags = [
"PREFIX=$(out)"
"GOSITE_DIR=$(out)/share/go"
];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Go bindings for Deepin Desktop Environment development"; description = "Go bindings for Deepin Desktop Environment development";