Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 02f13a4245a3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a44993447728
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on Oct 31, 2020

  1. emacs: make ImageMagick dependency optional in Emacs≥27

    Emacs 27 doesn't use ImageMagick by default to display images [1]:
    
        ** Emacs no longer defaults to using ImageMagick to display images.
        This is due to security and stability concerns with ImageMagick.  To
        override the default, use 'configure --with-imagemagick'.
    
    [1] https://github.com/emacs-mirror/emacs/blob/emacs-27.1/etc/NEWS#L96-L98
    marsam committed Oct 31, 2020
    Copy the full SHA
    ed047f8 View commit details

Commits on Nov 20, 2020

  1. Merge pull request #102241 from marsam/emacs27-optional-imagemagick

    emacs: make ImageMagick dependency optional in Emacs≥27
    marsam authored Nov 20, 2020
    Copy the full SHA
    a449934 View commit details
Showing with 4 additions and 1 deletion.
  1. +4 −1 pkgs/applications/editors/emacs/generic.nix
5 changes: 4 additions & 1 deletion pkgs/applications/editors/emacs/generic.nix
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
, srcRepo ? false, autoreconfHook ? null, texinfo ? null
, siteStart ? ./site-start.el
, nativeComp ? false
, withImageMagick ? lib.versionOlder version "27" && (withX || withNS)
, toolkit ? (
if withGTK2 then "gtk2"
else if withGTK3 then "gtk3"
@@ -101,7 +102,8 @@ in stdenv.mkDerivation {
++ lib.optionals withX
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff libXft
gconf cairo ]
++ lib.optionals (withX || withNS) [ imagemagick librsvg ]
++ lib.optionals (withX || withNS) [ librsvg ]
++ lib.optionals withImageMagick [ imagemagick ]
++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ]
++ lib.optional (withX && withGTK2) gtk2-x11
++ lib.optionals (withX && withGTK3) [ gtk3-x11 gsettings-desktop-schemas ]
@@ -126,6 +128,7 @@ in stdenv.mkDerivation {
"--with-gif=no" "--with-tiff=no" ])
++ lib.optional withXwidgets "--with-xwidgets"
++ lib.optional nativeComp "--with-nativecomp"
++ lib.optional withImageMagick "--with-imagemagick"
;

installTargets = [ "tags" "install" ];