diff --git a/pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix b/pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix index dacdbaee494a..0b258543293f 100644 --- a/pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix +++ b/pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { s|(w3m-which-command "display")|"${imagemagick}/bin/display"|g' sed -i "w3m-image.el" \ - -e 's|(w3m-which-command "convert")$|"${imagemagick}/bin/convert"|g' + -e 's|(w3m-which-command "convert")|"${imagemagick}/bin/convert"|g' ''; configurePhase = ''