diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2019-02-05 21:14:08 -0200 |
---|---|---|
committer | José Romildo Malaquias <malaquias@gmail.com> | 2019-02-12 09:03:51 -0200 |
commit | 06a706dd38a1653c1835ab186f988b0944c08916 (patch) | |
tree | 8d1da9a2da2ecaa614e1e64149c83f4bcb8b9a3a /pkgs/desktops/lxqt | |
parent | 39e826c2922f25d5d702e53cf7540e0dd7bce76e (diff) |
lxqt-sudo: 0.13.0 -> 0.14.0
Diffstat (limited to 'pkgs/desktops/lxqt')
-rw-r--r-- | pkgs/desktops/lxqt/lxqt-sudo/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/desktops/lxqt/lxqt-sudo/default.nix b/pkgs/desktops/lxqt/lxqt-sudo/default.nix index 4dddd7de09bcb..7e3ca84109fd9 100644 --- a/pkgs/desktops/lxqt/lxqt-sudo/default.nix +++ b/pkgs/desktops/lxqt/lxqt-sudo/default.nix @@ -1,15 +1,14 @@ { stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg, sudo }: stdenv.mkDerivation rec { - name = "${pname}-${version}"; pname = "lxqt-sudo"; - version = "0.13.0"; + version = "0.14.0"; src = fetchFromGitHub { owner = "lxqt"; repo = pname; rev = version; - sha256 = "1gpn3dhmzabx0jrqxq63549sah03kf6bmdc9d9kmg6hyr5xg3i1h"; + sha256 = "0l8fq06kfsrmvg2fr8lqdsxr6fwxmxsa9zwaa3fs9inzaylm0jkh"; }; nativeBuildInputs = [ @@ -28,7 +27,10 @@ stdenv.mkDerivation rec { sudo ]; - cmakeFlags = [ "-DPULL_TRANSLATIONS=NO" ]; + postPatch = '' + substituteInPlace CMakeLists.txt \ + --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations" + ''; meta = with stdenv.lib; { description = "GUI frontend for sudo/su"; |