summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-06-07 11:54:55 -0400
committerAndrew Opalach <andrew@akon.city> 2025-06-07 11:54:55 -0400
commite9475ce94ba69bd437d8cf0cf3f78062be928568 (patch)
tree63efef03577f8471b904295fc6878d7d960c00aa /env
parent1e53cb62651b62ad7c03cbeb64e76546e8978ff7 (diff)
downloadcamu-e9475ce94ba69bd437d8cf0cf3f78062be928568.tar.gz
camu-e9475ce94ba69bd437d8cf0cf3f78062be928568.tar.bz2
camu-e9475ce94ba69bd437d8cf0cf3f78062be928568.zip
Clarify and fix various sink behaviors
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'env')
-rw-r--r--env/nixpkgs-patches/289217.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/env/nixpkgs-patches/289217.diff b/env/nixpkgs-patches/289217.diff
new file mode 100644
index 0000000..40204b4
--- /dev/null
+++ b/env/nixpkgs-patches/289217.diff
@@ -0,0 +1,24 @@
+diff --git a/pkgs/development/compilers/shaderc/default.nix b/pkgs/development/compilers/shaderc/default.nix
+index 8982382247939b..35a32dc6e8bf1b 100644
+--- a/pkgs/development/compilers/shaderc/default.nix
++++ b/pkgs/development/compilers/shaderc/default.nix
+@@ -48,9 +48,16 @@ stdenv.mkDerivation rec {
+ ++ lib.optionals stdenv.isDarwin [ cctools ]
+ ++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [ autoSignDarwinBinariesHook ];
+
+- postInstall = ''
+- moveToOutput "lib/*.a" $static
+- '';
++ postInstall = if stdenv.targetPlatform.isWindows then
++ # There are only static libraries on windows so link the outputs
++ ''
++ ln -s $lib $static
++ ''
++ else
++ ''
++ moveToOutput "lib/*.a" $static
++ ''
++ ;
+
+ cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ];
+