multipass: fix broken fetch of git submodules in build

authored by Jon Seager and committed by Dawid Dziurla 2d706ffa c757e9bd

+7 -1
+7 -1
pkgs/tools/virtualization/multipass/default.nix
··· 46 owner = "canonical"; 47 repo = "multipass"; 48 rev = "refs/tags/v${version}"; 49 - hash = "sha256-OWZiVw3ztx1g1slq/5a7/JcLdDNB5RqYT5U3w1UXUpg="; 50 fetchSubmodules = true; 51 }; 52 53 patches = [
··· 46 owner = "canonical"; 47 repo = "multipass"; 48 rev = "refs/tags/v${version}"; 49 + hash = "sha256-1k0jbYMwfYuHmM/Cm76sbo3+mN6WypALMQBwlZ+9d+c="; 50 fetchSubmodules = true; 51 + leaveDotGit = true; 52 + postFetch = '' 53 + # Workaround for https://github.com/NixOS/nixpkgs/issues/8567 54 + cd $out 55 + rm -rf .git 56 + ''; 57 }; 58 59 patches = [