leksah: add the appropriate deps to enable running
This commit is contained in:
parent
fe5d98d4c2
commit
a0f0a7191f
@ -643,7 +643,19 @@ self: super: {
|
|||||||
spaceprobe = addBuildTool super.spaceprobe self.llvmPackages.llvm;
|
spaceprobe = addBuildTool super.spaceprobe self.llvmPackages.llvm;
|
||||||
|
|
||||||
# Tries to run GUI in tests
|
# Tries to run GUI in tests
|
||||||
leksah = dontCheck super.leksah;
|
leksah = dontCheck (overrideCabal super.leksah (drv: {
|
||||||
|
executableSystemDepends = (drv.executableSystemDepends or []) ++ (with pkgs; [
|
||||||
|
gnome3.defaultIconTheme # Fix error: Icon 'window-close' not present in theme ...
|
||||||
|
wrapGAppsHook # Fix error: GLib-GIO-ERROR **: No GSettings schemas are installed on the system
|
||||||
|
gtk3 # Fix error: GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser' is not installed
|
||||||
|
]);
|
||||||
|
postPatch = (drv.postPatch or "") + ''
|
||||||
|
for f in src/IDE/Leksah.hs src/IDE/Utils/ServerConnection.hs
|
||||||
|
do
|
||||||
|
substituteInPlace "$f" --replace "\"leksah-server\"" "\"${self.leksah-server}/bin/leksah-server\""
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
}));
|
||||||
|
|
||||||
# Patch to consider NIX_GHC just like xmonad does
|
# Patch to consider NIX_GHC just like xmonad does
|
||||||
dyre = appendPatch super.dyre ./patches/dyre-nix.patch;
|
dyre = appendPatch super.dyre ./patches/dyre-nix.patch;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user