From 4f3b71e2a0061fcd56ec5f2d8529134e5ddbf1d1 Mon Sep 17 00:00:00 2001 From: Nikolaos Karaolidis Date: Mon, 7 Jul 2025 09:23:01 +0100 Subject: [PATCH] Add temporary crun fix Signed-off-by: Nikolaos Karaolidis --- hosts/common/configs/system/podman/default.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/hosts/common/configs/system/podman/default.nix b/hosts/common/configs/system/podman/default.nix index 0974d21..6314c6d 100644 --- a/hosts/common/configs/system/podman/default.nix +++ b/hosts/common/configs/system/podman/default.nix @@ -2,6 +2,20 @@ { imports = [ inputs.quadlet-nix.nixosModules.quadlet ]; + # FIXME: https://github.com/containers/crun/pull/1807 + nixpkgs.overlays = [ + (final: prev: { + crun = prev.crun.overrideAttrs (oldAttrs: { + patches = oldAttrs.patches or [ ] ++ [ + (builtins.fetchurl { + url = "https://patch-diff.githubusercontent.com/raw/containers/crun/pull/1807.patch"; + sha256 = "sha256:04s11r4ffjzlxzbwjk2s7vcgykllbmc0jgl0b1va5rxqvxs2c6hb"; + }) + ]; + }); + }) + ]; + virtualisation = { podman.enable = true;