Skip to content

Commit 88396a0

Browse files
sunpaper: 2.0 -> 2.1
Co-authored-by: eclairevoyant <[email protected]>
1 parent 410777e commit 88396a0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

pkgs/by-name/su/sunpaper/package.nix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77

88
stdenvNoCC.mkDerivation (finalAttrs: {
99
pname = "sunpaper";
10-
version = "2.0";
10+
version = "2.1";
1111

1212
src = fetchFromGitHub {
1313
owner = "hexive";
1414
repo = "sunpaper";
1515
rev = "v${finalAttrs.version}";
16-
hash = "sha256-8s7SS79wCS0nRR7IpkshP5QWJqqKEeBu6EtFPDM+2cM=";
16+
hash = "sha256-koCK0ntzRf8OXoUj5DJdPWsFDD8EAMjnGdM1B5oeBBc=";
1717
};
1818

1919
buildInputs = [
@@ -23,9 +23,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
2323

2424
postPatch = ''
2525
substituteInPlace sunpaper.sh \
26-
--replace "sunwait" "${lib.getExe sunwait}" \
27-
--replace "setwallpaper" "${lib.getExe' wallutils "setwallpaper"}" \
28-
--replace '$HOME/sunpaper/images/' "$out/share/sunpaper/images/"
26+
--replace-fail "sunwait" "${lib.getExe sunwait}" \
27+
--replace-fail "setwallpaper" "${lib.getExe' wallutils "setwallpaper"}" \
28+
--replace-fail '$HOME/sunpaper/images/' "$out/share/sunpaper/images/" \
29+
--replace-fail '/usr/share' '/etc'
2930
'';
3031

3132
installPhase = ''

0 commit comments

Comments
 (0)