From bc002a41809b6621019d673cec1567714aedeb49 Mon Sep 17 00:00:00 2001 From: K900 Date: Fri, 31 Jan 2025 20:16:01 +0300 Subject: [PATCH] qemu: remove broken symlink The hook needs to be fixed, but that's for the next cycle. For now, just delete the symlink. --- pkgs/applications/virtualization/qemu/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix index 63675696b3b3..9009bb618acd 100644 --- a/pkgs/applications/virtualization/qemu/default.nix +++ b/pkgs/applications/virtualization/qemu/default.nix @@ -226,6 +226,9 @@ stdenv.mkDerivation (finalAttrs: { # injected by the pkgsStatic stdenv # rm -f $out/nix-support/propagated-build-inputs + '' + lib.optionalString finalAttrs.separateDebugInfo '' + # HACK: remove broken symlink created by hook + rm $debug/lib/debug/s390-ccw.img ''; preBuild = "cd build";