Skip to content

Commit

Permalink
fix bad kernel var in nsmKo in shellScript examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cottand committed Aug 30, 2024
1 parent 861604f commit f9b2002
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/withShellScript.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
}:
let
myScript = writeShellScriptBin "hello" ''
# this will fail when compiling on MacOS
# see cross-compilation examples for alternatives
export PATH="$PATH:${busybox}/bin"
while true;
Expand All @@ -23,7 +25,7 @@ nitro.buildEif {

name = "eif-hello-world";

nsmKo = nitro.blobs.aarch64.nsmKo;
nsmKo = nitro.blobs.${arch}.nsmKo;

copyToRoot = buildEnv {
name = "image-root";
Expand Down

0 comments on commit f9b2002

Please sign in to comment.