File tree Expand file tree Collapse file tree 2 files changed +414
-0
lines changed Expand file tree Collapse file tree 2 files changed +414
-0
lines changed Original file line number Diff line number Diff line change 512
512
--subst-var-by 'NIX' '${ pkgs . nixVersions . nix_2_20 } /bin/nix'
513
513
chmod +x $out/bin/sync-exts-versions
514
514
'' ;
515
+
516
+ local-infra-bootstrap = pkgs . runCommand "local-infra-bootstrap" { } ''
517
+ mkdir -p $out/bin
518
+ substitute ${ ./nix/tools/local-infra-bootstrap.sh.in } $out/bin/local-infra-bootstrap
519
+ chmod +x $out/bin/local-infra-bootstrap
520
+ '' ;
515
521
dbmate-tool =
516
522
let
517
523
migrationsDir = ./migrations/db ;
671
677
migrate-postgres = mkApp "migrate-tool" "migrate-postgres" ;
672
678
sync-exts-versions = mkApp "sync-exts-versions" "sync-exts-versions" ;
673
679
pg-restore = mkApp "pg-restore" "pg-restore" ;
680
+ local-infra-bootstrap = mkApp "local-infra-bootstrap" "local-infra-bootstrap" ;
674
681
dbmate-tool = mkApp "dbmate-tool" "dbmate-tool" ;
675
682
migration-unit-tests = mkApp "migration-unit-tests" "migration-unit-tests" ;
676
683
} ;
You can’t perform that action at this time.
0 commit comments