Skip to content

Commit ce2fbc3

Browse files
authored
Merge pull request #1953 from sgillespie/feature/package-schema-dir
build: Add `schema/` to release archive
2 parents b8e53e3 + 9a85761 commit ce2fbc3

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

flake.nix

Lines changed: 11 additions & 2 deletions
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)