zephyrPackages.sdk: fix typo

This commit is contained in:
Artemis Tosini 2024-02-23 05:37:05 +00:00
parent 5812980337
commit 6c29e57677
Signed by: artemist
GPG key ID: EE5227935FE3FF18

View file

@ -1,4 +1,4 @@
{ lib, symlinkJoin, fetchurl, zephyr, source, version, hosts, toolchains ? [ ]
{ lib, symlinkJoin, fetchurl, zephyrPackages, source, version, hosts, toolchains ? [ ]
}:
let src = fetchurl source;
in symlinkJoin rec {
@ -6,7 +6,7 @@ in symlinkJoin rec {
inherit version;
name = "${pname}-${version}";
paths = [ zephyr.host-tools ] ++ toolchains;
paths = [ zephyrPackages.host-tools ] ++ toolchains;
postBuild = ''
tar -C "$out" -xf "${src}" --exclude setup.sh --exclude sdk_toolchains --strip-components=1
'';