Fix osu cross-compilation
All checks were successful
CI / build:cross (pull_request) Successful in 13m48s
CI / build:all (pull_request) Successful in 20m1s

This commit is contained in:
2025-10-31 10:52:47 +01:00
parent 43865d8ba0
commit 4752afae0c

View File

@@ -32,6 +32,11 @@ stdenv.mkDerivation rec {
"CXX=mpicxx"
];
env = {
MPICH_CC="${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc";
MPICH_CXX="${stdenv.cc}/bin/${stdenv.cc.targetPrefix}c++";
};
postInstall = ''
mkdir -p $out/bin
for f in $(find $out -executable -type f); do