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: 8bccf032aa09
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f3731904910b
Choose a head ref
Loading
Showing with 1,067 additions and 7,667 deletions.
  1. +6 −0 nixos/doc/manual/configuration/declarative-packages.xml
  2. +6 −0 nixos/doc/manual/release-notes/rl-2003.xml
  3. +3 −3 nixos/modules/hardware/opengl.nix
  4. +0 −1 nixos/modules/module-list.nix
  5. +0 −78 nixos/modules/programs/way-cooler.nix
  6. +2 −0 nixos/modules/rename.nix
  7. +10 −0 nixos/modules/services/cluster/kubernetes/pki.nix
  8. +9 −3 nixos/modules/services/x11/desktop-managers/gnome3.nix
  9. +4 −0 nixos/modules/services/x11/display-managers/gdm.nix
  10. +54 −0 pkgs/applications/editors/uberwriter/default.nix
  11. +2 −2 pkgs/applications/graphics/avocode/default.nix
  12. +2 −2 pkgs/applications/graphics/gthumb/default.nix
  13. +69 −17 pkgs/applications/misc/calibre/default.nix
  14. +2 −2 pkgs/applications/networking/browsers/vivaldi/default.nix
  15. +13 −2 pkgs/applications/networking/gns3/default.nix
  16. +11 −18 pkgs/applications/networking/gns3/gui.nix
  17. +10 −18 pkgs/applications/networking/gns3/server.nix
  18. +48 −43 pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
  19. +49 −89 pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
  20. +4 −8 pkgs/applications/office/wpsoffice/default.nix
  21. +71 −0 pkgs/applications/radio/svxlink/default.nix
  22. +2 −2 pkgs/applications/version-management/gitea/default.nix
  23. +0 −37 pkgs/applications/window-managers/way-cooler/bar.diff
  24. +0 −3,004 pkgs/applications/window-managers/way-cooler/crates-io.nix
  25. +0 −113 pkgs/applications/window-managers/way-cooler/default.nix
  26. +0 −314 pkgs/applications/window-managers/way-cooler/way-cooler.nix
  27. +0 −1,372 pkgs/applications/window-managers/way-cooler/wc-bg.nix
  28. +0 −794 pkgs/applications/window-managers/way-cooler/wc-grab.nix
  29. +0 −1,479 pkgs/applications/window-managers/way-cooler/wc-lock.nix
  30. +0 −39 pkgs/applications/window-managers/way-cooler/wlc.nix
  31. +67 −0 pkgs/build-support/docker-slim/default.nix
  32. +11 −0 pkgs/desktops/gnome-3/core/gnome-session/default.nix
  33. +2 −2 pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
  34. +2 −2 pkgs/desktops/pantheon/apps/switchboard/default.nix
  35. +6 −2 pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix
  36. +2 −2 pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix
  37. +2 −2 pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
  38. +3 −3 pkgs/desktops/pantheon/nixpkgs_github_update/lib/nixpkgs_github_update/github_latest_version.ex
  39. +3 −2 pkgs/development/compilers/bs-platform/build-bs-platform.nix
  40. +3 −3 pkgs/development/compilers/ghc/8.8.2.nix
  41. +4 −4 pkgs/development/compilers/purescript/purescript/default.nix
  42. +127 −21 pkgs/development/haskell-modules/generic-builder.nix
  43. +218 −64 pkgs/development/haskell-modules/hackage-packages.nix
  44. +39 −43 pkgs/development/haskell-modules/make-package-set.nix
  45. +16 −16 pkgs/development/python-modules/pypandoc/default.nix
  46. +22 −0 pkgs/development/python-modules/sysv_ipc/default.nix
  47. +3 −3 pkgs/development/tools/dive/default.nix
  48. +2 −2 pkgs/development/tools/misc/clojure-lsp/default.nix
  49. +2 −2 pkgs/development/tools/pypi2nix/default.nix
  50. +14 −6 pkgs/development/tools/wabt/default.nix
  51. +28 −0 pkgs/development/tools/wabt/version.patch
  52. +2 −2 pkgs/games/quakespasm/vulkan.nix
  53. +2 −2 pkgs/os-specific/linux/firejail/default.nix
  54. +2 −2 pkgs/os-specific/linux/kernel/linux-4.14.nix
  55. +2 −2 pkgs/os-specific/linux/kernel/linux-4.19.nix
  56. +2 −2 pkgs/os-specific/linux/kernel/linux-5.4.nix
  57. +2 −2 pkgs/servers/sql/postgresql/ext/timescaledb.nix
  58. +4 −0 pkgs/servers/zoneminder/default.nix
  59. +2 −0 pkgs/test/default.nix
  60. +24 −0 pkgs/test/haskell-shellFor/default.nix
  61. +3 −14 pkgs/tools/compression/zopfli/default.nix
  62. +2 −2 pkgs/tools/filesystems/ceph/default.nix
  63. +1 −1 pkgs/tools/filesystems/nixpart/0.4/blivet.nix
  64. +2 −2 pkgs/tools/filesystems/nixpart/0.4/default.nix
  65. +3 −3 pkgs/tools/inputmethods/ibus-engines/ibus-table-others/default.nix
  66. +2 −2 pkgs/tools/misc/wakatime/default.nix
  67. +2 −2 pkgs/tools/networking/bandwhich/default.nix
  68. +3 −3 pkgs/tools/networking/nebula/default.nix
  69. +2 −2 pkgs/tools/networking/wavemon/default.nix
  70. +5 −4 pkgs/tools/package-management/packagekit/default.nix
  71. +5 −0 pkgs/tools/package-management/rpm/default.nix
  72. +24 −0 pkgs/tools/security/rage/default.nix
  73. +14 −1 pkgs/top-level/all-packages.nix
  74. +2 −0 pkgs/top-level/python-packages.nix
  75. +2 −0 pkgs/top-level/release.nix
