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: c9d124e39dbe
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: 6a00eba02a38
Choose a head ref

Commits on Jul 7, 2020

  1. setupcfg2nix: Bump to 2.0.1.

    Fixes #83814
    
    (cherry picked from commit 0a7c10f)
    shlevy committed Jul 7, 2020
    Copy the full SHA
    6f7e39c View commit details
  2. nixos/plasma5: Noto Mono -> Noto Sans Mono

    The font has been renamed.
    See notofonts/noto-fonts#1029
    
    (cherry picked from commit 82cf1d9)
    samuelgrf committed Jul 7, 2020
    Copy the full SHA
    a47a25d View commit details
  3. (rustup): (add zlib to rpath in rustup libraries)

    (Rust now has a dynamic library dependence on zlib. (see rust-lang/rust#72696))
    witchof0x20 authored and matklad committed Jul 7, 2020
    Copy the full SHA
    7fb99d6 View commit details
  4. typora: 0.9.73 -> 0.9.89

    (cherry picked from commit c886cb0)
    oxalica committed Jul 7, 2020
    Copy the full SHA
    39f0831 View commit details
  5. Copy the full SHA
    e0e2e4f View commit details
  6. Copy the full SHA
    6be3886 View commit details
  7. Merge pull request #92610 from samuelgrf/fix-backport/plasma5-noto-re…

    …name
    
    [20.03] nixos/plasma5: Noto Mono -> Noto Sans Mono
    worldofpeace authored Jul 7, 2020
    Copy the full SHA
    7ce93dd View commit details
  8. Merge pull request #92614 from oxalica/backport-20.03/typora

    [20.03] typora: 0.9.73 -> 0.9.89
    worldofpeace authored Jul 7, 2020
    Copy the full SHA
    dce17f4 View commit details

Commits on Jul 8, 2020

  1. Copy the full SHA
    1f0e443 View commit details
  2. pantheon.elementary-session-settings: 5.0.3 -> 2019-11-12

    So we can drop the meson.patch intree.
    
    (cherry picked from commit 741313d)
    worldofpeace committed Jul 8, 2020
    Copy the full SHA
    c90edd3 View commit details
  3. pantheon.elementary-session-settings: add g-s-d version mappings

    Needed to have a correct pantheon.session gnome-session file.
    
    (cherry picked from commit 53bea37)
    worldofpeace committed Jul 8, 2020
    Copy the full SHA
    68264dc View commit details
  4. pantheon.wingpanel-indicator-datetime: 2.2.2 -> 2.2.4

    This release fixed the issue with the event dots, so we drop the patch from https://github.com/Dirli/wingpanel-indicator-datetime.
    This is difficult because not all issues are fixed.
    
    (cherry picked from commit 6bc80d5)
    worldofpeace committed Jul 8, 2020
    Copy the full SHA
    1919b1f View commit details
  5. pantheon.elementary-session-settings: 2019-11-12 -> 2020-06-11

    (cherry picked from commit 0a392fa)
    worldofpeace committed Jul 8, 2020
    Copy the full SHA
    d622da5 View commit details
  6. Copy the full SHA
    e2a3caa View commit details
  7. Copy the full SHA
    d7511a6 View commit details
  8. Copy the full SHA
    93a3d2f View commit details
  9. nixos/pantheon: update greeter whitelist to new wording

    This was a simple non fatal deprecation.
    
    elementary/wingpanel#326
    (cherry picked from commit eb3c53b)
    worldofpeace committed Jul 8, 2020
    Copy the full SHA
    3e46575 View commit details
  10. Copy the full SHA
    59d798e View commit details
  11. Copy the full SHA
    fdd8155 View commit details
  12. Copy the full SHA
    d5a4a82 View commit details
  13. pantheon.elementary-dock: 2020-02-28 -> 2020-06-11

    (cherry picked from commit 420918e)
    worldofpeace committed Jul 8, 2020
    Copy the full SHA
    579cdb8 View commit details
  14. Merge pull request #92684 from worldofpeace/pantheon-updates-20.03

    [20.03] Pantheon updates 2020-07-07
    worldofpeace authored Jul 8, 2020
    Copy the full SHA
    0cfa467 View commit details
  15. Merge pull request #92637 from petabyteboy/feature/gitlab-12-10-14

    [20.03] gitlab: 12.10.13 -> 12.10.14
    flokli authored Jul 8, 2020
    Copy the full SHA
    d57d32e View commit details
  16. tl-expected: init at 2019-11-11

    This version is 5 commits ahead of version 1.0.0 because we need at
    least one patch [0] that prevents CMake from trying to use Git to fetch
    the already fetched submodule...
    Also some files have the wrong formatting (CRLF line endings) which
    makes the patching really messy. At this point is seems therefore better
    to use the master version instead (1.0.0 is pretty broken regarding
    CMake).
    
    [0]: TartanLlama/expected@0ca73ee
    
    (cherry picked from commit 818628c)
    primeos authored and flokli committed Jul 8, 2020
    Copy the full SHA
    abd69cc View commit details
  17. tdesktop: 1.9.9 -> 1.9.12

    Note: I skipped the packaging of mapbox-variant for now.
    (cherry picked from commit d0729f8)
    primeos authored and flokli committed Jul 8, 2020
    Copy the full SHA
    6a32251 View commit details
  18. tdesktop: 1.9.12 -> 1.9.13

    (cherry picked from commit a59a557)
    primeos authored and flokli committed Jul 8, 2020
    Copy the full SHA
    46c4d88 View commit details
  19. tdesktop: 1.9.13 -> 1.9.14

    (cherry picked from commit 4af086a)
    primeos authored and flokli committed Jul 8, 2020
    Copy the full SHA
    1cad1b1 View commit details
  20. tdesktop: 1.9.14 -> 1.9.21 (#82806)

    (cherry picked from commit 2b25d0e)
    primeos authored and flokli committed Jul 8, 2020
    Copy the full SHA
    a666ff9 View commit details
  21. tdesktop: 1.9.21 -> 2.0.1 (#83790)

    * tdesktop: 1.9.21 -> 2.0.0
    * tdesktop: 2.0.0 -> 2.0.1
    
    (cherry picked from commit 606baf0)
    primeos authored and flokli committed Jul 8, 2020
    Copy the full SHA
    4b210eb View commit details
  22. tdesktop: 2.0.1 -> 2.1.0

    (cherry picked from commit 0339990)
    primeos authored and flokli committed Jul 8, 2020
    Copy the full SHA
    5d68f77 View commit details
  23. Merge pull request #92744 from flokli/20.03-tdesktop

    tdesktop: 1.9.9 -> 2.1.0
    grahamc authored Jul 8, 2020
    Copy the full SHA
    b1d8764 View commit details
  24. libvirtd: don't start libvirtd-tcp.socket by default

    Per upstream:
    
    > libvirtd-tcp.socket - the unit file corresponding to the TCP 16509
    > port for non-TLS remote access. This socket should not be configured
    > to start on boot until the administrator has configured a suitable
    > authentication mechanism.
    
    (cherry picked from commit 84ecbc9)
    grahamc committed Jul 8, 2020
    Copy the full SHA
    6a00eba View commit details
Showing with 121 additions and 5,098 deletions.
  1. +1 −1 nixos/modules/services/x11/desktop-managers/plasma5.nix
  2. +1 −1 nixos/modules/services/x11/display-managers/lightdm-greeters/pantheon.nix
  3. +2 −2 nixos/modules/virtualisation/libvirtd.nix
  4. +6 −5 pkgs/applications/editors/typora/default.nix
  5. +11 −13 pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
  6. +4 −4 pkgs/applications/version-management/gitlab/data.json
  7. +2 −2 pkgs/applications/version-management/gitlab/gitaly/default.nix
  8. +2 −2 pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
  9. +3 −3 pkgs/desktops/pantheon/apps/elementary-dock/default.nix
  10. +2 −2 pkgs/desktops/pantheon/apps/elementary-videos/default.nix
  11. +4 −2 pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix
  12. 0 ...top/elementary-default-settings/{io.elementary.greeter.whitelist → io.elementary.greeter.allowed}
  13. +22 −26 pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
  14. +0 −272 pkgs/desktops/pantheon/desktop/elementary-session-settings/meson.patch
  15. +0 −4,726 pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/207.patch
  16. +2 −11 pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
  17. +2 −2 pkgs/desktops/pantheon/desktop/wingpanel/default.nix
  18. +2 −2 pkgs/desktops/pantheon/granite/default.nix
  19. +2 −2 pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
  20. +24 −0 pkgs/development/libraries/tl-expected/default.nix
  21. +14 −13 pkgs/development/tools/rust/rustup/0001-dynamically-patchelf-binaries.patch
  22. +11 −4 pkgs/development/tools/rust/rustup/default.nix
  23. +1 −2 pkgs/development/tools/setupcfg2nix/default.nix
  24. +1 −1 pkgs/development/tools/setupcfg2nix/info.nix
  25. +2 −0 pkgs/top-level/all-packages.nix
2 changes: 1 addition & 1 deletion nixos/modules/services/x11/desktop-managers/plasma5.nix
Original file line number Diff line number Diff line change
@@ -302,7 +302,7 @@ in

fonts.fonts = with pkgs; [ noto-fonts hack-font ];
fonts.fontconfig.defaultFonts = {
monospace = [ "Hack" "Noto Mono" ];
monospace = [ "Hack" "Noto Sans Mono" ];
sansSerif = [ "Noto Sans" ];
serif = [ "Noto Serif" ];
};
Original file line number Diff line number Diff line change
@@ -39,7 +39,7 @@ in
services.xserver.displayManager.lightdm.extraSeatDefaults = "greeter-show-manual-login=true";

environment.etc."lightdm/io.elementary.greeter.conf".source = "${pkgs.pantheon.elementary-greeter}/etc/lightdm/io.elementary.greeter.conf";
environment.etc."wingpanel.d/io.elementary.greeter.whitelist".source = "${pkgs.pantheon.elementary-default-settings}/etc/wingpanel.d/io.elementary.greeter.whitelist";
environment.etc."wingpanel.d/io.elementary.greeter.allowed".source = "${pkgs.pantheon.elementary-default-settings}/etc/wingpanel.d/io.elementary.greeter.allowed";

};
}
4 changes: 2 additions & 2 deletions nixos/modules/virtualisation/libvirtd.nix
Original file line number Diff line number Diff line change
@@ -267,7 +267,7 @@ in {
restartIfChanged = false;
};

systemd.sockets.libvirtd .wantedBy = [ "sockets.target" ];
systemd.sockets.libvirtd-tcp.wantedBy = [ "sockets.target" ];
# https://libvirt.org/daemons.html#monolithic-systemd-integration
systemd.sockets.libvirtd.wantedBy = [ "sockets.target" ];
};
}
11 changes: 6 additions & 5 deletions pkgs/applications/editors/typora/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
, lib
, fetchurl
, makeWrapper
, electron_5
, electron_8
, dpkg
, gtk3
, glib
@@ -14,11 +14,11 @@

