Skip to content

Commit

Permalink
podman-tui: reformat + cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Jan 31, 2025
1 parent 6f6f573 commit a74cba7
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions pkgs/by-name/po/podman-tui/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{ lib, stdenv, fetchFromGitHub, buildGoModule, testers, podman-tui }:
{
lib,
stdenv,
fetchFromGitHub,
buildGoModule,
testers,
podman-tui,
}:

buildGoModule rec {
pname = "podman-tui";
Expand All @@ -15,15 +22,15 @@ buildGoModule rec {

env.CGO_ENABLED = 0;

tags = [ "containers_image_openpgp" "remote" ]
++ lib.optional stdenv.hostPlatform.isDarwin "darwin";
tags = [
"containers_image_openpgp"
"remote"
] ++ lib.optional stdenv.hostPlatform.isDarwin "darwin";

ldflags = [ "-s" "-w" ];

preCheck = ''
export USER="$(whoami)"
export HOME="$(mktemp -d)"
'';
ldflags = [
"-s"
"-w"
];

checkFlags =
let
Expand Down

0 comments on commit a74cba7

Please sign in to comment.