Skip to content

Commit fe5402e

Browse files
committed
test: add monorepo import support
1 parent 45728e1 commit fe5402e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ else
9494
# prepare the source
9595
cp -r $PWD $SOURCE_DIR
9696
# any changes before the test must happen now
97+
(
98+
cd ${SOURCE_DIR}/${TMPL}
99+
sed -i 's|\(.*\)github:LovelaceAcademy/nix-templates?dir=\(.*\)|\1path:../\2|g' flake.nix
100+
nix flake lock
101+
)
97102
# prepare the target
98103
(
99104
mkdir -p $TARGET_DIR

0 commit comments

Comments
 (0)