I’m facing a strange issue:
I need recent fixes in podman
and defined an overlay to get podman-4.1.0
:
self: super:
{
podman = super.podman.overrideAttrs (old: rec {
pname = "podman";
version = "4.1.0";
src = super.fetchFromGitHub {
owner = "containers";
repo = pname;
rev = "v${version}";
sha256 = "sha256-3MR4ZhkhMLAK3KHu7JEV9z1/wlyCkxfx1i267TGxwt8=";
};
});
}
With rebuild it is evaluated (I can see that because a wrong sha256
leads to an error) but the derivation is not actually placed in the nix store and not available, even though I have multiple references using pkgs.podman
.
If instead I choose podman.unwrapped = super.podman.unwrapped.overrideAttrs ...
it appears to have more effect (the package is actually being built), but I get build errors like
> make: *** No rule to make target 'install.man-nobuild'. Stop.
So the question: why does this overlay not work and how to correctly apply this kind of overlay (where apparently system modules might refer both to the wrapped and unwrapped versions)?