Merge pull request #110544 from Ericson2314/no-platform
top-level, lib: Remove platform attribute of platforms
This commit is contained in:
@@ -75,7 +75,7 @@ in
|
||||
|
||||
CROSVM_CARGO_TEST_KERNEL_BINARY =
|
||||
lib.optionalString (stdenv.buildPlatform == stdenv.hostPlatform)
|
||||
"${linux}/${stdenv.hostPlatform.platform.kernelTarget}";
|
||||
"${linux}/${stdenv.hostPlatform.linux-kernel.target}";
|
||||
|
||||
passthru = {
|
||||
inherit adhdSrc;
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildPhase = ''(
|
||||
cd src
|
||||
./mk.sh ${stdenv.buildPlatform.platform.kernelArch}
|
||||
./mk.sh ${stdenv.buildPlatform.linuxArch}
|
||||
)'';
|
||||
|
||||
installPhase = ''
|
||||
|
||||
Reference in New Issue
Block a user