1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00

megapixels: Fix schema compilation

This commit is contained in:
OPNA2608 2021-09-02 23:13:01 +02:00
parent 633b62a044
commit d3631d44ed

View file

@ -4,6 +4,7 @@
, meson
, ninja
, pkg-config
, glib
, wrapGAppsHook
, epoxy
, gtk4
@ -35,7 +36,13 @@ stdenv.mkDerivation rec {
sha256 = "0jnfzwvq58p4ksyifma10i158r2fb7fv72ymibgcxbnx596xpjb2";
};
nativeBuildInputs = [ meson ninja pkg-config wrapGAppsHook ];
nativeBuildInputs = [
meson
ninja
pkg-config
glib
wrapGAppsHook
];
buildInputs = [
epoxy
@ -43,6 +50,10 @@ stdenv.mkDerivation rec {
zbar
];
postInstall = ''
glib-compile-schemas $out/share/glib-2.0/schemas
'';
preFixup = optionalString (tiffSupport || jpgSupport) ''
gappsWrapperArgs+=(
--prefix PATH : ${runtimePath}