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: 1ee3ad6732dd
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: 61deecdc34fc
Choose a head ref

Commits on Aug 5, 2018

  1. nixos/activation: Identifies the snippet that failed

    This allows a developer to better identify in which snippet the
    failure happened. Furthermore, users seeking help will have more
    information available about the failure.
    samueldr committed Aug 5, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    RobinMalfait Robin Malfait
    Copy the full SHA
    6a25a35 View commit details

Commits on Aug 16, 2018

  1. sc-controller: 0.4.3 -> 0.4.4

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/sc-controller/versions.
    R. RyanTM committed Aug 16, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    RobinMalfait Robin Malfait
    Copy the full SHA
    81b681c View commit details

Commits on Aug 21, 2018

  1. Copy the full SHA
    5914624 View commit details

Commits on Sep 1, 2018

  1. nixos/manual: nixos-help knows about colon-separated BROWSER

    This is the semantics as understood by `xdg-open`. Using these semantics
    on a non-colon-separated variable works because it acts as if it was a
    one element long list.
    
    This fixes an issue where it would try to exec
    `google-chrome-beta:google-chrome:chromium:firefox` on a system
    configured with these semantics in mind.
    samueldr committed Sep 1, 2018
    Copy the full SHA
    4ff5f30 View commit details
  2. dhcpcd: 6.11.5 -> 7.0.8

    xeji committed Sep 1, 2018
    Copy the full SHA
    8938eed View commit details

