Skip to content

podman: enable on all Unix platforms - #536759

Merged
dotlambda merged 1 commit into
NixOS:masterfrom
dotlambda:podman
Jun 29, 2026
Merged

dotlambda merged 1 commit into
NixOS:masterfrom
dotlambda:podman

Conversation

@dotlambda

Copy link
Copy Markdown
Member

According to https://podman.io/docs/installation it works at least on FreeBSD, Linux, and macOS.

Things done

@dotlambda dotlambda mentioned this pull request Jun 29, 2026
3 of 13 tasks
@dotlambda
dotlambda requested a review from totoroot June 29, 2026 18:48
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team June 29, 2026 18:53
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Jun 29, 2026
@dotlambda
dotlambda added this pull request to the merge queue Jun 29, 2026
Merged via the queue into NixOS:master with commit c96fe92 Jun 29, 2026
28 checks passed
@dotlambda
dotlambda deleted the podman branch June 29, 2026 20:24
@totoroot

Copy link
Copy Markdown
Contributor

@dotlambda Thank you!

@SuperSandroBot

Copy link
Copy Markdown

❌ nixpkgs-review result

Generated using nixpkgs-review-gha (0a7f1f5)

Command: nixpkgs-review pr 536759
Commit: e288608304d1f6a42d84c4b821555130db046ef0 (subsequent changes)
Merge: ce4676bea357741ffaa68c20bc2364347900a338

Logs: https://github.com/SuperSandro2000/nixpkgs-review-gha/actions/runs/28399331266/attempts/1


aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • ramalama
✅ 8 packages built:
  • ansible-builder (python313Packages.ansible-builder)
  • ansible-navigator
  • out-of-tree
  • podman
  • podman-desktop
  • python314Packages.ansible-builder
  • sh4d0wup
  • snouty

@otaconix

otaconix commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

I'm not exactly sure how, but it seems this commit removed aarch64-darwin (or any other darwin platform) from the list of platforms podman builds on:

       error: Refusing to evaluate package 'podman-5.8.4' in /nix/store/gv5yl4a5a02vd286nahimzhkxmvmdygn-source/pkgs/by-name/po/podman/package.nix:197 because it is not available on the requested hostPlatform:
         hostPlatform.system = "aarch64-darwin"
         package.meta.platforms = [
           "aarch64-linux"
           "arc-linux"
           "armv5tel-linux"
           "armv6l-linux"
           "armv7a-linux"
           "armv7l-linux"
           "i686-linux"
           "loongarch64-linux"
           "m68k-linux"
           "sh4-linux"
           "microblaze-linux"
           "microblazeel-linux"
           "mips-linux"
           "mips64-linux"
           "mips64el-linux"
           "mipsel-linux"
           "powerpc-linux"
           "powerpc64-linux"
           "powerpc64le-linux"
           "riscv32-linux"
           "riscv64-linux"
           "s390-linux"
           "s390x-linux"
           "x86_64-linux"
         ]
         package.meta.badPlatforms = [ ]

EDIT: See the comment by @rvolosatovs below for why I'm wrong :)

@rvolosatovs

Copy link
Copy Markdown
Member

I'm not exactly sure how, but it seems this commit removed aarch64-darwin (or any other darwin platform) from the list of platforms podman builds on:

       error: Refusing to evaluate package 'podman-5.8.4' in /nix/store/gv5yl4a5a02vd286nahimzhkxmvmdygn-source/pkgs/by-name/po/podman/package.nix:197 because it is not available on the requested hostPlatform:
         hostPlatform.system = "aarch64-darwin"
         package.meta.platforms = [
           "aarch64-linux"
           "arc-linux"
           "armv5tel-linux"
           "armv6l-linux"
           "armv7a-linux"
           "armv7l-linux"
           "i686-linux"
           "loongarch64-linux"
           "m68k-linux"
           "sh4-linux"
           "microblaze-linux"
           "microblazeel-linux"
           "mips-linux"
           "mips64-linux"
           "mips64el-linux"
           "mipsel-linux"
           "powerpc-linux"
           "powerpc64-linux"
           "powerpc64le-linux"
           "riscv32-linux"
           "riscv64-linux"
           "s390-linux"
           "s390x-linux"
           "x86_64-linux"
         ]
         package.meta.badPlatforms = [ ]

This PR should actually fix it, the problematic commit is ebd782b from #536067

You should be able to either roll back the nixpkgs pin temporarily to fix this or pull in podman from latest master, because it does not seem like this change has propagated to nixpkgs-unstable yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants