timeshift: 24.06.6 -> 25.07.4 (#430367)

authored by Bobby Rong and committed by GitHub 3a6b8fd5 fe18ee81

+5 -5
+2
pkgs/applications/backup/timeshift/default.nix
··· 3 3 btrfs-progs, 4 4 coreutils, 5 5 cron, 6 + debianutils, 6 7 grubPackage, 7 8 mount, 8 9 psmisc, ··· 17 18 btrfs-progs 18 19 coreutils 19 20 cron 21 + debianutils 20 22 grubPackage 21 23 mount 22 24 psmisc
+3 -5
pkgs/applications/backup/timeshift/unwrapped.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "timeshift"; 21 - version = "24.06.6"; 21 + version = "25.07.4"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "linuxmint"; 25 25 repo = "timeshift"; 26 26 rev = version; 27 - hash = "sha256-umMekxP9bvV01KzfIh2Zxa9Xb+tR5x+tG9dOnBIOkjY="; 27 + hash = "sha256-yrLpEhSt7QB0qWCXjIjTVeXKRpgue2pVdV+6hSixeuA="; 28 28 }; 29 29 30 30 postPatch = '' ··· 37 37 --replace-fail "/usr/share" "$out/share" 38 38 39 39 # Substitute app_command to look for the `timeshift-gtk` in $out. 40 - # Substitute the `pkexec ...` as a hack to run a GUI application like Timeshift as root without setting up the corresponding pkexec policy. 41 40 substituteInPlace ./src/timeshift-launcher \ 42 - --replace-fail "app_command='timeshift-gtk'" "app_command=$out/bin/timeshift-gtk" \ 43 - --replace-fail ${lib.escapeShellArg ''pkexec ''${app_command}''} ${lib.escapeShellArg ''pkexec env DISPLAY="$DISPLAY" XAUTHORITY="$XAUTHORITY" "''${app_command}"''} 41 + --replace-fail "app_command='timeshift-gtk'" "app_command=$out/bin/timeshift-gtk" 44 42 ''; 45 43 46 44 nativeBuildInputs = [