Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
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-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9d6abcd8264c
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b1b55ba0f6af
Choose a head ref
  • 12 commits
  • 16 files changed
  • 9 contributors

Commits on Dec 5, 2019

  1. Copy the full SHA
    191de93 View commit details

Commits on Dec 13, 2019

  1. networkmanagerapplet: default to withGnome

    This requires us to add gcr to the module.
    worldofpeace committed Dec 13, 2019
    Copy the full SHA
    f5081ec View commit details

Commits on Dec 21, 2019

  1. Copy the full SHA
    9be700b View commit details
  2. miniserve: 0.2.1 -> 0.5.0

    zowoq committed Dec 21, 2019
    Copy the full SHA
    6aaf5f4 View commit details
  3. vk-messenger: use wrapGAppsHook

    gnidorah committed Dec 21, 2019
    Copy the full SHA
    24ac2e2 View commit details
  4. Merge pull request #76121 from zowoq/miniserve

    miniserve: 0.2.1 -> 0.5.0
    NeQuissimus authored Dec 21, 2019
    Copy the full SHA
    2095b4d View commit details
  5. Merge pull request #76122 from marsam/update-bazelisk

    bazelisk: 1.1.0 -> 1.2.1
    marsam authored Dec 21, 2019
    Copy the full SHA
    78857e1 View commit details
  6. Merge pull request #75036 from sikmir/oom

    openorienteering-mapper: 0.9.0 -> 0.9.1
    c0bw3b authored Dec 21, 2019
    Copy the full SHA
    013e439 View commit details
  7. doc/texlive: Add "Custom packages" section (#74519)

    Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
    immae and veprbl committed Dec 21, 2019
    Copy the full SHA
    b42bede View commit details
  8. Merge pull request #75583 from worldofpeace/nm-applet-default-gnome

    networkmanagerapplet: default to withGnome
    worldofpeace authored Dec 21, 2019
    Copy the full SHA
    e203d58 View commit details
  9. Merge pull request #76129 from gnidorah/vk

    vk-messenger: use wrapGAppsHook
    worldofpeace authored Dec 21, 2019
    Copy the full SHA
    9e1e7e3 View commit details
  10. rdf4store: throw removal messages

    Addition to #74214
    I forgot to add aliases for package and modules after removal
    c0bw3b committed Dec 21, 2019
    Copy the full SHA
    b1b55ba View commit details
91 changes: 91 additions & 0 deletions doc/languages-frameworks/texlive.xml
Original file line number Diff line number Diff line change
@@ -59,6 +59,97 @@ nix-repl> texlive.collection-<TAB>
</itemizedlist>
</section>

<section xml:id="sec-language-texlive-custom-packages">
<title>Custom packages</title>
<para>
You may find that you need to use an external TeX package. A derivation for such package has to provide contents of the "texmf" directory in its output and provide the <varname>tlType</varname> attribute. Here is a (very verbose) example:
<programlisting><![CDATA[
with import <nixpkgs> {};
let
foiltex_run = stdenvNoCC.mkDerivation {
pname = "latex-foiltex";
version = "2.1.4b";
passthru.tlType = "run";
srcs = [
(fetchurl {
url = "http://mirrors.ctan.org/macros/latex/contrib/foiltex/foiltex.dtx";
sha256 = "07frz0krpz7kkcwlayrwrj2a2pixmv0icbngyw92srp9fp23cqpz";
})
(fetchurl {
url = "http://mirrors.ctan.org/macros/latex/contrib/foiltex/foiltex.ins";
sha256 = "09wkyidxk3n3zvqxfs61wlypmbhi1pxmjdi1kns9n2ky8ykbff99";
})
];
unpackPhase = ''
runHook preUnpack
for _src in $srcs; do
cp "$_src" $(stripHash "$_src")
done
runHook postUnpack
'';
nativeBuildInputs = [ texlive.combined.scheme-small ];
dontConfigure = true;
buildPhase = ''
runHook preBuild
# Generate the style files
latex foiltex.ins
runHook postBuild
'';
installPhase = ''
runHook preInstall
path="$out/tex/latex/foiltex"
mkdir -p "$path"
cp *.{cls,def,clo} "$path/"
runHook postInstall
'';
meta = with lib; {
description = "A LaTeX2e class for overhead transparencies";
license = licenses.unfreeRedistributable;
maintainers = with maintainers; [ veprbl ];
platforms = platforms.all;
};
};
foiltex = { pkgs = [ foiltex_run ]; };
latex_with_foiltex = texlive.combine {
inherit (texlive) scheme-small;
inherit foiltex;
};
in
runCommand "test.pdf" {
nativeBuildInputs = [ latex_with_foiltex ];
} ''
cat >test.tex <<EOF
\documentclass{foils}
\title{Presentation title}
\date{}
\begin{document}
\maketitle
\end{document}
EOF
pdflatex test.tex
cp test.pdf $out
''
]]></programlisting>
</para>
</section>

<section xml:id="sec-language-texlive-known-problems">
<title>Known problems</title>

2 changes: 2 additions & 0 deletions nixos/modules/programs/nm-applet.nix
Original file line number Diff line number Diff line change
@@ -10,5 +10,7 @@
partOf = [ "graphical-session.target" ];
serviceConfig.ExecStart = "${pkgs.networkmanagerapplet}/bin/nm-applet";
};

