Move kakoune to a full-fledged package #4

Open
nki wants to merge 42 commits from kakoune-package into master
Showing only changes of commit 20287ca12f - Show all commits

View file

@ -85,7 +85,11 @@ let
}); });
vesktop = prev.vesktop.overrideAttrs (attrs: { vesktop = prev.vesktop.overrideAttrs (attrs: {
postFixup = builtins.replaceStrings [ "NIXOS_OZONE_WL" "--enable-wayland-ime=true" ] [ "WAYLAND_DISPLAY" "--enable-wayland-ime=true --wayland-text-input-version=3" ] attrs.postFixup; postFixup =
let
flagToReplace = if final.lib.hasInfix "--enable-wayland-ime=true" attrs.postFixup then "--enable-wayland-ime=true" else "--enable-wayland-ime";
in
builtins.replaceStrings [ "NIXOS_OZONE_WL" flagToReplace ] [ "WAYLAND_DISPLAY" "${flagToReplace} --wayland-text-input-version=3" ] attrs.postFixup;
}); });
}; };