cli: remove insomnia-pod binary output

This commit is contained in:
2026-05-31 14:59:22 +09:00
parent fd32805c30
commit 0d7d3c7bf1
14 changed files with 58 additions and 102 deletions
+3 -4
View File
@@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
filter = sourceFilter;
};
cargoHash = "sha256-8TAJLV7+7Th4o5Jpsyqz+n9kiuB0FO6qxGi559otfko=";
cargoHash = "sha256-fisV77ZqAPsI0eLZIqw06HTj1CfmnL3NBHhjruZPZUE=";
depsExtraArgs = {
# nixpkgs 25.11's fetchCargoVendor still uses crates.io's API
@@ -82,8 +82,6 @@ rustPlatform.buildRustPackage rec {
);
cargoBuildFlags = [
"-p"
"pod"
"-p"
"tui"
];
@@ -103,8 +101,9 @@ rustPlatform.buildRustPackage rec {
installCheckPhase = ''
runHook preInstallCheck
"$out/bin/insomnia-pod" --help >/dev/null
"$out/bin/insomnia" pod --help >/dev/null
test -x "$out/bin/insomnia"
test ! -e "$out/bin/insomnia-pod"
if "$out/bin/insomnia" --session not-a-uuid 2>insomnia.err; then
echo "insomnia unexpectedly accepted an invalid --session value" >&2
exit 1