services.dbus.packages = [ pkgs.gcr ];
};
}
2 changes: 2 additions & 0 deletions nixos/modules/rename.nix
Original file line number Diff line number Diff line change
@@ -25,6 +25,8 @@ with lib;
(mkRemovedOptionModule [ "services.beegfsEnable" ] "The BeeGFS module has been removed")
(mkRemovedOptionModule [ "services.beegfs" ] "The BeeGFS module has been removed")
(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")

# Do NOT add any option renames here, see top of the file
];
4 changes: 2 additions & 2 deletions pkgs/applications/gis/openorienteering-mapper/default.nix
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

stdenv.mkDerivation rec {
pname = "OpenOrienteering-Mapper";
version = "0.9.0";
version = "0.9.1";

buildInputs = [ gdal qtbase qttools qtlocation qtimageformats
qtsensors clipper zlib proj doxygen cups];
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
owner = "OpenOrienteering";
repo = "mapper";
rev = "v${version}";
sha256 = "0wnxj2xf529941dwss6ygb1krfx18lzl6rf67060b0zndc7n6l8f";
sha256 = "1fyhvf2y89hj7wj89kxccx3dqcja6ndy3w4rx1vmzrp246jpz7wb";
};

cmakeFlags =
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv, fetchurl, rpmextract, autoPatchelfHook
, xorg, gtk3, gnome2, nss, alsaLib, udev, libnotify }:
, xorg, gtk3, gnome2, nss, alsaLib, udev, libnotify
, wrapGAppsHook }:

let
version = "4.5.2";
@@ -17,7 +18,7 @@ in stdenv.mkDerivation {
};
}.${stdenv.system} or (throw "Unsupported system: ${stdenv.system}");