stdenv.mkDerivation rec {
pname = "typora";
version = "0.9.73";
version = "0.9.89";

src = fetchurl {
url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
sha256 = "1fgcb4bx5pw8ah5j30d38gw7qi1cmqarfhvgdns9f2n0d57bvvw3";
sha256 = "0gk8j13z1ymad34zzcy4vqwyjgd5khgyw5xjj9rbzm5v537kqmx6";
};

nativeBuildInputs = [
@@ -33,7 +33,8 @@ stdenv.mkDerivation rec {
gtk3
];

unpackPhase = "dpkg-deb -x $src .";
# The deb contains setuid permission on `chrome-sandbox`, which will actually not get installed.
unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";

dontWrapGApps = true;

@@ -51,7 +52,7 @@ stdenv.mkDerivation rec {
'';

postFixup = ''
makeWrapper ${electron_5}/bin/electron $out/bin/typora \
makeWrapper ${electron_8}/bin/electron $out/bin/typora \
--add-flags $out/share/typora \
"''${gappsWrapperArgs[@]}" \
${lib.optionalString withPandoc ''--prefix PATH : "${lib.makeBinPath [ pandoc ]}"''} \
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{ mkDerivation, lib, fetchurl, fetchsvn
, pkgconfig, cmake, ninja, python3, wrapGAppsHook, wrapQtAppsHook
, qtbase, qtimageformats, gtk3, libappindicator-gtk3, enchant2, lz4, xxHash
, qtbase, qtimageformats, gtk3, libsForQt5, enchant2, lz4, xxHash
, dee, ffmpeg_4, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
, tl-expected, microsoft_gsl, hunspell
# TODO: Shouldn't be required:
, pcre, xorg, utillinux, libselinux, libsepol, epoxy, at-spi2-core, libXtst
, xdg_utils
@@ -18,17 +19,15 @@ with lib;

mkDerivation rec {
pname = "telegram-desktop";
version = "1.9.9";
version = "2.1.0";

# Telegram-Desktop with submodules
src = fetchurl {
url = "https://github.com/telegramdesktop/tdesktop/releases/download/v${version}/tdesktop-${version}-full.tar.gz";
sha256 = "08bxlqiapj9yqj9ywni33n5k7n3ckgfhv200snjqyqy9waqph1i6";
sha256 = "0l5917w90z9pg1al1hzcycb4yxv03vc88jg958ifl9nlvz1arll6";
};

postPatch = ''
substituteInPlace Telegram/SourceFiles/platform/linux/linux_libs.cpp \
--replace '"appindicator3"' '"${libappindicator-gtk3}/lib/libappindicator3.so"'
substituteInPlace Telegram/lib_spellcheck/spellcheck/platform/linux/linux_enchant.cpp \
--replace '"libenchant-2.so.2"' '"${enchant2}/lib/libenchant-2.so.2"'
substituteInPlace Telegram/CMakeLists.txt \
@@ -42,8 +41,9 @@ mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ninja python3 wrapGAppsHook wrapQtAppsHook ];

buildInputs = [
qtbase qtimageformats gtk3 libappindicator-gtk3 enchant2 lz4 xxHash
qtbase qtimageformats gtk3 libsForQt5.libdbusmenu enchant2 lz4 xxHash
dee ffmpeg_4 openalSoft minizip libopus alsaLib libpulseaudio range-v3
tl-expected microsoft_gsl hunspell
# TODO: Shouldn't be required:
pcre xorg.libpthreadstubs xorg.libXdmcp utillinux libselinux libsepol epoxy at-spi2-core libXtst
];
@@ -55,12 +55,9 @@ mkDerivation rec {
# TODO: Officiall API credentials for Nixpkgs
# (see: https://github.com/NixOS/nixpkgs/issues/55271):
"-DTDESKTOP_API_TEST=ON"
"-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF"
"-DDESKTOP_APP_USE_PACKAGED=ON"
"-DDESKTOP_APP_USE_PACKAGED_RLOTTIE=OFF"
"-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON"
"-DDESKTOP_APP_USE_PACKAGED_VARIANT=OFF"
"-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME=ON"
"-DTDESKTOP_DISABLE_DESKTOP_FILE_GENERATION=ON"
"-DTDESKTOP_USE_PACKAGED_TGVOIP=OFF"
#"-DDESKTOP_APP_SPECIAL_TARGET=\"\"" # TODO: Error when set to "": Bad special target '""'
"-DTDESKTOP_LAUNCHER_BASENAME=telegramdesktop" # Note: This is the default
@@ -80,6 +77,7 @@ mkDerivation rec {
# - upstream: https://github.com/grishka/libtgvoip
# Both of these packages are included in this PR (kotatogram-desktop):
# https://github.com/NixOS/nixpkgs/pull/75210
# TODO: Package mapbox-variant

postFixup = ''
# This is necessary to run Telegram in a pure environment.
@@ -88,8 +86,7 @@ mkDerivation rec {
"''${gappsWrapperArgs[@]}" \
"''${qtWrapperArgs[@]}" \
--prefix PATH : ${xdg_utils}/bin \
--set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR" \
--unset QT_QPA_PLATFORMTHEME # From the Arch wrapper
--set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR"
sed -i $out/bin/telegram-desktop \
-e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\","
'';
@@ -102,7 +99,8 @@ mkDerivation rec {
'';
license = licenses.gpl3;
platforms = platforms.linux;
homepage = https://desktop.telegram.org/;
homepage = "https://desktop.telegram.org/";
changelog = "https://github.com/telegramdesktop/tdesktop/releases/tag/v{version}";
maintainers = with maintainers; [ primeos abbradar ];
};
}
8 changes: 4 additions & 4 deletions pkgs/applications/version-management/gitlab/data.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "12.10.13",
"repo_hash": "0smhx2v5l9ya4j3xq66w9m4jbd72k74f6j67k6nrw7862pl251gc",
"version": "12.10.14",
"repo_hash": "1h3h5irmanaxizw66dw87ahrnzpfs3g4s9gxlsypbkdnzbi1rfsm",
"owner": "gitlab-org",
"repo": "gitlab",
"rev": "v12.10.13-ee",
"rev": "v12.10.14-ee",
"passthru": {
"GITALY_SERVER_VERSION": "12.10.13",
"GITALY_SERVER_VERSION": "12.10.14",
"GITLAB_PAGES_VERSION": "1.17.0",
"GITLAB_SHELL_VERSION": "12.2.0",
"GITLAB_WORKHORSE_VERSION": "8.30.3"
Original file line number Diff line number Diff line change
@@ -19,14 +19,14 @@ let
};
};
in buildGoPackage rec {
version = "12.10.13";
version = "12.10.14";
pname = "gitaly";

src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
sha256 = "0x6zlj468l5fmq1r7hb2sr2z9dy8pr0apnpmbf28ivap942a10dx";
sha256 = "0v2ikj4vvlgj2cpp4m5di9kw63nsc3p9hgjfacvzr7nj3ar2pwqa";
};

# Fix a check which assumes that hook files are writeable by their
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
Original file line number Diff line number Diff line change
@@ -25,15 +25,15 @@

stdenv.mkDerivation rec {
pname = "elementary-calendar";
version = "5.0.5";
version = "5.0.6";

repoName = "calendar";

src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1dn2h7riajrn619z69626qnr8w6lp62dnm3d4pjkr0g5l4dp1cdb";
sha256 = "0lmadk4yzf1kiiqshwqcxzcyia1haq1avv6pyzvsaywxhqwdsini";
};

passthru = {
6 changes: 3 additions & 3 deletions pkgs/desktops/pantheon/apps/elementary-dock/default.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@

stdenv.mkDerivation rec {
pname = "elementary-dock";
version = "unstable-2020-02-28";
version = "unstable-2020-06-11";

outputs = [ "out" "dev" ];

@@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = "ac87d9063dc9c81d90f42f3002ad9c5b49460a82";
sha256 = "0lhjzd370fza488dav8n155ss486wqv6y7ldkahwg0c3zvlsvha7";
rev = "0a389ee58939d8c91c340df4e5340fc4b23d0b80";
sha256 = "01vinik73s0vmk56samgf49zr2bl4wjv44x15sz2cmh744llckja";
};

nativeBuildInputs = [
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/apps/elementary-videos/default.nix
Original file line number Diff line number Diff line change
@@ -19,15 +19,15 @@

stdenv.mkDerivation rec {
pname = "elementary-videos";
version = "2.7.1";
version = "2.7.2";

repoName = "videos";

src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "00arim4i9bv9mbms1irkp44grkgrfnmqzraswyn1xiz9nvl1bsb9";
sha256 = "07dwhshdc78wia0fsbzz6iv651znzzasfil91w60v29kgc4s2b1i";
};

passthru = {
Original file line number Diff line number Diff line change
@@ -70,8 +70,10 @@ stdenv.mkDerivation rec {
cp -avr ${./launchers} $out/etc/skel/.config/plank/dock1/launchers
# Whitelist wingpanel indicators to be used in the greeter
# TODO: is this needed or installed upstream?
install -D ${./io.elementary.greeter.whitelist} $out/etc/wingpanel.d/io.elementary.greeter.whitelist
# hhttps://github.com/elementary/greeter/blob/fc19752f147c62767cd2097c0c0c0fcce41e5873/debian/io.elementary.greeter.whitelist
# wingpanel 2.3.2 renamed this to .allowed to .forbidden
# https://github.com/elementary/wingpanel/pull/326
install -D ${./io.elementary.greeter.allowed} $out/etc/wingpanel.d/io.elementary.greeter.allowed
'';

postFixup = ''
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{ stdenv
, fetchFromGitHub
, substituteAll
, desktop-file-utils
, pkg-config
, writeScript
, pantheon
, gnome-keyring
@@ -15,7 +17,6 @@
, writeText
, meson
, ninja
, git
}:

let
@@ -68,43 +69,43 @@ let
in

stdenv.mkDerivation rec {
pname = "elementary-session-settings";
version = "5.0.3";
pname = "elementary-session-settings-unstable";
version = "2020-06-11";

repoName = "session-settings";

src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "1vrjm7bklkfv0dyafm312v4hxzy6lb7p1ny4ijkn48kr719gc71k";
rev = "130c9ae221913032ed18bcf6d21e3dcdba3c4209";
sha256 = "0bzg9vbq0ssnxgcb2vxpx6x9zv8ngkm9r3ki5q83m9al9919n0pr";
};

postPatch = ''
${git}/bin/git apply --verbose ${./meson.patch}
'';

nativeBuildInputs = [
desktop-file-utils
meson
ninja
pkg-config
];

buildInputs = [
pantheon.elementary-settings-daemon
gnome-keyring
onboard
orca
];

mesonFlags = [
"-Ddefaults-list=false"
"-Dpatched-gsd-autostarts=false"
"-Dpatched-ubuntu-autostarts=false"
"-Dmimeapps-list=false"
"-Dfallback-session=GNOME"
"-Ddetect-program-prefixes=true"
"--sysconfdir=${placeholder "out"}/etc"
];

postInstall = ''
mkdir -p $out/share/applications
cp -av ${./pantheon-mimeapps.list} $out/share/applications/pantheon-mimeapps.list
mkdir -p $out/etc/xdg/autostart
for package in ${gnome-keyring} ${orca} ${onboard} ${at-spi2-core}; do
cp -av $package/etc/xdg/autostart/* $out/etc/xdg/autostart
done
cp "${dockitemAutostart}" $out/etc/xdg/autostart/default-elementary-dockitems.desktop
mkdir -p $out/libexec
@@ -116,21 +117,16 @@ stdenv.mkDerivation rec {
substituteInPlace $out/share/xsessions/pantheon.desktop \
--replace "gnome-session --session=pantheon" "$out/libexec/pantheon" \
--replace "wingpanel" "${wingpanel}/bin/wingpanel"
for f in $out/etc/xdg/autostart/*; do mv "$f" "''${f%.desktop}-pantheon.desktop"; done
for autostart in $(grep -rl "OnlyShowIn=GNOME;" $out/etc/xdg/autostart)
do
echo "Patching OnlyShowIn to Pantheon in: $autostart"
sed -i "s,OnlyShowIn=GNOME;,OnlyShowIn=Pantheon;," $autostart
done
'';

passthru = {
updateScript = pantheon.updateScript {
attrPath = "pantheon.${pname}";
};
providedSessions = [ "pantheon" ];

providedSessions = [
"pantheon"
];
};

meta = with stdenv.lib; {
Loading