Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto-multiple-choice: fix build on darwin #199197

Merged
merged 1 commit into from
Nov 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pkgs/applications/misc/auto-multiple-choice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
, graphicsmagick
, gsettings-desktop-schemas
, gtk3
, hicolor-icon-theme
, libnotify
, librsvg
, libxslt
Expand Down Expand Up @@ -56,6 +57,8 @@ stdenv.mkDerivation rec {
"LANG_GTKSOURCEVIEW_DIR=/share/gtksourceview-4/language-specs"
# Pretend to be redhat so `install` doesn't try to chown/chgrp.
"SYSTEM_TYPE=rpm"
"GCC=${stdenv.cc.targetPrefix}cc"
"GCC_PP=${stdenv.cc.targetPrefix}c++"
];

preFixup = ''
Expand All @@ -82,7 +85,7 @@ stdenv.mkDerivation rec {
XMLSimple
XMLWriter
]}:"$out/share/perl5 \
--prefix XDG_DATA_DIRS : "$out/share" \
--prefix XDG_DATA_DIRS : "$out/share:$XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH" \
--set TEXINPUTS ":.:$out/tex/latex"
'';

Expand All @@ -101,6 +104,7 @@ stdenv.mkDerivation rec {
graphicsmagick
gsettings-desktop-schemas
gtk3
hicolor-icon-theme
libnotify
librsvg
libxslt
Expand Down