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: 489a14add9a8
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: c0a0b2d917c8
Choose a head ref
  • 3 commits
  • 6 files changed
  • 3 contributors

Commits on Apr 2, 2018

  1. tdesktop: use wrapGAppsHook

    pbogdan committed Apr 2, 2018
    Copy the full SHA
    8fd0d2e View commit details

Commits on Apr 5, 2018

  1. Allow some packages to build on darwin as well

    (cherry picked from commit 80e730c)
    jwiegley authored and LnL7 committed Apr 5, 2018
    Copy the full SHA
    6c8abec View commit details
  2. Merge pull request #38359 from pbogdan/telegram-gapps-hook

    [18.03] tdesktop: use wrapGAppsHook
    Mic92 authored Apr 5, 2018
    Copy the full SHA
    c0a0b2d View commit details
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ mkDerivation, lib, fetchgit, fetchpatch
, pkgconfig, gyp, cmake, makeWrapper
, pkgconfig, gyp, cmake, wrapGAppsHook
, qtbase, qtimageformats, gtk3, libappindicator-gtk3, libnotify
, dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
}:
@@ -36,7 +36,7 @@ mkDerivation rec {
substituteInPlace Telegram/SourceFiles/platform/linux/linux_libnotify.cpp --replace '"notify"' '"${libnotify}/lib/libnotify.so"'
'';

nativeBuildInputs = [ pkgconfig gyp cmake makeWrapper ];
nativeBuildInputs = [ pkgconfig gyp cmake wrapGAppsHook ];

buildInputs = [
qtbase qtimageformats gtk3 libappindicator-gtk3
@@ -112,11 +112,16 @@ mkDerivation rec {
for icon_size in 16 32 48 64 128 256 512; do
install -Dm644 "../../../Telegram/Resources/art/icon''${icon_size}.png" "$out/share/icons/hicolor/''${icon_size}x''${icon_size}/apps/telegram-desktop.png"
done
'';

# This is necessary to run Telegram in a pure environment.
wrapProgram $out/bin/telegram-desktop \
--prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}" \
preFixup = ''
gappsWrapperArgs+=(
--prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
--set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR"
)
'';

postFixup = ''
sed -i $out/bin/telegram-desktop \
-e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\","
'';
2 changes: 1 addition & 1 deletion pkgs/development/libraries/rabbitmq-c/default.nix
Original file line number Diff line number Diff line change
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
description = "RabbitMQ C AMQP client library";
homepage = https://github.com/alanxz/rabbitmq-c;
license = licenses.mit;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/mail/dovecot/plugins/pigeonhole/default.nix
Original file line number Diff line number Diff line change
@@ -33,6 +33,6 @@ stdenv.mkDerivation rec {
description = "A sieve plugin for the Dovecot IMAP server";
license = licenses.lgpl21;
maintainers = [ maintainers.rickynils ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/tools/misc/plantuml/default.nix
Original file line number Diff line number Diff line change
@@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
# "java -jar plantuml.jar -license" says GPLv3 or later
license = licenses.gpl3Plus;
maintainers = [ maintainers.bjornfor ];
platforms = platforms.linux;
platforms = platforms.unix;
};
}
2 changes: 1 addition & 1 deletion pkgs/tools/security/paperkey/default.nix
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.jabberwocky.com/software/paperkey/;
license = licenses.gpl2;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ skeidel ];
};
}
4 changes: 2 additions & 2 deletions pkgs/tools/security/srm/default.nix
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
homepage = http://srm.sourceforge.net;
license = licenses.mit;
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.linux;
platforms = platforms.unix;
};

}
}