Merge pull request #157423 from andreoss/master

emacs: Add withToolkitScrollBars argument

authored by

adisbladis and committed by
GitHub
8092496c 8fba55aa

+4
+4
pkgs/applications/editors/emacs/generic.nix
··· 25 25 , srcRepo ? false, autoreconfHook ? null, texinfo ? null 26 26 , siteStart ? ./site-start.el 27 27 , nativeComp ? false 28 + , withAthena ? false 29 + , withToolkitScrollBars ? true 28 30 , withPgtk ? false 29 31 , withXinput2 ? false 30 32 , withImageMagick ? lib.versionOlder version "27" && (withX || withNS) ··· 32 34 if withGTK2 then "gtk2" 33 35 else if withGTK3 then "gtk3" 34 36 else if withMotif then "motif" 37 + else if withAthena then "athena" 35 38 else "lucid") 36 39 }: 37 40 ··· 154 157 ++ lib.optional withImageMagick "--with-imagemagick" 155 158 ++ lib.optional withPgtk "--with-pgtk" 156 159 ++ lib.optional withXinput2 "--with-xinput2" 160 + ++ lib.optional (!withToolkitScrollBars) "--without-toolkit-scroll-bars" 157 161 ; 158 162 159 163 installTargets = [ "tags" "install" ];