Commits on Sep 2, 2018

  1. nixos/tests/networking.*.macvlan: disable reverse path check

    Generated reverse path filtering rules for the macvlan interface
    seem to be incorrect, causing the test to fail - sometimes or always,
    depending on the dhcpcd version used.
    - Disable reverse path checking temporarily to avoid blocking the channel
    - Print more diagnostic information for debugging
    xeji committed Sep 2, 2018
    Copy the full SHA
    13c3986 View commit details
  2. Copy the full SHA
    85e46d1 View commit details
  3. gcolor3: 2.2 → 2.3

    jtojnar committed Sep 2, 2018
    Copy the full SHA
    87f3a2a View commit details
  4. Merge pull request #45949 from jtojnar/gcolor3

    gcolor3: 2.2 → 2.3
    jtojnar authored Sep 2, 2018
    Copy the full SHA
    e2a731f View commit details
  5. Copy the full SHA
    8670ee4 View commit details
  6. Copy the full SHA
    c48a234 View commit details
  7. dtkwidget: init at 2.0.9.3

    romildo committed Sep 2, 2018
    Copy the full SHA
    de7a1c8 View commit details
  8. Merge pull request #44526 from samueldr/feature/actiavation-failure-i…

    …dentification
    
    nixos/activation: Identifies the snippet that failed
    grahamc authored Sep 2, 2018
    Copy the full SHA
    f14b6cb View commit details
  9. Merge pull request #45911 from samueldr/fix/nixos-help-browser

    nixos/manual: nixos-help knows about colon-separated BROWSER
    grahamc authored Sep 2, 2018
    Copy the full SHA
    146f8ba View commit details
  10. Merge pull request #45939 from rnhmjoj/scc

    sc-controller: 0.4.3 -> 0.4.4
    xeji authored Sep 2, 2018
    Copy the full SHA
    87ba30b View commit details
  11. Merge pull request #45955 from romildo/upd.dtkwidget

     dtkwidget: init at 2.0.9.3
    xeji authored Sep 2, 2018
    Copy the full SHA
    f3794f3 View commit details
  12. gnu-pw-mgr: 2.3.3 -> 2.4.2 (#45951)

    qoelet authored and xeji committed Sep 2, 2018
    Copy the full SHA
    1c95066 View commit details
  13. kitty: Add terminfo attr (#45953)

    rvolosatovs authored and xeji committed Sep 2, 2018
    Copy the full SHA
    720c163 View commit details
  14. Copy the full SHA
    0dd7a0f View commit details
  15. Merge pull request #45912 from xeji/p/dhcpcd

    dhcpcd: 6.11.5 -> 7.0.8
    samueldr authored Sep 2, 2018
    Copy the full SHA
    a92cfb5 View commit details
  16. FreeOrion 0.4.7.1 -> 0.4.8 (#45943)

    tex authored and xeji committed Sep 2, 2018
    Copy the full SHA
    ae76e51 View commit details
  17. fbreader: 0.99.4 -> 0.99.6, switch to fetchFromGitHub, add more build…

    … options (#45840)
    
    This, apparently, is not an official release (it's tagged, but the tarball is not
    available on the official site), but this repo is the official repo mentioned on
    the official site.
    
    This fixes a bunch of very annoying bugs present in 0.99.4, e.g.
    
    ```
    $ FBReader filename
    ```
    
    does not crash anymore. Yay!
    oxij authored and xeji committed Sep 2, 2018
    Copy the full SHA
    a402c8f View commit details
  18. nixos docs: more IDs

    grahamc committed Sep 2, 2018
    Copy the full SHA
    ff23dd1 View commit details
  19. racket-minimal: fix hash (#45952)

    marsam authored and xeji committed Sep 2, 2018
    Copy the full SHA
    a3872f6 View commit details
  20. nixos docs: more IDs

    grahamc committed Sep 2, 2018
    Copy the full SHA
    61deecd View commit details
8 changes: 4 additions & 4 deletions nixos/doc/manual/configuration/x-windows.xml
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@
# systemctl start display-manager.service
</screen>
</para>
<simplesect>
<simplesect xml:id="sec-x11-graphics-cards-nvidia">
<title>NVIDIA Graphics Cards</title>
<para>
NVIDIA provides a proprietary driver for its graphics cards that has better
@@ -86,7 +86,7 @@
</programlisting>
</para>
</simplesect>
<simplesect>
<simplesect xml:id="sec-x11--graphics-cards-amd">
<title>AMD Graphics Cards</title>
<para>
AMD provides a proprietary driver for its graphics cards that has better 3D
@@ -106,7 +106,7 @@
</programlisting>
</para>
</simplesect>
<simplesect>
<simplesect xml:id="sec-x11-touchpads">
<title>Touchpads</title>
<para>
Support for Synaptics touchpads (found in many laptops such as the Dell
@@ -123,7 +123,7 @@
since NixOS 17.09.
</para>
</simplesect>
<simplesect>
<simplesect xml:id="sec-x11-gtk-and-qt-themes">
<title>GTK/Qt themes</title>
<para>
GTK themes can be installed either to user profile or system-wide (via
6 changes: 3 additions & 3 deletions nixos/doc/manual/configuration/xfce.xml
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@
(system wide), put them into your
<xref linkend="opt-environment.systemPackages"/>.
</para>
<simplesect>
<simplesect xml:id="sec-xfce-thunar-volumes">
<title>Thunar Volume Support</title>
<para>
To enable <emphasis>Thunar</emphasis> volume support, put
@@ -41,7 +41,7 @@
into your <emphasis>configuration.nix</emphasis>.
</para>
</simplesect>
<simplesect>
<simplesect xml:id="sec-xfce-polkit">
<title>Polkit Authentication Agent</title>
<para>
There is no authentication agent automatically installed alongside Xfce. To
@@ -50,7 +50,7 @@
and login did the trick.
</para>
</simplesect>
<simplesect>
<simplesect xml:id="sec-xfce-troubleshooting">
<title>Troubleshooting</title>
<para>
Even after enabling udisks2, volume management might not work. Thunar and/or
6 changes: 3 additions & 3 deletions nixos/doc/manual/development/option-def.xml
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ config = {
definitions in a <emphasis>property</emphasis> to achieve certain effects:
</para>

<simplesect>
<simplesect xml:id="sec-option-definitions-delaying-conditionals">
<title>Delaying Conditionals</title>
<para>
If a set of option definitions is conditional on the value of another
@@ -59,7 +59,7 @@ config = {
</para>
</simplesect>

<simplesect>
<simplesect xml:id="sec-option-definitions-setting-priorities">
<title>Setting Priorities</title>
<para>
A module can override the definitions of an option in other modules by
@@ -76,7 +76,7 @@ services.openssh.enable = mkOverride 10 false;
</para>
</simplesect>

<simplesect>
<simplesect xml:id="sec-option-definitions-merging">
<title>Merging Configurations</title>
<para>
In conjunction with <literal>mkIf</literal>, it is sometimes useful for a
1 change: 1 addition & 0 deletions nixos/modules/config/shells-environment.nix
Original file line number Diff line number Diff line change
@@ -34,6 +34,7 @@ in

environment.variables = mkOption {
default = {};
example = { EDITOR = "nvim"; VISUAL = "nvim"; };
description = ''
A set of environment variables used in the global environment.
These variables will be set on shell initialisation (e.g. in /etc/profile).
2 changes: 1 addition & 1 deletion nixos/modules/i18n/input-method/default.xml
Original file line number Diff line number Diff line change
@@ -69,7 +69,7 @@ ibus.engines = with pkgs.ibus-engines; [ table table-others ];
as shown above, and also (after running <literal>nixos-rebuild</literal>) the
input method must be added from IBus' preference dialog.</para>

<simplesect>
<simplesect xml:id="module-services-input-methods-troubleshooting">
<title>Troubleshooting</title>
<para>If IBus works in some applications but not others, a likely cause of
this is that IBus is depending on a different version of
8 changes: 4 additions & 4 deletions nixos/modules/services/editors/emacs.xml
Original file line number Diff line number Diff line change
@@ -274,7 +274,7 @@ $ ./result/bin/emacs -q
<para>
The list of available packages in the various ELPA
repositories can be seen with the following commands:
<example>
<example xml:id="module-services-emacs-querying-packages">
<title>Querying Emacs packages</title>
<programlisting><![CDATA[
nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.elpaPackages
@@ -291,7 +291,7 @@ nix-env -f "<nixpkgs>" -qaP -A emacsPackagesNg.orgPackages
(see <xref linkend="sec-declarative-package-mgmt" />). Simply
modify your file <filename>configuration.nix</filename> to
make it contain:
<example>
<example xml:id="module-services-emacs-configuration-nix">
<title>Custom Emacs in <filename>configuration.nix</filename></title>
<programlisting><![CDATA[
{
@@ -319,7 +319,7 @@ https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
Emacs only for yourself, you can do so by adding it to your
<filename>~/.config/nixpkgs/config.nix</filename>
(see <link xlink:href="http://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides">Nixpkgs manual</link>):
<example>
<example xml:id="module-services-emacs-config-nix">
<title>Custom Emacs in <filename>~/.config/nixpkgs/config.nix</filename></title>
<programlisting><![CDATA[
{
@@ -522,7 +522,7 @@ emacsclient --create-frame --tty # opens a new frame on the current terminal
The Emacs init file should be changed to load the extension
packages at startup:

<example>
<example xml:id="module-services-emacs-package-initialisation">
<title>Package initialization in <filename>.emacs</filename></title>
<programlisting><![CDATA[
(require 'package)
8 changes: 7 additions & 1 deletion nixos/modules/services/misc/nixos-manual.nix
Original file line number Diff line number Diff line change
@@ -44,7 +44,13 @@ let
helpScript = pkgs.writeScriptBin "nixos-help"
''
#! ${pkgs.runtimeShell} -e
browser="$BROWSER"
# Finds first executable browser in a colon-separated list.
# (see how xdg-open defines BROWSER)
browser="$(
IFS=: ; for b in $BROWSER; do
[ -n "$(type -P "$b" || true)" ] && echo "$b" && break
done
)"
if [ -z "$browser" ]; then
browser="$(type -P xdg-open || true)"
if [ -z "$browser" ]; then
7 changes: 6 additions & 1 deletion nixos/modules/system/activation/activation-script.nix
Original file line number Diff line number Diff line change
@@ -8,7 +8,12 @@ let
addAttributeName = mapAttrs (a: v: v // {
text = ''
#### Activation script snippet ${a}:
_localstatus=0
${v.text}
if (( _localstatus > 0 )); then
printf "Activation script snippet '%s' failed (%s)\n" "${a}" "$_localstatus"
fi
'';
});

@@ -71,7 +76,7 @@ in
done
_status=0
trap "_status=1" ERR
trap "_status=1 _localstatus=\$?" ERR
# Ensure a consistent umask.
umask 0022
15 changes: 14 additions & 1 deletion nixos/tests/networking.nix
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ let
let
vlanIfs = range 1 (length config.virtualisation.vlans);
in {
environment.systemPackages = [ pkgs.iptables ]; # to debug firewall rules
virtualisation.vlans = [ 1 2 3 ];
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = true;
networking = {
@@ -320,9 +321,14 @@ let
name = "MACVLAN";
nodes.router = router;
nodes.client = { pkgs, ... }: with pkgs.lib; {
environment.systemPackages = [ pkgs.iptables ]; # to debug firewall rules
virtualisation.vlans = [ 1 ];
networking = {
useNetworkd = networkd;
firewall.logReversePathDrops = true; # to debug firewall rules
# reverse path filtering rules for the macvlan interface seem
# to be incorrect, causing the test to fail. Disable temporarily.
firewall.checkReversePath = false;
firewall.allowPing = true;
useDHCP = true;
macvlans.macvlan.interface = "eth1";
@@ -341,9 +347,16 @@ let
$client->waitUntilSucceeds("ip addr show dev eth1 | grep -q '192.168.1'");
$client->waitUntilSucceeds("ip addr show dev macvlan | grep -q '192.168.1'");
# Print diagnosting information
# Print lots of diagnostic information
$router->log('**********************************************');
$router->succeed("ip addr >&2");
$router->succeed("ip route >&2");
$router->execute("iptables-save >&2");
$client->log('==============================================');
$client->succeed("ip addr >&2");
$client->succeed("ip route >&2");
$client->execute("iptables-save >&2");
$client->log('##############################################');
# Test macvlan creates routable ips
$client->waitUntilSucceeds("ping -c 1 192.168.1.1");
84 changes: 39 additions & 45 deletions pkgs/applications/editors/android-studio/common.nix
Original file line number Diff line number Diff line change
@@ -31,15 +31,15 @@
, stdenv
, unzip
, which
, writeTextFile
, runCommand
, xkeyboard_config
, zlib
, makeDesktopItem
}:

let
drvName = "android-studio-${channel}-${version}";
androidStudio = stdenv.mkDerivation rec {
androidStudio = stdenv.mkDerivation {
name = drvName;

src = fetchurl {
@@ -111,20 +111,18 @@ let
]}" \
--set QT_XKB_CONFIG_ROOT "${xkeyboard_config}/share/X11/xkb" \
--set FONTCONFIG_FILE ${fontsConf}
install -Dm644 bin/studio.png $out/share/pixmaps/${drvName}.png
ln -s ${desktopItem}/share/applications $out/share/applications
'';
};

desktopItem = makeDesktopItem rec {
name = drvName;
exec = pname;
icon = drvName;
desktopName = "Android Studio";
comment = "The official Android IDE";
categories = "Development;IDE;";
};

desktopItem = makeDesktopItem {
name = drvName;
exec = pname;
icon = drvName;
desktopName = "Android Studio (${channel} channel)";
comment = "The official Android IDE";
categories = "Development;IDE;";
startupNotify = "true";
extraEntries="StartupWMClass=jetbrains-studio";
};

# Android Studio downloads prebuilt binaries as part of the SDK. These tools
@@ -134,39 +132,35 @@ let
name = "${drvName}-fhs-env";
multiPkgs = pkgs: [ pkgs.ncurses5 ];
};

wrapper = writeTextFile {
name = "${drvName}-wrapper";
# TODO: Rename preview -> beta (and add -stable suffix?):
destination = "/bin/${pname}";
executable = true;
text = ''
in runCommand
"${drvName}-wrapper"
{
startScript = ''
#!${bash}/bin/bash
${fhsEnv}/bin/${drvName}-fhs-env ${androidStudio}/bin/studio.sh
'';
};
in stdenv.mkDerivation {
name = "${drvName}-with-desktop-item";

buildCommand = ''
preferLocalBuild = true;
allowSubstitutes = false;
meta = with stdenv.lib; {
description = "The Official IDE for Android (${channel} channel)";
longDescription = ''
Android Studio is the official IDE for Android app development, based on
IntelliJ IDEA.
'';
homepage = if channel == "stable"
then https://developer.android.com/studio/index.html
else https://developer.android.com/studio/preview/index.html;
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ primeos ];
};
}
''
mkdir -p $out/{bin,share/pixmaps}
ln -s ${wrapper}/bin/${pname} $out/bin/${pname}
ln -s ${androidStudio}/share/pixmaps/${drvName}.png $out/share/pixmaps/${drvName}.png
ln -s ${androidStudio}/share/applications $out/share/applications
'';
meta = with stdenv.lib; {
description = "The Official IDE for Android (${channel} channel)";
longDescription = ''
Android Studio is the official IDE for Android app development, based on
IntelliJ IDEA.
'';
homepage = if channel == "stable"
then https://developer.android.com/studio/index.html
else https://developer.android.com/studio/preview/index.html;
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ primeos ];
};
}
# TODO: Rename preview -> beta (and add -stable suffix?):
echo -n "$startScript" > $out/bin/${pname}
chmod +x $out/bin/${pname}
ln -s ${androidStudio}/bin/studio.png $out/share/pixmaps/${drvName}.png
ln -s ${desktopItem}/share/applications $out/share/applications
''
36 changes: 24 additions & 12 deletions pkgs/applications/graphics/gcolor3/default.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,43 @@
{ stdenv, fetchFromGitHub, gnome3, libtool, intltool, pkgconfig, gtk3, hicolor-icon-theme, wrapGAppsHook } :
{ stdenv, fetchFromGitHub, fetchpatch, gnome3, meson, ninja, gettext, pkgconfig, libxml2, gtk3, hicolor-icon-theme, wrapGAppsHook }:

let
version = "2.2";
version = "2.3";
in stdenv.mkDerivation {
name = "gcolor3-${version}";

src = fetchFromGitHub {
owner = "hjdskes";
repo = "gcolor3";
rev = "v${version}";
sha256 = "1rbahsi33pfggpj5cigy6wy5333g3rpm8v2q0b35c6m7pwhmf2gr";
sha256 = "186j72kwsqdcakvdik9jl18gz3csdj53j3ylwagr9gfwmy0nmyjb";
};

nativeBuildInputs = [ gnome3.gnome-common libtool intltool pkgconfig hicolor-icon-theme wrapGAppsHook ];
patches = [
# Fix darwin build
(fetchpatch {
url = https://github.com/Hjdskes/gcolor3/commit/9130ffeff091fbafff6a0c8f06b09f54657d5dfd.patch;
sha256 = "1kn5hx536wivafb4awg7lsa8h32njy0lynmn7ci9y78dlp54057r";
})
(fetchpatch {
url = https://github.com/Hjdskes/gcolor3/commit/8d89081a8e13749f5a9051821114bc5fe814eaf3.patch;
sha256 = "1ldyr84dl2g6anqkp2mpxsrcr41fcqwi6ck14rfhai7rgrm8yar3";
})
];

buildInputs = [ gtk3 ];
nativeBuildInputs = [ meson ninja gettext pkgconfig libxml2 wrapGAppsHook ];

configureScript = "./autogen.sh";
buildInputs = [ gtk3 hicolor-icon-theme ];

# clang-4.0: error: argument unused during compilation: '-pthread'
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isClang "-Wno-error=unused-command-line-argument";
postPatch = ''
chmod +x meson_install.sh # patchShebangs requires executable file
patchShebangs meson_install.sh
'';

meta = {
meta = with stdenv.lib; {
description = "A simple color chooser written in GTK3";
homepage = https://hjdskes.github.io/projects/gcolor3/;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ jtojnar ];
platforms = stdenv.lib.platforms.unix;
license = licenses.gpl2;
maintainers = with maintainers; [ jtojnar ];
platforms = platforms.unix;
};
}
Loading