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