From 6f215497d3577d98fb3f8c637535829e8d4b65d4 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 21 Jun 2024 21:07:45 +0100 Subject: [PATCH] change fetch back to url from tarball --- default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index 9fddf0d..17a5257 100644 --- a/default.nix +++ b/default.nix @@ -1,13 +1,16 @@ { ... }: let pkgs = import {}; - inherit (pkgs) stdenv autoPatchelfHook; + inherit (pkgs) stdenv fetchurl autoPatchelfHook; in { MultiMC = stdenv.mkDerivation rec { pname = "MultiMC"; version = "develop"; - - src = builtins.fetchTarball "https://files.multimc.org/downloads/mmc-develop-lin64.tar.gz"; + + src = fetchurl { + url = "https://files.multimc.org/downloads/mmc-develop-lin64.tar.gz"; + sha256 = "c70c9b8d152d33d2f64d91109939a2f21f9717cf0d16e316c796443273141e15"; + }; nativeBuildInputs = with pkgs; [ autoPatchelfHook qt5.wrapQtAppsHook ];