6 changes: 6 additions & 0 deletions nixos/doc/manual/configuration/declarative-packages.xml
Original file line number Diff line number Diff line change
@@ -19,6 +19,12 @@
<command>nixos-rebuild switch</command>.
</para>

<note>
<para>
Some packages require additional global configuration such as D-Bus or systemd service registration so adding them to <xref linkend="opt-environment.systemPackages"/> might not be sufficient. You are advised to check the <link xlink:href="#ch-options">list of options</link> whether a NixOS module for the package does not exist.
</para>
</note>

<para>
You can get a list of the available packages as follows:
<screen>
6 changes: 6 additions & 0 deletions nixos/doc/manual/release-notes/rl-2003.xml
Original file line number Diff line number Diff line change
@@ -168,6 +168,12 @@ services.xserver.displayManager.defaultSession = "xfce+icewm";
SDDM, GDM, or using the startx module which uses Xinitrc.
</para>
</listitem>
<listitem>
<para>
The Way Cooler wayland compositor has been removed, as the project has been officially canceled.
There are no more <literal>way-cooler</literal> attribute and <literal>programs.way-cooler</literal> options.
</para>
</listitem>
<listitem>
<para>
The BEAM package set has been deleted. You will only find there the different interpreters.
6 changes: 3 additions & 3 deletions nixos/modules/hardware/opengl.nix
Original file line number Diff line number Diff line change
@@ -43,11 +43,11 @@ in
description = ''
Whether to enable OpenGL drivers. This is needed to enable
OpenGL support in X11 systems, as well as for Wayland compositors
like sway, way-cooler and Weston. It is enabled by default
like sway and Weston. It is enabled by default
by the corresponding modules, so you do not usually have to
set it yourself, only if there is no module for your wayland
compositor of choice. See services.xserver.enable,
programs.sway.enable, and programs.way-cooler.enable.
compositor of choice. See services.xserver.enable and
programs.sway.enable.
'';
type = types.bool;
default = false;
1 change: 0 additions & 1 deletion nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
@@ -159,7 +159,6 @@
./programs/venus.nix
./programs/vim.nix
./programs/wavemon.nix
./programs/way-cooler.nix
./programs/waybar.nix
./programs/wireshark.nix
./programs/x2goserver.nix
78 changes: 0 additions & 78 deletions nixos/modules/programs/way-cooler.nix

This file was deleted.

2 changes: 2 additions & 0 deletions nixos/modules/rename.nix
Original file line number Diff line number Diff line change
@@ -27,6 +27,8 @@ with lib;
(mkRemovedOptionModule [ "services.osquery" ] "The osquery module has been removed")
(mkRemovedOptionModule [ "services.fourStore" ] "The fourStore module has been removed")
(mkRemovedOptionModule [ "services.fourStoreEndpoint" ] "The fourStoreEndpoint module has been removed")
(mkRemovedOptionModule [ "programs" "way-cooler" ] ("way-cooler is abandoned by its author: " +
"https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html"))

