Loading doc/stdenv/cross-compilation.chapter.md +1 −1 Original line number Diff line number Diff line Loading @@ -150,7 +150,7 @@ depsBuildBuild = [ buildPackages.stdenv.cc ]; Add the following to your `mkDerivation` invocation. ```nix doCheck = stdenv.hostPlatform == stdenv.buildPlatform; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; ``` #### Package using Meson needs to run binaries for the host platform during build. {#cross-meson-runs-host-code} Loading Loading
doc/stdenv/cross-compilation.chapter.md +1 −1 Original line number Diff line number Diff line Loading @@ -150,7 +150,7 @@ depsBuildBuild = [ buildPackages.stdenv.cc ]; Add the following to your `mkDerivation` invocation. ```nix doCheck = stdenv.hostPlatform == stdenv.buildPlatform; doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; ``` #### Package using Meson needs to run binaries for the host platform during build. {#cross-meson-runs-host-code} Loading