Unverified Commit 2d706ffa authored by Jon Seager's avatar Jon Seager Committed by Dawid Dziurla
Browse files

multipass: fix broken fetch of git submodules in build

parent c757e9bd
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -46,8 +46,14 @@ stdenv.mkDerivation
    owner = "canonical";
    repo = "multipass";
    rev = "refs/tags/v${version}";
    hash = "sha256-OWZiVw3ztx1g1slq/5a7/JcLdDNB5RqYT5U3w1UXUpg=";
    hash = "sha256-1k0jbYMwfYuHmM/Cm76sbo3+mN6WypALMQBwlZ+9d+c=";
    fetchSubmodules = true;
    leaveDotGit = true;
    postFetch = ''
      # Workaround for https://github.com/NixOS/nixpkgs/issues/8567
      cd $out
      rm -rf .git
    '';
  };

  patches = [