3
0
Fork 0
forked from mirrors/nixpkgs

gozim: fix gozimhttpd with rice

Otherwise it does not run.
This commit is contained in:
Lluís Batlle i Rossell 2016-01-21 16:34:15 +01:00
parent 99077ff648
commit 23b76d3100

View file

@ -1206,6 +1206,13 @@ let
repo = "gozim";
sha256 = "1n50fdd56r3s1sgjbpa72nvdh50gfpf6fq55c077w2p3bxn6p8k6";
propagatedBuildInputs = [ bleve go-liblzma groupcache go-rice goquery ];
buildInputs = [ pkgs.zip ];
postInstall = ''
pushd $NIX_BUILD_TOP/go/src/$goPackagePath/cmd/gozimhttpd
${go-rice.bin}/bin/rice append --exec $bin/bin/gozimhttpd
popd
'';
dontStrip = true;
};
go-assert = buildGoPackage rec {