rework: fix all vulnerabilities
runner nix smoke / nix label and flake smoke (push) Failing after 7s
runner nix smoke / nix label and flake smoke (push) Failing after 7s
This commit is contained in:
@@ -10,10 +10,15 @@ on:
|
|||||||
- flake.lock
|
- flake.lock
|
||||||
- flake.nix
|
- flake.nix
|
||||||
- infra/gitea-runners/**
|
- infra/gitea-runners/**
|
||||||
|
- lib/**
|
||||||
|
- legacy/**
|
||||||
|
- nixos/**
|
||||||
|
- package/**
|
||||||
|
- test/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
smoke:
|
smoke:
|
||||||
name: nix label smoke
|
name: nix label and flake smoke
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -26,7 +31,7 @@ jobs:
|
|||||||
nix config show substituters
|
nix config show substituters
|
||||||
nix config show trusted-public-keys
|
nix config show trusted-public-keys
|
||||||
|
|
||||||
- name: Repository flake metadata
|
- name: Repository flake evaluation
|
||||||
run: |
|
run: |
|
||||||
set -eu
|
set -eu
|
||||||
nix flake metadata --no-write-lock-file
|
nix --option eval-cache false flake check --no-build --no-write-lock-file
|
||||||
|
|||||||
+10
-10
@@ -16,16 +16,16 @@ let
|
|||||||
"errexit"
|
"errexit"
|
||||||
"nounset"
|
"nounset"
|
||||||
];
|
];
|
||||||
excludeShellChecks = [ "SC2209" ];
|
excludeShellChecks = [ "SC1091" "SC2209" ];
|
||||||
name = "database";
|
name = "database";
|
||||||
runtimeInputs = [ hectic.migrator hectic.parse-uri postgresql neovim openssh coreutils gawk ];
|
runtimeInputs = [ hectic.migrator hectic.parse-uri postgresql neovim openssh coreutils gawk ];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
${builtins.readFile hectic.helpers.posix-shell.log}
|
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||||
${builtins.readFile hectic.helpers.posix-shell.change_namespace}
|
. ${hectic.helpers.posix-shell.change_namespace}/bin/change_namespace.sh
|
||||||
${builtins.readFile hectic.helpers.posix-shell.quote}
|
. ${hectic.helpers.posix-shell.quote}/bin/quote.sh
|
||||||
${builtins.readFile hectic.helpers.posix-shell.pager_or_cat}
|
. ${hectic.helpers.posix-shell.pager_or_cat}/bin/pager_or_cat.sh
|
||||||
${builtins.readFile hectic.helpers.posix-shell.with_closed_fds}
|
. ${hectic.helpers.posix-shell.with_closed_fds}/bin/with_closed_fds.sh
|
||||||
${applyBundle}
|
${applyBundle}
|
||||||
${builtins.readFile ./db-dev.sh}
|
${builtins.readFile ./db-dev.sh}
|
||||||
'';
|
'';
|
||||||
@@ -44,13 +44,13 @@ let
|
|||||||
"errexit"
|
"errexit"
|
||||||
"nounset"
|
"nounset"
|
||||||
];
|
];
|
||||||
excludeShellChecks = [ "SC2209" ];
|
excludeShellChecks = [ "SC1091" "SC2209" ];
|
||||||
name = "db-ops";
|
name = "db-ops";
|
||||||
runtimeInputs = [ postgresql coreutils ];
|
runtimeInputs = [ postgresql coreutils ];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
${builtins.readFile hectic.helpers.posix-shell.log}
|
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||||
${builtins.readFile hectic.helpers.posix-shell.change_namespace}
|
. ${hectic.helpers.posix-shell.change_namespace}/bin/change_namespace.sh
|
||||||
${applyBundle}
|
${applyBundle}
|
||||||
${builtins.readFile ./db-ops.sh}
|
${builtins.readFile ./db-ops.sh}
|
||||||
'';
|
'';
|
||||||
@@ -70,7 +70,7 @@ let
|
|||||||
runtimeInputs = [ postgresql coreutils ];
|
runtimeInputs = [ postgresql coreutils ];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
${builtins.readFile hectic.helpers.posix-shell.with_closed_fds}
|
. ${hectic.helpers.posix-shell.with_closed_fds}/bin/with_closed_fds.sh
|
||||||
${builtins.readFile ./postgres-init.sh}
|
${builtins.readFile ./postgres-init.sh}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
+2
-8
@@ -10,15 +10,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
buildPostgresqlExtension =
|
buildPostgresqlExtension =
|
||||||
pkgs: pkgs.callPackage (import (builtins.path {
|
pkgs: pkgs.callPackage ./buildPostgresqlExtension.nix;
|
||||||
name = "extension-builder";
|
|
||||||
path = ./buildPostgresqlExtension.nix;
|
|
||||||
}));
|
|
||||||
buildPgrxExtension = pkgs:
|
buildPgrxExtension = pkgs:
|
||||||
pkgs.callPackage (import (builtins.path {
|
pkgs.callPackage ./buildPgrxExtension.nix {
|
||||||
name = "extension-builder";
|
|
||||||
path = ./buildPgrxExtension.nix;
|
|
||||||
})) {
|
|
||||||
cargo-pgrx = pkgs.cargo-pgrx_0_12_6;
|
cargo-pgrx = pkgs.cargo-pgrx_0_12_6;
|
||||||
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ let
|
|||||||
|
|
||||||
deploy = hectic.writeShellApplication {
|
deploy = hectic.writeShellApplication {
|
||||||
inherit shell bashOptions;
|
inherit shell bashOptions;
|
||||||
|
excludeShellChecks = [ "SC1091" "SC2034" ];
|
||||||
name = "deploy";
|
name = "deploy";
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
ssh-to-age
|
ssh-to-age
|
||||||
@@ -15,7 +16,7 @@ let
|
|||||||
];
|
];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
${builtins.readFile hectic.helpers.posix-shell.log}
|
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||||
${builtins.readFile ./deploy.sh}
|
${builtins.readFile ./deploy.sh}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -8,13 +8,14 @@ let
|
|||||||
|
|
||||||
hemar = hectic.writeShellApplication {
|
hemar = hectic.writeShellApplication {
|
||||||
inherit shell bashOptions;
|
inherit shell bashOptions;
|
||||||
|
excludeShellChecks = [ "SC1091" ];
|
||||||
name = "hemar";
|
name = "hemar";
|
||||||
runtimeInputs = [ yq-go ];
|
runtimeInputs = [ yq-go ];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
# shellcheck disable=SC2034
|
# shellcheck disable=SC2034
|
||||||
WORKSPACE=${./.}
|
WORKSPACE=${./.}
|
||||||
${builtins.readFile hectic.helpers.posix-shell.log}
|
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||||
${builtins.readFile ./hemar.sh}
|
${builtins.readFile ./hemar.sh}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ parse_tag() {
|
|||||||
log trace "tag in ws -> type: \`${TAG_type:-}\`"
|
log trace "tag in ws -> type: \`${TAG_type:-}\`"
|
||||||
case "${TAG_type:-unknown}" in
|
case "${TAG_type:-unknown}" in
|
||||||
unknown) finalize_first_arg ;;
|
unknown) finalize_first_arg ;;
|
||||||
for)
|
'for')
|
||||||
# NOTE:
|
# NOTE:
|
||||||
# grammar: for i in key."subkey" ; so we know
|
# grammar: for i in key."subkey" ; so we know
|
||||||
# 1st argument after `for` - string (name of variable)
|
# 1st argument after `for` - string (name of variable)
|
||||||
@@ -427,13 +427,13 @@ finish() {
|
|||||||
unknown)
|
unknown)
|
||||||
finish_interpolation_tag
|
finish_interpolation_tag
|
||||||
;;
|
;;
|
||||||
done)
|
'done')
|
||||||
finish_done_tag
|
finish_done_tag
|
||||||
;;
|
;;
|
||||||
'{[')
|
'{[')
|
||||||
finish_bracket_tag
|
finish_bracket_tag
|
||||||
;;
|
;;
|
||||||
for) ;;
|
'for') ;;
|
||||||
*) log panic 'unexpected TAG_type on finish'; exit 13; ;;
|
*) log panic 'unexpected TAG_type on finish'; exit 13; ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
@@ -442,14 +442,14 @@ finalize_first_arg() {
|
|||||||
log trace "finalize first arg"
|
log trace "finalize first arg"
|
||||||
log trace "buffer: $(cat "$CURRENT_STAGE_BUFFER")"
|
log trace "buffer: $(cat "$CURRENT_STAGE_BUFFER")"
|
||||||
case "$(cat "$CURRENT_STAGE_BUFFER")" in
|
case "$(cat "$CURRENT_STAGE_BUFFER")" in
|
||||||
for)
|
'for')
|
||||||
TAG_type='for'
|
TAG_type='for'
|
||||||
# NOTE: we know that next argument after `for` is string
|
# NOTE: we know that next argument after `for` is string
|
||||||
TAG_grammar_mode=string
|
TAG_grammar_mode=string
|
||||||
log error 'for unimplemented'
|
log error 'for unimplemented'
|
||||||
exit 13
|
exit 13
|
||||||
;;
|
;;
|
||||||
done)
|
'done')
|
||||||
finish_done_tag
|
finish_done_tag
|
||||||
;;
|
;;
|
||||||
'{[')
|
'{[')
|
||||||
@@ -651,4 +651,4 @@ if [ -z "${AS_LIBRARY+x}" ]; then
|
|||||||
# return the output
|
# return the output
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
yq ${OUTPUT_ARGS:-} -o j "$AST"
|
yq ${OUTPUT_ARGS:-} -o j "$AST"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ let
|
|||||||
inherit shell bashOptions;
|
inherit shell bashOptions;
|
||||||
name = "linux-devshell";
|
name = "linux-devshell";
|
||||||
runtimeInputs = [ curl coreutils gawk procps ];
|
runtimeInputs = [ curl coreutils gawk procps ];
|
||||||
excludeShellChecks = [ "SC2034" "SC1090" ];
|
excludeShellChecks = [ "SC1090" "SC1091" "SC2034" ];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
${logHelpers}
|
${logHelpers}
|
||||||
|
|||||||
@@ -8,13 +8,13 @@ hectic.writeShellApplication {
|
|||||||
"errexit"
|
"errexit"
|
||||||
"nounset"
|
"nounset"
|
||||||
];
|
];
|
||||||
excludeShellChecks = [ "SC2209" ];
|
excludeShellChecks = [ "SC1091" "SC2209" ];
|
||||||
name = "merge-archive";
|
name = "merge-archive";
|
||||||
runtimeInputs = [ git gnutar gzip bzip2 xz unzip coreutils file ];
|
runtimeInputs = [ git gnutar gzip bzip2 xz unzip coreutils file ];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
${builtins.readFile hectic.helpers.posix-shell.log}
|
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||||
${builtins.readFile hectic.helpers.posix-shell.pager_or_cat}
|
. ${hectic.helpers.posix-shell.pager_or_cat}/bin/pager_or_cat.sh
|
||||||
${builtins.readFile ./merge-archive.sh}
|
${builtins.readFile ./merge-archive.sh}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,12 @@ let
|
|||||||
|
|
||||||
migrator = hectic.writeShellApplication {
|
migrator = hectic.writeShellApplication {
|
||||||
inherit shell bashOptions;
|
inherit shell bashOptions;
|
||||||
|
excludeShellChecks = [ "SC1091" ];
|
||||||
name = "migrator";
|
name = "migrator";
|
||||||
runtimeInputs = [ sqlite postgresql_17 gawk coreutils ];
|
runtimeInputs = [ sqlite postgresql_17 gawk coreutils ];
|
||||||
|
|
||||||
text = ''
|
text = ''
|
||||||
${builtins.readFile hectic.helpers.posix-shell.log}
|
. ${hectic.helpers.posix-shell.log}/bin/log.sh
|
||||||
${applyBundle}
|
${applyBundle}
|
||||||
${builtins.readFile ./migrator.sh}
|
${builtins.readFile ./migrator.sh}
|
||||||
'';
|
'';
|
||||||
|
|||||||
+8
-5
@@ -1,12 +1,15 @@
|
|||||||
{ lib, writeShellScriptBin, fetchFromGitHub, pkgs }: let
|
{ lib, fetchFromGitHub, runCommand, makeWrapper, jq }: let
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "nativerv";
|
owner = "nativerv";
|
||||||
repo = "slpt";
|
repo = "slpt";
|
||||||
rev = "8d70db4d8dfcd624ed49b9e6fb0ad449b6f25b89";
|
rev = "8d70db4d8dfcd624ed49b9e6fb0ad449b6f25b89";
|
||||||
hash = "sha256-sCHZsf7Y36iAesh7BeSxy9WhE/uQv13/VWmjlaVSEcU=";
|
hash = "sha256-sCHZsf7Y36iAesh7BeSxy9WhE/uQv13/VWmjlaVSEcU=";
|
||||||
};
|
};
|
||||||
in writeShellScriptBin "slpt" ''
|
in runCommand "slpt" {
|
||||||
#!${pkgs.runtimeShell}
|
inherit src;
|
||||||
PATH=${lib.makeBinPath [ pkgs.jq ]}:$PATH
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
${builtins.readFile "${src}/slpt"}
|
} ''
|
||||||
|
install -Dm755 "$src/slpt" "$out/bin/slpt"
|
||||||
|
patchShebangs "$out/bin/slpt"
|
||||||
|
wrapProgram "$out/bin/slpt" --prefix PATH : "${lib.makeBinPath [ jq ]}"
|
||||||
''
|
''
|
||||||
|
|||||||
@@ -1,26 +1,10 @@
|
|||||||
{ pkgs, writeTextFile, lib, linux-devshell-standalone }:
|
{ pkgs, linux-devshell-standalone }:
|
||||||
let
|
|
||||||
psScriptTemplate = builtins.readFile ./windows-devshell.ps1;
|
|
||||||
|
|
||||||
# Get the linux-devshell standalone script content and base64 encode it
|
|
||||||
linuxDevShellBase64 = lib.removeSuffix "\n"
|
|
||||||
(builtins.readFile
|
|
||||||
(pkgs.runCommand "base64-linux-devshell" {}
|
|
||||||
''
|
|
||||||
${pkgs.coreutils}/bin/base64 -w 0 ${linux-devshell-standalone} > $out
|
|
||||||
''));
|
|
||||||
|
|
||||||
# Standalone PowerShell script (single file for Windows)
|
|
||||||
windowsDevShellStandalone = writeTextFile {
|
|
||||||
name = "windows-devshell.ps1";
|
|
||||||
executable = false;
|
|
||||||
text = lib.replaceStrings ["@LINUX_DEVSHELL_BASE64@"] [linuxDevShellBase64] psScriptTemplate;
|
|
||||||
meta = {
|
|
||||||
description = "Standalone windows-devshell PowerShell script (single file)";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
windows-devshell-standalone = windowsDevShellStandalone;
|
windows-devshell-standalone = pkgs.runCommand "windows-devshell.ps1" {
|
||||||
|
meta.description = "Standalone windows-devshell PowerShell script (single file)";
|
||||||
|
} ''
|
||||||
|
linux_dev_shell_base64=$(${pkgs.coreutils}/bin/base64 -w 0 ${linux-devshell-standalone})
|
||||||
|
${pkgs.gnused}/bin/sed "s|@LINUX_DEVSHELL_BASE64@|$linux_dev_shell_base64|g" \
|
||||||
|
${./windows-devshell.ps1} > "$out"
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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 ];
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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 ];
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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 ];
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
test=${testDrv}
|
test=${testDrv}
|
||||||
${builtins.readFile ./lauch.sh}
|
${builtins.readFile ./lauch.sh}
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
linuxDevShell = linuxDevShell;
|
linuxDevShell = linuxDevShell;
|
||||||
linuxDevShellStandalone = linuxDevShellStandalone;
|
linuxDevShellStandalone = linuxDevShellStandalone;
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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;
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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;
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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 ];
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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 ];
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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 ];
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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;
|
||||||
} ''
|
} ''
|
||||||
${builtins.readFile self.legacyPackages.${system}.helpers.posix-shell.log}
|
. ${self.legacyPackages.${system}.helpers.posix-shell.log}/bin/log.sh
|
||||||
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