sddm: add missing include for gettimeofday, fix w/musl

This commit is contained in:
Will Dietz 2018-03-29 22:24:03 -05:00
parent 372b00dfe9
commit 09eaddf4eb

View File

@ -22,6 +22,10 @@ in mkDerivation rec {
# Module Qt5::Test must be included in `find_package` before it is used.
''
sed -i CMakeLists.txt -e '/find_package(Qt5/ s|)| Test)|'
''
# Fix missing include for gettimeofday()
+ ''
sed -e '1i#include <sys/time.h>' -i src/helper/HelperApp.cpp
'';
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qttools ];