change fetch back to url from tarball

This commit is contained in:
Michael 2024-06-21 21:07:45 +01:00
parent 8da070e785
commit 6f215497d3

View File

@ -1,13 +1,16 @@
{ ... }: { ... }:
let let
pkgs = import <nixpkgs> {}; pkgs = import <nixpkgs> {};
inherit (pkgs) stdenv autoPatchelfHook; inherit (pkgs) stdenv fetchurl autoPatchelfHook;
in { in {
MultiMC = stdenv.mkDerivation rec { MultiMC = stdenv.mkDerivation rec {
pname = "MultiMC"; pname = "MultiMC";
version = "develop"; 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 ]; nativeBuildInputs = with pkgs; [ autoPatchelfHook qt5.wrapQtAppsHook ];