Skip to content

Commit 9a85761

Browse files
committed
build: Add schema/ to release archive
1 parent 0f1d93f commit 9a85761

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

flake.nix

+11-2
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
in
412412
nixpkgs.runCommand name env
413413
''
414-
mkdir -p $out release
414+
mkdir -p $out release/bin
415415
cd release
416416
417417
# Copy exes to intermediate dir
@@ -420,7 +420,16 @@
420420
--remove-destination \
421421
--verbose \
422422
${lib.concatMapStringsSep " " (exe: "${exe}/bin/*") exes} \
423-
./
423+
./bin
424+
425+
# Copy magrations to intermediate dir
426+
cp \
427+
--no-clobber \
428+
--remove-destination \
429+
--verbose \
430+
--recursive \
431+
${./schema} \
432+
./schema
424433
425434
# Rewrite libs on macos (from iohk-utils)
426435
${lib.optionalString

0 commit comments

Comments
 (0)