mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 01:48:50 +08:00
optee-builder: use stdenv as opposed to gccStdenv
should be the same in our use case, but stdenv is more standard.
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (pkgs.buildPackages) python3;
|
inherit (pkgs.buildPackages) python3;
|
||||||
toolchain = pkgs.gccStdenv.cc;
|
toolchain = pkgs.stdenv.cc;
|
||||||
binutils = pkgs.gccStdenv.cc.bintools.bintools_bin;
|
binutils = pkgs.stdenv.cc.bintools.bintools_bin;
|
||||||
cpp = pkgs.gccStdenv.cc;
|
cpp = pkgs.stdenv.cc;
|
||||||
in
|
in
|
||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
pname = "imx95-optee-os";
|
pname = "imx95-optee-os";
|
||||||
|
|||||||
@@ -13,9 +13,9 @@
|
|||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (pkgs.buildPackages) python3;
|
inherit (pkgs.buildPackages) python3;
|
||||||
toolchain = pkgs.gccStdenv.cc;
|
toolchain = pkgs.stdenv.cc;
|
||||||
binutils = pkgs.gccStdenv.cc.bintools.bintools_bin;
|
binutils = pkgs.stdenv.cc.bintools.bintools_bin;
|
||||||
cpp = pkgs.gccStdenv.gcc;
|
cpp = pkgs.stdenv.gcc;
|
||||||
|
|
||||||
# Determine PLATFORM and PLATFORM_FLAVOR from platformFlavor
|
# Determine PLATFORM and PLATFORM_FLAVOR from platformFlavor
|
||||||
# Format can be either "imx-mx93evk" (full platform string) or "mx8mpevk" (just flavor, platform is "imx")
|
# Format can be either "imx-mx93evk" (full platform string) or "mx8mpevk" (just flavor, platform is "imx")
|
||||||
|
|||||||
Reference in New Issue
Block a user