Merge pull request #247093 from bobby285271/bpo/timeshift-23.05

[23.05] timeshift: Backport upstream shebang fix
This commit is contained in:
Bobby Rong
2023-08-05 21:54:36 +08:00
committed by GitHub

View File

@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, gettext
, pkg-config
, vala
@@ -26,6 +27,14 @@ stdenv.mkDerivation rec {
patches = [
./timeshift-launcher.patch
# Use /usr/bin/env bash for shebang
# On nixos-unstable this is fixed via 23.07.1 bump
# https://github.com/linuxmint/timeshift/pull/209
(fetchpatch {
url = "https://github.com/linuxmint/timeshift/commit/bb8b2a2020be8c9919310de22f547b46177ed327.patch";
hash = "sha256-DyGMxMiUfmm5FCEQD9L7LLj2LxxNVRt+aTNFl4jrH4Y=";
})
];
postPatch = ''