nativeBuildInputs = [ rpmextract autoPatchelfHook ];
nativeBuildInputs = [ rpmextract autoPatchelfHook wrapGAppsHook ];
buildInputs = (with xorg; [
libXdamage libXtst libXScrnSaver libxkbfile
]) ++ [
6 changes: 2 additions & 4 deletions pkgs/desktops/gnome-3/default.nix
Original file line number Diff line number Diff line change
@@ -138,10 +138,6 @@ lib.makeScope pkgs.newScope (self: with self; {
withGnome = true;
};

networkmanagerapplet = pkgs.networkmanagerapplet.override {
withGnome = true;
};

rygel = callPackage ./core/rygel { };

simple-scan = callPackage ./core/simple-scan { };
@@ -360,4 +356,6 @@ lib.makeScope pkgs.newScope (self: with self; {
inherit (pkgs) yelp-tools; # added 2019-11-20

inherit (pkgs) dconf; # added 2019-11-30

inherit (pkgs) networkmanagerapplet; # added 2019-12-12
})
8 changes: 2 additions & 6 deletions pkgs/desktops/pantheon/default.nix
Original file line number Diff line number Diff line change
@@ -155,9 +155,7 @@ lib.makeScope pkgs.newScope (self: with self; {

wingpanel-indicator-keyboard = callPackage ./desktop/wingpanel-indicators/keyboard { };

wingpanel-indicator-network = callPackage ./desktop/wingpanel-indicators/network {
inherit (gnome3) networkmanagerapplet;
};
wingpanel-indicator-network = callPackage ./desktop/wingpanel-indicators/network { };

wingpanel-indicator-nightlight = callPackage ./desktop/wingpanel-indicators/nightlight { };

@@ -193,9 +191,7 @@ lib.makeScope pkgs.newScope (self: with self; {

switchboard-plug-mouse-touchpad = callPackage ./apps/switchboard-plugs/mouse-touchpad { };

switchboard-plug-network = callPackage ./apps/switchboard-plugs/network {
inherit (gnome3) networkmanagerapplet;
};
switchboard-plug-network = callPackage ./apps/switchboard-plugs/network { };

switchboard-plug-notifications = callPackage ./apps/switchboard-plugs/notifications { };

4 changes: 2 additions & 2 deletions pkgs/development/tools/bazelisk/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildGoModule rec {
pname = "bazelisk";
version = "1.1.0";
version = "1.2.1";

src = fetchFromGitHub {
owner = "bazelbuild";
repo = pname;
rev = "v${version}";
sha256 = "1pv113sk7hfxp4m2rcriqqp6mbbzcfdr0yrx4g1yiam93rx34yb7";
sha256 = "1rjv21jwq2lkyq60qqg6bd8226dz90hanl3zd9fjlms3vm0zarf8";
};

modSha256 = "0gs8y618izqi0gfa46jqh79yj8lzsmc6yj95fakhp2f5i8v1xrmx";
11 changes: 7 additions & 4 deletions pkgs/tools/misc/miniserve/default.nix
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib }:
{ stdenv, rustPlatform, fetchFromGitHub, cmake, pkgconfig, zlib, openssl }:

rustPlatform.buildRustPackage rec {
pname = "miniserve";
version = "0.2.1";
version = "0.5.0";

src = fetchFromGitHub {
owner = "svenstaro";
repo = "miniserve";
rev = "v${version}";
sha256 = "1g8ggqs4fyscb1r98qj22f61jgkqnr4vdyps0drrvydl9lafdmpl";
sha256 = "06cxkkf3sf84prba65dymr1hg7mwizmsax0dlljh0lcmvlcpzi08";
};

cargoSha256 = "055mbrzg7v8a65awn1051b4b9ngxq25wy31gjq8kc93qsb7k0f2k";
cargoSha256 = "046xxxqcf1sdsi9dlilsn0nk36gyca20ck1a70ihj1k9kl7yj8sn";

RUSTC_BOOTSTRAP = 1;

nativeBuildInputs = [ cmake pkgconfig zlib ];
buildInputs = [ openssl ];

meta = with stdenv.lib; {
description = "For when you really just want to serve some files over HTTP right now!";
2 changes: 1 addition & 1 deletion pkgs/tools/networking/network-manager/applet.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, libnotify, libsecret, polkit, isocodes, modemmanager, libxml2, docbook_xsl, docbook_xml_dtd_43
, mobile-broadband-provider-info, glib-networking, gsettings-desktop-schemas
, libgudev, jansson, wrapGAppsHook, gobject-introspection, python3, gtk3
, libappindicator-gtk3, withGnome ? false, gcr, glib }:
, libappindicator-gtk3, withGnome ? true, gcr, glib }:

let
pname = "network-manager-applet";
4 changes: 2 additions & 2 deletions pkgs/tools/networking/network-manager/fortisslvpn/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, openfortivpn, intltool, pkgconfig, file, gtk3,
networkmanager, ppp, libsecret, withGnome ? true, gnome3, fetchpatch }:
networkmanager, ppp, libsecret, withGnome ? true, gnome3, fetchpatch, networkmanagerapplet }:

let
pname = "NetworkManager-fortisslvpn";
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
];

buildInputs = [ openfortivpn networkmanager ppp ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret gnome3.networkmanagerapplet ];
++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ];

nativeBuildInputs = [ intltool pkgconfig file ];

4 changes: 2 additions & 2 deletions pkgs/tools/networking/network-manager/iodine/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, iodine, intltool, pkgconfig, networkmanager, libsecret, gtk3
, withGnome ? true, gnome3, fetchpatch }:
, withGnome ? true, gnome3, fetchpatch, networkmanagerapplet }:

