mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01: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:
parent
e598a4ca2f
commit
f2e49f279c
2 changed files with 6 additions and 6 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue