2023-10-08 19:47:42 +02:00
|
|
|
with import <nixpkgs> {};
|
2023-07-11 16:06:49 +02:00
|
|
|
|
2023-10-08 19:47:42 +02:00
|
|
|
# use new clang
|
2024-03-10 16:47:09 +01:00
|
|
|
let myllvm = llvmPackages_17; in
|
2023-10-08 19:47:42 +02:00
|
|
|
|
|
|
|
# clang based dev env
|
|
|
|
myllvm.stdenv.mkDerivation {
|
|
|
|
name = "clang-nix-shell";
|
2023-09-17 16:27:47 +02:00
|
|
|
# ensure the local KDE things are in path
|
2023-07-11 16:06:49 +02:00
|
|
|
shellHook = ''
|
2024-01-12 17:47:54 +01:00
|
|
|
export PATH=/home/cullmann/projects/kde/usr/bin:/home/cullmann/projects/kde:/home/cullmann/projects/kde/src/kdesrc-build:$PATH
|
2023-07-11 16:06:49 +02:00
|
|
|
|
2024-06-16 20:53:26 +02:00
|
|
|
# fix Qt tests for rcc
|
|
|
|
unset QT_RCC_SOURCE_DATE_OVERRIDE
|
|
|
|
unset SOURCE_DATE_EPOCH
|
|
|
|
|
|
|
|
# fix valgrind
|
|
|
|
export QT_ENABLE_REGEXP_JIT=0
|
2023-07-11 16:06:49 +02:00
|
|
|
|
2024-02-04 16:19:36 +01:00
|
|
|
export QT_PLUGIN_PATH=/home/cullmann/projects/kde/usr/lib/plugins:/home/cullmann/projects/kde/usr/lib64/plugins:${pkgs.qt6.qtbase.qtPluginPrefix}:${pkgs.lib.getBin pkgs.qt6.qtsvg}/${pkgs.qt6.qtbase.qtPluginPrefix}:${pkgs.lib.getBin pkgs.qt6.qtwayland}/${pkgs.qt6.qtbase.qtPluginPrefix}:${pkgs.lib.getBin pkgs.qt6.qtspeech}/${pkgs.qt6.qtbase.qtPluginPrefix}:$QT_PLUGIN_PATH
|
2024-01-12 17:47:54 +01:00
|
|
|
export QML2_IMPORT_PATH=/home/cullmann/projects/kde/usr/lib/qml:$QML2_IMPORT_PATH
|
2023-07-11 16:06:49 +02:00
|
|
|
|
2024-02-04 16:19:36 +01:00
|
|
|
export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde/usr/lib/qml/QtQuick/Controls.2/:/home/cullmann/projects/kde/usr/lib64/qml/QtQuick/Controls.2/:$QT_QUICK_CONTROLS_STYLE_PATH
|
2023-07-11 16:06:49 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
# add all needed stuff to have a KDE KF6 Qt6 env
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
|
|
acl
|
|
|
|
appstream
|
|
|
|
attr
|
|
|
|
bison
|
|
|
|
boost
|
|
|
|
bzip2
|
2024-03-10 16:47:09 +01:00
|
|
|
clang-tools_17
|
2023-07-11 16:06:49 +02:00
|
|
|
cmake
|
2023-10-15 15:33:41 +02:00
|
|
|
ctags
|
2023-11-12 17:23:33 +01:00
|
|
|
curl
|
2024-05-26 16:58:37 +02:00
|
|
|
discount
|
|
|
|
djvulibre
|
2023-07-11 16:06:49 +02:00
|
|
|
docbook_xml_dtd_45
|
|
|
|
docbook_xsl_ns
|
2024-02-29 00:01:14 +01:00
|
|
|
doxygen
|
2024-05-26 16:58:37 +02:00
|
|
|
ebook_tools
|
2023-11-16 22:09:38 +01:00
|
|
|
exiv2
|
2023-07-11 16:06:49 +02:00
|
|
|
flex
|
|
|
|
gdb
|
|
|
|
giflib
|
|
|
|
gitFull
|
|
|
|
gperf
|
|
|
|
gpgme
|
2024-02-29 00:01:14 +01:00
|
|
|
graphviz
|
2023-07-11 16:06:49 +02:00
|
|
|
hunspell
|
|
|
|
hunspellDicts.en_US
|
|
|
|
intltool
|
|
|
|
isocodes
|
2024-06-03 22:29:25 +02:00
|
|
|
kdePackages.poppler
|
2023-07-11 16:06:49 +02:00
|
|
|
lcms2
|
2024-01-21 18:13:24 +01:00
|
|
|
libarchive
|
2023-07-11 16:06:49 +02:00
|
|
|
libcanberra
|
|
|
|
libcap
|
|
|
|
libdisplay-info
|
|
|
|
libepoxy
|
|
|
|
libgcrypt
|
|
|
|
libGL
|
|
|
|
libical
|
|
|
|
libinput
|
|
|
|
libjpeg
|
|
|
|
libjxl
|
|
|
|
libnl
|
|
|
|
libpcap
|
|
|
|
libpng
|
2023-11-16 22:09:38 +01:00
|
|
|
libraw
|
2024-07-06 16:47:09 +02:00
|
|
|
libsecret
|
2023-07-11 16:06:49 +02:00
|
|
|
libselinux
|
|
|
|
libsndfile
|
2024-05-26 16:58:37 +02:00
|
|
|
libspectre
|
2023-07-11 16:06:49 +02:00
|
|
|
libva
|
|
|
|
libxkbcommon
|
|
|
|
libxml2
|
|
|
|
libxslt
|
2024-05-26 16:58:37 +02:00
|
|
|
libzip
|
2023-07-11 16:06:49 +02:00
|
|
|
linux-pam
|
|
|
|
lm_sensors
|
|
|
|
lmdb
|
|
|
|
mesa
|
|
|
|
meson
|
2024-05-07 22:17:10 +02:00
|
|
|
modemmanager
|
2023-10-08 19:47:42 +02:00
|
|
|
myllvm.libclang.python # git-clang-format
|
2023-07-11 16:06:49 +02:00
|
|
|
networkmanager
|
|
|
|
ninja
|
2024-07-06 16:47:09 +02:00
|
|
|
olm
|
2023-07-11 16:06:49 +02:00
|
|
|
openal
|
|
|
|
openjpeg
|
|
|
|
openssl
|
|
|
|
pcre
|
|
|
|
perl
|
|
|
|
perlPackages.IOSocketSSL
|
2024-01-08 23:21:19 +01:00
|
|
|
perlPackages.JSONXS
|
2023-07-11 16:06:49 +02:00
|
|
|
perlPackages.NetDBus
|
|
|
|
perlPackages.URI
|
|
|
|
perlPackages.XMLParser
|
2023-12-30 20:26:20 +01:00
|
|
|
perlPackages.YAMLPP
|
2024-04-28 18:22:58 +02:00
|
|
|
python312Full
|
2024-05-12 16:21:45 +02:00
|
|
|
python312Packages.lxml
|
2024-04-28 18:22:58 +02:00
|
|
|
python312Packages.overrides
|
|
|
|
python312Packages.promise
|
|
|
|
python312Packages.pyaml
|
|
|
|
python312Packages.python-gitlab
|
|
|
|
python312Packages.setproctitle
|
2023-07-11 16:06:49 +02:00
|
|
|
pkg-config
|
|
|
|
polkit
|
|
|
|
qrencode
|
|
|
|
qt6.qt3d
|
|
|
|
qt6.qt5compat
|
|
|
|
qt6.qtbase
|
|
|
|
qt6.qtcharts
|
|
|
|
qt6.qtconnectivity
|
|
|
|
qt6.qtdatavis3d
|
|
|
|
qt6.qtdeclarative
|
|
|
|
qt6.qtdoc
|
|
|
|
qt6.qtimageformats
|
|
|
|
qt6.qtlanguageserver
|
|
|
|
qt6.qtlottie
|
|
|
|
qt6.qtmultimedia
|
|
|
|
qt6.qtnetworkauth
|
|
|
|
qt6.qtpositioning
|
|
|
|
qt6.qtquick3d
|
|
|
|
qt6.qtquicktimeline
|
|
|
|
qt6.qtremoteobjects
|
|
|
|
qt6.qtscxml
|
|
|
|
qt6.qtsensors
|
|
|
|
qt6.qtserialbus
|
|
|
|
qt6.qtserialport
|
|
|
|
qt6.qtshadertools
|
2023-09-30 15:37:44 +02:00
|
|
|
qt6.qtspeech
|
2023-07-11 16:06:49 +02:00
|
|
|
qt6.qtsvg
|
|
|
|
qt6.qttools
|
|
|
|
qt6.qttranslations
|
|
|
|
qt6.qtvirtualkeyboard
|
|
|
|
qt6.qtwayland
|
|
|
|
qt6.qtwebchannel
|
|
|
|
qt6.qtwebengine
|
|
|
|
qt6.qtwebsockets
|
|
|
|
qt6.qtwebview
|
2024-06-02 19:19:45 +02:00
|
|
|
qt6Packages.qgpgme
|
2023-07-11 16:06:49 +02:00
|
|
|
udev
|
|
|
|
util-linux
|
|
|
|
valgrind
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
2024-05-07 22:17:10 +02:00
|
|
|
wayland-scanner
|
2023-07-11 16:06:49 +02:00
|
|
|
xcb-util-cursor
|
|
|
|
xercesc
|
|
|
|
xml2
|
2024-02-29 00:01:14 +01:00
|
|
|
xmlto
|
2023-07-11 16:06:49 +02:00
|
|
|
xorg.libSM
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXau
|
|
|
|
xorg.libxcb
|
|
|
|
xorg.libxcvt
|
|
|
|
xorg.libXdmcp
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXfixes
|
|
|
|
xorg.xcbutil
|
|
|
|
xorg.xcbutilimage
|
|
|
|
xorg.xcbutilkeysyms
|
|
|
|
xorg.xcbutilwm
|
|
|
|
zlib
|
|
|
|
zstd
|
|
|
|
xz
|
|
|
|
];
|
|
|
|
}
|