This commit is contained in:
@@ -21,11 +21,11 @@ let
|
||||
runtimeInputs = [ hectic.migrator hectic.parse-uri postgresql neovim openssh coreutils gawk ];
|
||||
|
||||
text = ''
|
||||
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${hectic.helpers.posix-shell.change_namespace}/bin/change_namespace.sh
|
||||
. ${hectic.helpers.posix-shell.quote}/bin/quote.sh
|
||||
. ${hectic.helpers.posix-shell.pager_or_cat}/bin/pager_or_cat.sh
|
||||
. ${hectic.helpers.posix-shell.with_closed_fds}/bin/with_closed_fds.sh
|
||||
. ${hectic.helpers.posix-shell.log}
|
||||
. ${hectic.helpers.posix-shell.change_namespace}
|
||||
. ${hectic.helpers.posix-shell.quote}
|
||||
. ${hectic.helpers.posix-shell.pager_or_cat}
|
||||
. ${hectic.helpers.posix-shell.with_closed_fds}
|
||||
${applyBundle}
|
||||
${builtins.readFile ./db-dev.sh}
|
||||
'';
|
||||
@@ -49,8 +49,8 @@ let
|
||||
runtimeInputs = [ postgresql coreutils ];
|
||||
|
||||
text = ''
|
||||
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${hectic.helpers.posix-shell.change_namespace}/bin/change_namespace.sh
|
||||
. ${hectic.helpers.posix-shell.log}
|
||||
. ${hectic.helpers.posix-shell.change_namespace}
|
||||
${applyBundle}
|
||||
${builtins.readFile ./db-ops.sh}
|
||||
'';
|
||||
@@ -71,7 +71,7 @@ let
|
||||
runtimeInputs = [ postgresql coreutils ];
|
||||
|
||||
text = ''
|
||||
. ${hectic.helpers.posix-shell.with_closed_fds}/bin/with_closed_fds.sh
|
||||
. ${hectic.helpers.posix-shell.with_closed_fds}
|
||||
${builtins.readFile ./postgres-init.sh}
|
||||
'';
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ let
|
||||
];
|
||||
|
||||
text = ''
|
||||
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${hectic.helpers.posix-shell.log}
|
||||
${builtins.readFile ./deploy.sh}
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -15,7 +15,7 @@ let
|
||||
text = ''
|
||||
# shellcheck disable=SC2034
|
||||
WORKSPACE=${./.}
|
||||
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${hectic.helpers.posix-shell.log}
|
||||
${builtins.readFile ./hemar.sh}
|
||||
'';
|
||||
};
|
||||
|
||||
@@ -13,8 +13,8 @@ hectic.writeShellApplication {
|
||||
runtimeInputs = [ git gnutar gzip bzip2 xz unzip coreutils file ];
|
||||
|
||||
text = ''
|
||||
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${hectic.helpers.posix-shell.pager_or_cat}/bin/pager_or_cat.sh
|
||||
. ${hectic.helpers.posix-shell.log}
|
||||
. ${hectic.helpers.posix-shell.pager_or_cat}
|
||||
${builtins.readFile ./merge-archive.sh}
|
||||
'';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ let
|
||||
runtimeInputs = [ sqlite postgresql_17 gawk coreutils ];
|
||||
|
||||
text = ''
|
||||
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${hectic.helpers.posix-shell.log}
|
||||
${applyBundle}
|
||||
${builtins.readFile ./migrator.sh}
|
||||
'';
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
nativeBuildInputs = [ pkgs.coreutils pkgs.gnugrep pkgs.gnused ];
|
||||
buildInputs = [ database dbOps postgresInit postgresCleanup pkgs.postgresql_17 pkgs.dash ];
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
test=${testDrv}
|
||||
export HECTIC_LOG=trace
|
||||
set -eu
|
||||
@@ -67,7 +67,7 @@
|
||||
nativeBuildInputs = [ pkgs.coreutils pkgs.gnugrep pkgs.gnused ];
|
||||
buildInputs = [ database dbOps postgresInit postgresCleanup pkgs.postgresql_17 pkgs.dash pkgs.netcat-openbsd ];
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
test=${testDrv}
|
||||
export HECTIC_LOG=trace
|
||||
set -eu
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
nativeBuildInputs = [ pkgs.coreutils pkgs.gnugrep pkgs.gnused ];
|
||||
buildInputs = [ hemar pkgs.yq-go pkgs.which ];
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
test=${testDrv}
|
||||
${builtins.readFile ./lauch.sh}
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
linuxDevShell = linuxDevShell;
|
||||
linuxDevShellStandalone = linuxDevShellStandalone;
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
export HECTIC_LOG=trace
|
||||
test=${testDrv}
|
||||
linuxDevShell="${linuxDevShell}"
|
||||
@@ -64,7 +64,7 @@
|
||||
linuxDevShellStandalone = linuxDevShellStandalone;
|
||||
archBootstrap = archBootstrap;
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
export HECTIC_LOG=trace
|
||||
|
||||
log notice "test case: ''${WHITE}arch ${name}"
|
||||
@@ -156,7 +156,7 @@
|
||||
linuxDevShellStandalone = linuxDevShellStandalone;
|
||||
ubuntuBootstrap = ubuntuBootstrap;
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
export HECTIC_LOG=trace
|
||||
|
||||
log notice "test case: ''${WHITE}ubuntu ${name}"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
nativeBuildInputs = [ pkgs.coreutils pkgs.gnugrep pkgs.gnused ];
|
||||
buildInputs = [ pkgs.which migrator pkgs.postgresql ];
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
test=${testDrv}
|
||||
export HECTIC_LOG=trace
|
||||
${builtins.readFile ./util.sh}
|
||||
@@ -57,7 +57,7 @@
|
||||
nativeBuildInputs = [ pkgs.coreutils pkgs.gnugrep pkgs.gnused ];
|
||||
buildInputs = [ pkgs.which migrator pkgs.sqlite ];
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
test=${testDrv}
|
||||
export HECTIC_LOG=trace
|
||||
${builtins.readFile ./util.sh}
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
nativeBuildInputs = [ pkgs.coreutils pkgs.gnugrep pkgs.gnused ];
|
||||
buildInputs = [ sentinella pkgs.curl pkgs.jq pkgs.socat ];
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
export HECTIC_LOG=trace
|
||||
test=${testDrv}
|
||||
${builtins.readFile ./launch.sh}
|
||||
|
||||
@@ -9,7 +9,7 @@ let
|
||||
nativeBuildInputs = [ pkgs.coreutils pkgs.gnugrep ];
|
||||
windowsDevShellStandalone = windowsDevShellStandalone;
|
||||
} ''
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||
. ${self.legacyPackages.${system}.helpers.posix-shell.log}
|
||||
test=${testDrv}
|
||||
${builtins.readFile ./launch.sh}
|
||||
mkdir -p "$out"
|
||||
|
||||
Reference in New Issue
Block a user