fixup kde dev env with right clang tools
This commit is contained in:
parent
05c76b21e9
commit
bbeb99fb4d
|
@ -9,4 +9,4 @@ cd ~/projects/kde6/src || exit 1
|
||||||
git clone https://invent.kde.org/sdk/kdesrc-build.git || exit 1
|
git clone https://invent.kde.org/sdk/kdesrc-build.git || exit 1
|
||||||
|
|
||||||
# start from scratch
|
# 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
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
{ pkgs ? import <nixpkgs> {} }:
|
with import <nixpkgs> {};
|
||||||
|
|
||||||
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
|
# ensure the local KDE things are in path
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
export PATH=/home/cullmann/projects/kde6/usr/bin:/home/cullmann/projects/kde6:/home/cullmann/projects/kde6/src/kdesrc-build:$PATH
|
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
|
bison
|
||||||
boost
|
boost
|
||||||
bzip2
|
bzip2
|
||||||
clang-tools
|
|
||||||
cmake
|
cmake
|
||||||
docbook_xml_dtd_45
|
docbook_xml_dtd_45
|
||||||
docbook_xsl_ns
|
docbook_xsl_ns
|
||||||
|
@ -39,7 +43,6 @@ export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde6/usr/lib/qml/QtQ
|
||||||
lcms2
|
lcms2
|
||||||
libcanberra
|
libcanberra
|
||||||
libcap
|
libcap
|
||||||
libclang.python
|
|
||||||
libdisplay-info
|
libdisplay-info
|
||||||
libepoxy
|
libepoxy
|
||||||
libgcrypt
|
libgcrypt
|
||||||
|
@ -62,6 +65,7 @@ export QT_QUICK_CONTROLS_STYLE_PATH=/home/cullmann/projects/kde6/usr/lib/qml/QtQ
|
||||||
lmdb
|
lmdb
|
||||||
mesa
|
mesa
|
||||||
meson
|
meson
|
||||||
|
myllvm.libclang.python # git-clang-format
|
||||||
networkmanager
|
networkmanager
|
||||||
ninja
|
ninja
|
||||||
openal
|
openal
|
||||||
|
|
Loading…
Reference in a new issue