Skip to content

Commit ee8ff1d

Browse files
Merge staging-next-21.11 into staging-21.11
2 parents 4ef54c9 + 545d81f commit ee8ff1d

File tree

19 files changed

+83
-90
lines changed

19 files changed

+83
-90
lines changed

nixos/doc/manual/from_md/release-notes/rl-2111.section.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,6 +2040,17 @@ Superuser created successfully.
20402040
hydrus manual</link>.
20412041
</para>
20422042
</listitem>
2043+
<listitem>
2044+
<para>
2045+
<literal>pkgs.emacsPackages.orgPackages</literal> is removed
2046+
because org elpa is deprecated. The packages in the top level
2047+
of <literal>pkgs.emacsPackages</literal>, such as org and
2048+
org-contrib, refer to the ones in
2049+
<literal>pkgs.emacsPackages.elpaPackages</literal> and
2050+
<literal>pkgs.emacsPackages.nongnuPackages</literal> where the
2051+
new versions will release.
2052+
</para>
2053+
</listitem>
20432054
</itemizedlist>
20442055
</section>
20452056
</section>

nixos/doc/manual/release-notes/rl-2111.section.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,3 +551,5 @@ In addition to numerous new and upgraded packages, this release has the followin
551551
- RetroArch has been upgraded from version `1.8.5` to `1.9.13.2`. Since the previous release was quite old, if you're having issues after the upgrade, please delete your `$XDG_CONFIG_HOME/retroarch/retroarch.cfg` file.
552552

553553
- hydrus has been upgraded from version `438` to `463`. Since upgrading between releases this old is advised against, be sure to have a backup of your data before upgrading. For details, see [the hydrus manual](https://hydrusnetwork.github.io/hydrus/help/getting_started_installing.html#big_updates).
554+
555+
- `pkgs.emacsPackages.orgPackages` is removed because org elpa is deprecated. The packages in the top level of `pkgs.emacsPackages`, such as org and org-contrib, refer to the ones in `pkgs.emacsPackages.elpaPackages` and `pkgs.emacsPackages.nongnuPackages` where the new versions will release.

pkgs/applications/editors/emacs/27.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import ./generic.nix (rec {
22
version = "27.2";
33
sha256 = "sha256-tKfMTnjmPzeGJOCRkhW5EK9bsqCvyBn60pgnLp9Awbk=";
44
patches = fetchpatch: [
5-
./tramp-detect-wrapped-gvfsd.patch
65
(fetchpatch {
76
name = "fix-aarch64-darwin-triplet.patch";
87
url = "https://git.savannah.gnu.org/cgit/emacs.git/patch/?id=a88f63500e475f842e5fbdd9abba4ce122cdb082";

pkgs/applications/editors/emacs/elisp-packages/org-packages.nix

Lines changed: 0 additions & 33 deletions
This file was deleted.

pkgs/applications/editors/emacs/elisp-packages/update-from-overlay

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ curl -s -O https://raw.githubusercontent.com/nix-community/emacs-overlay/master/
1111
nix-instantiate ../../../../../ -A emacs.pkgs.elpaPackages --show-trace
1212
git diff --exit-code elpa-generated.nix > /dev/null || git commit -m "emacs.pkgs.elpa-packages: $(date --iso)" -- elpa-generated.nix
1313

14-
curl -s -O https://raw.githubusercontent.com/nix-community/emacs-overlay/master/repos/org/org-generated.nix
15-
nix-instantiate ../../../../../ -A emacs.pkgs.orgPackages --show-trace
16-
git diff --exit-code org-generated.nix > /dev/null || git commit -m "emacs.pkgs.org-packages: $(date --iso)" -- org-generated.nix
17-
1814
curl -s -O https://raw.githubusercontent.com/nix-community/emacs-overlay/master/repos/melpa/recipes-archive-melpa.json
1915
nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaStablePackages
2016
nix-instantiate --show-trace ../../../../../ -A emacs.pkgs.melpaPackages

pkgs/applications/editors/emacs/elisp-packages/update-org

Lines changed: 0 additions & 4 deletions
This file was deleted.

pkgs/applications/editors/emacs/generic.nix

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,16 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp {
6464
rm -fr .git
6565
'')
6666

67+
# Add the name of the wrapped gvfsd
68+
# This used to be carried as a patch but it often got out of sync with upstream
69+
# and was hard to maintain for emacs-overlay.
70+
(lib.concatStrings (map (fn: ''
71+
sed -i 's#(${fn} "gvfs-fuse-daemon")#(${fn} "gvfs-fuse-daemon") (${fn} ".gvfsd-fuse-wrapped")#' lisp/net/tramp-gvfs.el
72+
'') [
73+
"tramp-compat-process-running-p"
74+
"tramp-process-running-p"
75+
]))
76+
6777
# Reduce closure size by cleaning the environment of the emacs dumper
6878
''
6979
substituteInPlace src/Makefile.in \

pkgs/applications/editors/emacs/tramp-detect-wrapped-gvfsd-26.patch

Lines changed: 0 additions & 14 deletions
This file was deleted.

pkgs/applications/editors/emacs/tramp-detect-wrapped-gvfsd.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

pkgs/applications/misc/calibre/default.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ mkDerivation rec {
4242
url = "https://raw.githubusercontent.com/debian-calibre/calibre/debian/${version}%2Bdfsg-1/debian/patches/0001-only-plugin-update.patch";
4343
sha256 = "sha256-dLzO1TWP7Q4nw2a3oN7qlhGCmcA0NKJrZidUnD6hUMA=";
4444
})
45+
46+
# fix for CVE-2021-44686
47+
(fetchpatch {
48+
name = "0002-CVE-2021-44686.patch";
49+
url = "https://github.com/kovidgoyal/calibre/commit/235b7e38c197ba4a3c17531e516610af8795e348.patch";
50+
sha256 = "07ncv6r2v05m8rnv4syjfalkpksqpjag6icf1z57nv7k9dkkfmfw";
51+
})
4552
]
4653
++ lib.optional (!unrarSupport) ./dont_build_unrar_plugin.patch;
4754

0 commit comments

Comments
 (0)