From 820a66152b2e58add014ad26dde6d87821cd5fcd Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Sun, 2 Jan 2011 17:34:19 +0000 Subject: [PATCH] Fix lablgtk reference svn path=/nixpkgs/trunk/; revision=25343 --- pkgs/applications/networking/sync/unison/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/sync/unison/default.nix b/pkgs/applications/networking/sync/unison/default.nix index 7738ce43f99..6b00500b662 100644 --- a/pkgs/applications/networking/sync/unison/default.nix +++ b/pkgs/applications/networking/sync/unison/default.nix @@ -11,7 +11,7 @@ stdenv.mkDerivation (rec { buildInputs = [ocaml makeWrapper]; preBuild = '' - sed -i "s|\(OCAMLOPT=.*\)$|\1 -I ${lablgtk}/lib/ocaml/lablgtk2|" Makefile.OCaml + sed -i "s|\(OCAMLOPT=.*\)$|\1 -I $(echo "${lablgtk}"/lib/ocaml/*/site-lib/lablgtk2)|" Makefile.OCaml ''; makeFlags = "UISTYLE=gtk2 INSTALLDIR=$(out)/bin/"; preInstall = "ensureDir $out/bin";