git.iko.soy/typeable/nixpkgs
on master help sign in
gozim: fix gozimhttpd with rice

Otherwise it does not run.

commit23b76d310033c4db5e91635311f06b3672f450a5 authorLluís Batlle i Rossell <viric@viric.name> dateThu 21 Jan 2016, 16:34 (11 years ago) parent99077ff
1 file changed+7
pkgs/top-level/go-packages.nix+7
pkgs/top-level/go-packages.nix+7
@@ -1206,6 +1206,13 @@ let
12061206 repo = "gozim";
12071207 sha256 = "1n50fdd56r3s1sgjbpa72nvdh50gfpf6fq55c077w2p3bxn6p8k6";
12081208 propagatedBuildInputs = [ bleve go-liblzma groupcache go-rice goquery ];
1209+ buildInputs = [ pkgs.zip ];
1210+ postInstall = ''
1211+ pushd $NIX_BUILD_TOP/go/src/$goPackagePath/cmd/gozimhttpd
1212+ ${go-rice.bin}/bin/rice append --exec $bin/bin/gozimhttpd
1213+ popd
1214+ '';
1215+ dontStrip = true;
12091216 };
12101217
12111218 go-assert = buildGoPackage rec {