steampipe: disable check on darwin

This commit is contained in:
Weijia Wang
2023-12-08 17:02:05 +01:00
parent 3dd619766a
commit 4fea03f2e0
+4 -1
View File
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
{ lib, stdenv, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "steampipe";
@@ -27,6 +27,9 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ];
# panic: could not create backups directory: mkdir /var/empty/.steampipe: operation not permitted
doCheck = !stdenv.isDarwin;
postInstall = ''
INSTALL_DIR=$(mktemp -d)
installShellCompletion --cmd steampipe \