let
pname = "NetworkManager-iodine";
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
];

buildInputs = [ iodine networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret gnome3.networkmanagerapplet ];
++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ];

nativeBuildInputs = [ intltool pkgconfig ];

4 changes: 2 additions & 2 deletions pkgs/tools/networking/network-manager/openvpn/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, openvpn, intltool, libxml2, pkgconfig, file, networkmanager, libsecret
, gtk3, withGnome ? true, gnome3, kmod, fetchpatch }:
, gtk3, withGnome ? true, gnome3, kmod, fetchpatch, networkmanagerapplet }:

let
pname = "NetworkManager-openvpn";
@@ -25,7 +25,7 @@ in stdenv.mkDerivation {
];

buildInputs = [ openvpn networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret gnome3.networkmanagerapplet ];
++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ];

nativeBuildInputs = [ intltool pkgconfig file libxml2 ];

4 changes: 2 additions & 2 deletions pkgs/tools/networking/network-manager/strongswan.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, intltool, pkgconfig, networkmanager, strongswanNM
, gtk3, gnome3, libsecret }:
, gtk3, gnome3, libsecret, networkmanagerapplet }:

stdenv.mkDerivation rec {
pname = "NetworkManager-strongswan";
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
sha256 = "015xcj42pd84apa0j0n9r3fhldp42mj72dqvl2xf4r9gwg5nhfrl";
};

buildInputs = [ networkmanager strongswanNM libsecret gtk3 gnome3.networkmanagerapplet ];
buildInputs = [ networkmanager strongswanNM libsecret gtk3 networkmanagerapplet ];

nativeBuildInputs = [ intltool pkgconfig ];

4 changes: 2 additions & 2 deletions pkgs/tools/networking/network-manager/vpnc/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, substituteAll, vpnc, intltool, pkgconfig, networkmanager, libsecret
, gtk3, withGnome ? true, gnome3, kmod, file, fetchpatch }:
, gtk3, withGnome ? true, gnome3, kmod, file, fetchpatch, networkmanagerapplet }:
let
pname = "NetworkManager-vpnc";
version = "1.2.6";
@@ -24,7 +24,7 @@ in stdenv.mkDerivation {
];

buildInputs = [ vpnc networkmanager ]
++ stdenv.lib.optionals withGnome [ gtk3 libsecret gnome3.networkmanagerapplet ];
++ stdenv.lib.optionals withGnome [ gtk3 libsecret networkmanagerapplet ];

nativeBuildInputs = [ intltool pkgconfig file ];

1 change: 1 addition & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
@@ -344,6 +344,7 @@ mapAliases ({
quake3game = ioquake3; # added 2016-01-14
qwt6 = libsForQt5.qwt; # added 2015-12-19
qtpfsgui = throw "Is now luminanceHDR"; # added 2019-06-26
rdf4store = throw "rdf4store has been removed from nixpkgs."; # added 2019-12-21
rdiff_backup = rdiff-backup; # added 2014-11-23
rdmd = dtools; # added 2017-08-19
rhc = throw "deprecated in 2019-04-09: abandoned by upstream.";