Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit b9e1723

Browse files
authored
build-and-copy: correctly get variant (#218)
1 parent 5f63d41 commit b9e1723

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/gen-flake-outputs.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ in
5555
fi
5656
5757
for build_variant in ${bundle}/*; do
58+
build_variant=$(basename $build_variant)
5859
if [ -e build/$build_variant ]; then
5960
rm -rf build/$build_variant
6061
fi
6162
62-
cp -r $build_variant build/
63+
cp -r result/$build_variant build/
6364
done
6465
6566
chmod -R +w build

0 commit comments

Comments
 (0)