diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-08-22 00:42:28 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-08-22 00:42:28 -0400 |
commit | e34de045b65ac7b812d980df85204644baeb60c9 (patch) | |
tree | 27dbdafeae7a636e7edd4e3ff1d0f297bb698228 /pkgs/desktops/lxqt/lxqt-session | |
parent | 3167eb3780ca59f1786e9f80d017e5ac3e7807ac (diff) | |
download | nixpkgs-e34de045b65ac7b812d980df85204644baeb60c9.tar nixpkgs-e34de045b65ac7b812d980df85204644baeb60c9.tar.gz nixpkgs-e34de045b65ac7b812d980df85204644baeb60c9.tar.bz2 nixpkgs-e34de045b65ac7b812d980df85204644baeb60c9.tar.lz nixpkgs-e34de045b65ac7b812d980df85204644baeb60c9.tar.xz nixpkgs-e34de045b65ac7b812d980df85204644baeb60c9.tar.zst nixpkgs-e34de045b65ac7b812d980df85204644baeb60c9.zip |
lxqt: use modified LXQtConfigVars CMake macro
LXQt uses the values in this macro to set installation directories and in the case of lxqt-session to substitute in paths. However, by doing this all the paths are from within lxqt-build-tools prefix. By utilizing a setup hook we can set the directories with the correct prefix as cmake flags.
Diffstat (limited to 'pkgs/desktops/lxqt/lxqt-session')
-rw-r--r-- | pkgs/desktops/lxqt/lxqt-session/default.nix | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/desktops/lxqt/lxqt-session/default.nix b/pkgs/desktops/lxqt/lxqt-session/default.nix index 8bf384c8f4c..fbf2c7ddde7 100644 --- a/pkgs/desktops/lxqt/lxqt-session/default.nix +++ b/pkgs/desktops/lxqt/lxqt-session/default.nix @@ -30,18 +30,6 @@ mkDerivation rec { xdg-user-dirs ]; - postPatch = '' - for dir in autostart config; do - substituteInPlace $dir/CMakeLists.txt \ - --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" - done - - for f in lxqt-{config-session,leave,session}/CMakeLists.txt; do - substituteInPlace $f \ - --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations" - done - ''; - meta = with lib; { description = "An alternative session manager ported from the original razor-session"; homepage = https://github.com/lxqt/lxqt-session; |