From 81de2d9d8c8a5e3ac347e308848fb5d4a0054a91 Mon Sep 17 00:00:00 2001 From: Gregory Bednov Date: Fri, 3 Jan 2025 15:29:32 +0300 Subject: [PATCH] Update flake.nix --- flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 4cb251f..147b600 100644 --- a/flake.nix +++ b/flake.nix @@ -13,11 +13,12 @@ stm32cubemx = pkgs.stdenv.mkDerivation rec { pname = "stm32cubemx"; version = "6.11.1"; - src = builtins.fetchTarball { + src = pkgs.fetchzip { url = "http://kafpi.local/stm32cubemx_v${ builtins.replaceStrings [ "." ] [ "" ] version - }-lin.tar.gz"; - sha256 = "1aq35pmn6201dcaprdqj126b4mzfkga70gil36iqp84bhg7jq6zb"; + }-lin.zip"; + hash = ""; + stripRoot = false; }; nativeBuildInputs = with pkgs; [