diff --git a/projects/kde6/cleanup.sh b/projects/kde6/cleanup.sh index a4cb9b0..bb6dc42 100644 --- a/projects/kde6/cleanup.sh +++ b/projects/kde6/cleanup.sh @@ -9,4 +9,4 @@ cd ~/projects/kde6/src || exit 1 git clone https://invent.kde.org/sdk/kdesrc-build.git || exit 1 # start from scratch -exec ./kdesrc-build/kdesrc-build --rc-file=../kdesrc-buildrc --refresh-build --include-dependencies breeze plasma-integration konsole kate +exec ./kdesrc-build/kdesrc-build --rc-file=../kdesrc-buildrc --include-dependencies breeze plasma-integration konsole kate diff --git a/projects/kde6/shell.nix b/projects/kde6/shell.nix index a7801be..216df31 100644 --- a/projects/kde6/shell.nix +++ b/projects/kde6/shell.nix @@ -1,6 +1,11 @@ -{ pkgs ? import {} }: +with import {}; -pkgs.mkShell { +# use new clang +let myllvm = llvmPackages_16; in + +# clang based dev env +myllvm.stdenv.mkDerivation { + name = "clang-nix-shell"; # ensure the local KDE things are in path shellHook = '' export PATH=/home/cullmann/projects/kde6/usr/bin:/home/cullmann/projects/kde6:/home/cullmann/projects/kde6/src/kdesrc-build:$PATH @@ -22,7 +27,6 @@ export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde6/usr/lib/qml/QtQ bison boost bzip2 - clang-tools cmake docbook_xml_dtd_45 docbook_xsl_ns @@ -39,7 +43,6 @@ export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde6/usr/lib/qml/QtQ lcms2 libcanberra libcap - libclang.python libdisplay-info libepoxy libgcrypt @@ -62,6 +65,7 @@ export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde6/usr/lib/qml/QtQ lmdb mesa meson + myllvm.libclang.python # git-clang-format networkmanager ninja openal