From bdf65be4be1cd3031d9945de1c8b51940eb8ff9c Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 24 Mar 2024 14:38:01 +0800 Subject: [PATCH] pantheon: Skip nixpkgs-update for packages using un-tagged commits It looks like nix-update-script cannot handle this well, we can switch to other updaters but I am just too lazy to do that. --- pkgs/desktops/pantheon/apps/appcenter/default.nix | 1 + .../pantheon/desktop/elementary-session-settings/default.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/pkgs/desktops/pantheon/apps/appcenter/default.nix b/pkgs/desktops/pantheon/apps/appcenter/default.nix index 7ee81df4b462..bf99163a5414 100644 --- a/pkgs/desktops/pantheon/apps/appcenter/default.nix +++ b/pkgs/desktops/pantheon/apps/appcenter/default.nix @@ -31,6 +31,7 @@ stdenv.mkDerivation rec { repo = pname; # Add support for AppStream 1.0. # https://github.com/elementary/appcenter/pull/2099 + # nixpkgs-update: no auto update rev = "fce55d9373bfb82953191b32e276a2129ffcb8c1"; hash = "sha256-7VYiE1RkaqN1Yg4pFUBs6k8QjoljYFDgQ9jCTLG3uyk="; }; diff --git a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix index d1d2b6533e93..dff4189a1a2d 100644 --- a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix +++ b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix @@ -96,6 +96,9 @@ stdenv.mkDerivation rec { src = fetchFromGitHub { owner = "elementary"; repo = "session-settings"; + # For systemd managed gnome-session support. + # https://github.com/NixOS/nixpkgs/issues/228946 + # nixpkgs-update: no auto update rev = "3476c89bbb66564a72c6495ac0c61f8f9ed7a3ec"; sha256 = "sha256-Z1qW6m0XDkB92ZZVKx98JOMXiBDbGpQ0cAXgWdqK27c="; };