# Do NOT add any option renames here, see top of the file
];
10 changes: 10 additions & 0 deletions nixos/modules/services/cluster/kubernetes/pki.nix
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@ let
size = 2048;
};
CN = top.masterAddress;
hosts = cfg.cfsslAPIExtraSANs;
});

cfsslAPITokenBaseName = "apitoken.secret";
@@ -66,6 +67,15 @@ in
type = bool;
};

cfsslAPIExtraSANs = mkOption {
description = ''
Extra x509 Subject Alternative Names to be added to the cfssl API webserver TLS cert.
'';
default = [];
example = [ "subdomain.example.com" ];
type = listOf str;
};

genCfsslAPIToken = mkOption {
description = ''
Whether to automatically generate cfssl API-token secret,
12 changes: 9 additions & 3 deletions nixos/modules/services/x11/desktop-managers/gnome3.nix
Original file line number Diff line number Diff line change
@@ -144,7 +144,7 @@ in
services.gnome3.core-shell.enable = true;
services.gnome3.core-utilities.enable = mkDefault true;

services.xserver.displayManager.sessionPackages = [ pkgs.gnome3.gnome-session ];
services.xserver.displayManager.sessionPackages = [ pkgs.gnome3.gnome-session.sessions ];

environment.extraInit = ''
${concatMapStrings (p: ''
@@ -249,11 +249,17 @@ in
services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
services.telepathy.enable = mkDefault true;

systemd.packages = with pkgs.gnome3; [ vino gnome-session ];
systemd.packages = with pkgs.gnome3; [
gnome-session
gnome-shell
vino
];

services.avahi.enable = mkDefault true;

xdg.portal.extraPortals = [ pkgs.gnome3.gnome-shell ];
xdg.portal.extraPortals = [
pkgs.gnome3.gnome-shell
];

services.geoclue2.enable = mkDefault true;
services.geoclue2.enableDemoAgent = false; # GNOME has its own geoclue agent
4 changes: 4 additions & 0 deletions nixos/modules/services/x11/display-managers/gdm.nix
Original file line number Diff line number Diff line change
@@ -174,6 +174,10 @@ in
"f /run/gdm/.config/gnome-initial-setup-done 0711 gdm gdm - yes"
];

# Otherwise GDM will not be able to start correctly and display Wayland sessions
systemd.packages = with pkgs.gnome3; [ gnome-session gnome-shell ];
environment.systemPackages = [ pkgs.gnome3.adwaita-icon-theme ];

systemd.services.display-manager.wants = [
# Because sd_login_monitor_new requires /run/systemd/machines
"systemd-machined.service"
54 changes: 54 additions & 0 deletions pkgs/applications/editors/uberwriter/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{ stdenv, fetchFromGitHub, meson, ninja, cmake
, wrapGAppsHook, pkgconfig, desktop-file-utils
, appstream-glib, pythonPackages, glib, gobject-introspection
, gtk3, webkitgtk, glib-networking, gnome3, gspell, texlive
, haskellPackages}:

let
pythonEnv = pythonPackages.python.withPackages(p: with p;
[ regex setuptools python-Levenshtein pyenchant pygobject3 pycairo pypandoc ]);
texliveDist = texlive.combined.scheme-medium;

in stdenv.mkDerivation rec {
pname = "uberwriter";
version = "unstable-2019-11-29";

src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "7606a55389f8516d9fed7927fa50ff8822ee9e38";
sha256 = "0ky001vs9nfvqf05h4q7fl0n8vsgim59z22i66a8sw6bqipv62sg";
};

nativeBuildInputs = [ meson ninja cmake pkgconfig desktop-file-utils
appstream-glib wrapGAppsHook ];

buildInputs = [ glib pythonEnv gobject-introspection gtk3
gnome3.adwaita-icon-theme webkitgtk gspell texliveDist
glib-networking ];

postPatch = ''
patchShebangs --build build-aux/meson_post_install.py
substituteInPlace uberwriter/config.py --replace "/usr/share/uberwriter" "$out/share/uberwriter"
# get rid of unused distributed dependencies
rm -r uberwriter/{pylocales,pressagio}
'';

preFixup = ''
gappsWrapperArgs+=(
--prefix PYTHONPATH : "$out/lib/python${pythonEnv.pythonVersion}/site-packages/"
--prefix PATH : "${texliveDist}/bin"
--prefix PATH : "${haskellPackages.pandoc-citeproc}/bin"
)
'';

meta = with stdenv.lib; {
homepage = http://uberwriter.github.io/uberwriter/;
description = "A distraction free Markdown editor for GNU/Linux";
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.sternenseemann ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/avocode/default.nix
Original file line number Diff line number Diff line change
@@ -5,11 +5,11 @@

stdenv.mkDerivation rec {
pname = "avocode";
version = "4.2.1";
version = "4.2.2";

src = fetchurl {
url = "https://media.avocode.com/download/avocode-app/${version}/avocode-${version}-linux.zip";
sha256 = "06g12gqri1sgfklla6jfpi7wm2qjazakcjs2w2rhrphnl50r6ca7";
sha256 = "0f4cmai2d1x7wbqllxp9na6gxgqfxqav8n4g9azyvm6ymd8zjnx8";
};

libPath = stdenv.lib.makeLibraryPath (with xorg; [
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/gthumb/default.nix
Original file line number Diff line number Diff line change
@@ -33,11 +33,11 @@

stdenv.mkDerivation rec {
pname = "gthumb";
version = "3.8.2";
version = "3.8.3";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "15wqks35ks5dm7zj046dfd45vvrilan2ayfy2sxiprv7q74cip2q";
sha256 = "1a0gss9cjcwayrcpkam5kc1giwbfy38jgqxvh33in9gfq9dgrygg";
};

nativeBuildInputs = [
86 changes: 69 additions & 17 deletions pkgs/applications/misc/calibre/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
{ lib, mkDerivation, fetchurl, poppler_utils, pkgconfig, libpng
, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmake, icu, sqlite
, unrarSupport ? false, chmlib, python2Packages, libusb1, libmtp
, xdg_utils, makeDesktopItem, removeReferencesTo
{ lib
, mkDerivation
, fetchurl
, poppler_utils
, pkgconfig
, libpng
, imagemagick
, libjpeg
, fontconfig
, podofo
, qtbase
, qmake
, icu
, sqlite
, hunspell
, hyphen
, unrarSupport ? false
, chmlib
, python2Packages
, libusb1
, libmtp
, xdg_utils
, makeDesktopItem
, removeReferencesTo
}:

let
@@ -10,11 +30,11 @@ let
in
mkDerivation rec {
pname = "calibre";
version = "3.48.0";
version = "4.8.0";

src = fetchurl {
url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz";
sha256 = "034m89h7j2088p324i1kya33dfldmqyynjxk3w98xiqkz7q2hi82";
sha256 = "1lk44qh3hzqhpz2b00iik7cgjg4xm36qjh2pxflkjnbk691gbpqk";
};

patches = [
@@ -44,17 +64,49 @@ mkDerivation rec {
CALIBRE_PY3_PORT = builtins.toString pypkgs.isPy3k;

buildInputs = [
poppler_utils libpng imagemagick libjpeg
fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils
] ++ (with pypkgs; [
apsw cssselect css-parser dateutil dnspython feedparser html5-parser lxml markdown netifaces pillow
python pyqt5_with_qtwebkit sip
regex msgpack beautifulsoup4 html2text
# the following are distributed with calibre, but we use upstream instead
odfpy
]) ++ lib.optionals (!pypkgs.isPy3k) (with pypkgs; [
mechanize
]);
poppler_utils
libpng
imagemagick
libjpeg
fontconfig
podofo
qtbase
chmlib
icu
hunspell
hyphen
sqlite
libusb1
libmtp
xdg_utils
] ++ (
with pypkgs; [
apsw
cssselect
css-parser
dateutil
dnspython
feedparser
html5-parser
lxml
markdown
netifaces
pillow
python
pyqt5_with_qtwebkit
sip
regex
msgpack
beautifulsoup4
html2text
# the following are distributed with calibre, but we use upstream instead
odfpy
]
) ++ lib.optionals (!pypkgs.isPy3k) (
with pypkgs; [
mechanize
]
);

installPhase = ''
runHook preInstall
Loading