diff options
| author | 2025-06-07 11:54:55 -0400 | |
|---|---|---|
| committer | 2025-06-07 11:54:55 -0400 | |
| commit | e9475ce94ba69bd437d8cf0cf3f78062be928568 (patch) | |
| tree | 63efef03577f8471b904295fc6878d7d960c00aa /env | |
| parent | 1e53cb62651b62ad7c03cbeb64e76546e8978ff7 (diff) | |
| download | camu-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.diff | 24 |
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" ]; + |