summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-07-04 16:49:31 -0700
committerIrene Knapp <ireneista@irenes.space>2026-07-04 16:49:31 -0700
commitaea6d8b310dede44211fcf994f8ddb42df076d91 (patch)
treea0df2bf481b3fbccd66648634220fed411776fab /flake.nix
parent8eb7bc2dcab860231c26bfe14d4c780449052da3 (diff)
load compiled SPIR-V bytecode (yay)
no way to build it except by hand, as-yet. the tutorial doesn't cover that, we'll need to circle back and write a build.rs

Force-Push: yes
Change-Id: I2b489381f95b4b7505862caa236dea1c60cd9c1a
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index a883414..e64a945 100644
--- a/flake.nix
+++ b/flake.nix
@@ -38,7 +38,7 @@
 
         buildInputs = buildInputsFor pkgs;
 
-        nativeBuildInputs = with pkgs; [ autoPatchelfHook ];
+        nativeBuildInputs = with pkgs; [ autoPatchelfHook glslang ];
       }).overrideAttrs {
         # This needs to apply only to the top-level derivation, not to the
         # dependencies.
@@ -61,6 +61,7 @@
           cargo
           rustc
           vulkan-tools
+          glslang
         ] ++ buildInputsFor pkgs;
 
         #   This makes cargo run work; mind that you don't let it mask a