Skip to content

Commit

Permalink
Merge pull request #251853 from Artturin/cmakefix1
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored Sep 2, 2023
2 parents 9a48290 + c25f7f8 commit 0e7c244
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/stdenv/generic/make-derivation.nix
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,8 @@ else let
"-DCMAKE_HOST_SYSTEM_PROCESSOR=${stdenv.buildPlatform.uname.processor}"
] ++ lib.optionals (stdenv.buildPlatform.uname.release != null) [
"-DCMAKE_HOST_SYSTEM_VERSION=${stdenv.buildPlatform.uname.release}"
] ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
"-DCMAKE_CROSSCOMPILING_EMULATOR=env"
]);

mesonFlags =
Expand Down

0 comments on commit 0e7c244

Please sign in to comment.