Files
nixos-hardware/nxp/imx8mp-evk/bsp/imx8mp-firmware.nix
Brian McGillion ae91411396 imx8-evk: fix cross-compiled builds
update just to fix the cross compilation.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
2025-11-05 16:35:23 +04:00

20 lines
456 B
Nix

{ pkgs, ... }:
with pkgs;
stdenv.mkDerivation rec {
pname = "imx8mp-firmware";
version = "8.23";
src = pkgs.fetchurl {
url = "https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-${version}.bin";
sha256 = "sha256-/gdjMpXaw92Z8LpOB6fN6VuySinKgrmps/YCbSmukWo=";
};
dontUnpack = true;
dontStrip = true;
installPhase = ''
${pkgs.buildPackages.bash}/bin/bash $src --auto-accept --force
mv firmware-imx-${version} $out
'';
}