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