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 = [
"PREFIX=$(out)"
"GOPATH=$(GGOPATH):${go-lib}/share/gocode"
"HOME=$(TMP)"
"GOCACHE=off"
];
meta = with stdenv.lib; {

View file

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