Skip to content

Commit

Permalink
fix(unpack): fix unpackPhase on baremetal-remote-tf
Browse files Browse the repository at this point in the history
Remove an unnecessary directory creation and duplicate copy.
Fix copies with correct paths.

Signed-off-by: Miguel Silva <miguelafsilva5@gmail.com>
  • Loading branch information
miguelafsilva5 committed Jan 4, 2024
1 parent f8ccf7a commit 0ff9a3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/guest/baremetal-remote-tf.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ stdenv.mkDerivation rec {
rsync -r $src/ $out
chmod -R u+w $out
mkdir -p $out/tests/bao-tests
mkdir -p $out/tests/src
cp -r ${bao-tests}/* $out/tests/bao-tests
cp -r ${tests_srcs}/configs $out/tests/
cp -r ${tests_srcs}/src $out/tests/
cp -r ${tests_srcs}/* $out/tests/src
chmod -R u+w $out/tests/
cp $out/tests/src/testf_entry.c $out/tests/bao-tests/src/
cd $out
'';

Expand Down

0 comments on commit 0ff9a3a

Please sign in to comment.