deepin.dde-session: 1.1.9 -> 1.2.5

authored by rewine and committed by rewine 2ae11830 d429f319

+5 -2
+5 -2
pkgs/desktops/deepin/core/dde-session/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "dde-session"; 18 - version = "1.1.9"; 18 + version = "1.2.5"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "linuxdeepin"; 22 22 repo = pname; 23 23 rev = version; 24 - hash = "sha256-CyHvvNALXe4fOMjD48By/iaU6/xNUhH9yG19Ob3bHy0="; 24 + hash = "sha256-YYGRjVbVFyzmRhYu6sDtxzghocgM7Myr3K77AqWQk3E="; 25 25 }; 26 26 27 27 postPatch = '' 28 + substituteInPlace misc/CMakeLists.txt \ 29 + --replace "/etc" "$out/etc" 30 + 28 31 # Avoid using absolute path to distinguish applications 29 32 substituteInPlace src/dde-session/impl/sessionmanager.cpp \ 30 33 --replace 'file.readAll().startsWith("/usr/bin/dde-lock")' 'file.readAll().contains("dde-lock")' \