leksah: add wrapper

Closes https://github.com/NixOS/nixpkgs/pull/7063.
This commit is contained in:
Nikolay Amiantov 2015-03-31 17:49:38 +03:00 committed by Peter Simons
parent 0e223ffafe
commit 77a153a655
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,17 @@
{ stdenv, ghcWithPackages, gtk3, makeWrapper }:
let
leksahEnv = ghcWithPackages (self: [ self.leksah-server self.leksah ]);
in stdenv.mkDerivation {
name = "leksah";
buildInputs = [ gtk3 ];
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
mkdir -p $out/bin
makeWrapper ${leksahEnv}/bin/leksah $out/bin/leksah \
--prefix PATH : "${leksahEnv}/bin" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
}

View file

@ -7394,6 +7394,10 @@ let
readosm = callPackage ../development/libraries/readosm { };
leksah = callPackage ../development/tools/leksah {
inherit (haskellngPackages) ghcWithPackages;
};
librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { };
librdf_raptor2 = callPackage ../development/libraries/librdf/raptor2.nix { };