Skip to content

Commit 6f4a52d

Browse files
[Backport release-25.11] podman: fix cross compilation build (#471246)
2 parents 6bd7162 + bef413e commit 6f4a52d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkgs/by-name/po/podman/package.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
pkg-config,
66
installShellFiles,
77
buildGoModule,
8+
buildPackages,
89
gpgme,
910
lvm2,
1011
btrfs-progs,
1112
libapparmor,
1213
libseccomp,
1314
libselinux,
1415
systemd,
15-
go-md2man,
1616
nixosTests,
1717
python3,
1818
makeBinaryWrapper,
@@ -70,7 +70,6 @@ buildGoModule (finalAttrs: {
7070

7171
nativeBuildInputs = [
7272
pkg-config
73-
go-md2man
7473
installShellFiles
7574
makeBinaryWrapper
7675
python3
@@ -89,6 +88,7 @@ buildGoModule (finalAttrs: {
8988
env = {
9089
HELPER_BINARIES_DIR = "${placeholder "out"}/libexec/podman"; # used in buildPhase & installPhase
9190
PREFIX = "${placeholder "out"}";
91+
GOMD2MAN = "${buildPackages.go-md2man}/bin/go-md2man";
9292
};
9393

9494
buildPhase = ''

0 commit comments

Comments
 (0)