nicer globe
This commit is contained in:
1 parent
0f42427f94
commit
ee1d5a1170
7 files changed
+231
-46
No files matched your search
+13
-2
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
makeWrapper,
|
||||
qt6,
|
||||
quickshell,
|
||||
nushell,
|
||||
curl,
|
||||
@@ -22,9 +23,19 @@ stdenvNoCC.mkDerivation {
|
||||
];
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
qt6.qtshadertools
|
||||
];
|
||||
|
||||
dontBuild = true;
|
||||
# Qt needs shaders compiled to .qsb before it can load them.
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
for shader in workspace-manager/shaders/*.vert workspace-manager/shaders/*.frag; do
|
||||
qsb --glsl "100 es,120,150" --hlsl 50 --msl 12 -o "$shader.qsb" "$shader"
|
||||
done
|
||||
runHook postBuild
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
Reference in new issue
Block a user