From a50b78b535007c3f809c0188f170e67671b083a6 Mon Sep 17 00:00:00 2001 From: Atemu Date: Mon, 21 Nov 2022 18:27:21 +0100 Subject: [PATCH] dar: use fetchzip It's cleaner to have the source files directly rather than the tarball. fetchzip unpacks tarballs after fetching them. --- pkgs/tools/backup/dar/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/backup/dar/default.nix b/pkgs/tools/backup/dar/default.nix index a364c4f13942..c697bb4f20f7 100644 --- a/pkgs/tools/backup/dar/default.nix +++ b/pkgs/tools/backup/dar/default.nix @@ -2,7 +2,7 @@ args @ { lib, stdenv, llvmPackages_12, # Anything newer than 11 - fetchurl, + fetchzip, which, attr, e2fsprogs, @@ -31,9 +31,9 @@ stdenv.mkDerivation rec { version = "2.7.7"; pname = "dar"; - src = fetchurl { + src = fetchzip { url = "mirror://sourceforge/dar/${pname}-${version}.tar.gz"; - sha256 = "sha256-wD4vUu/WWi8Ee2C77aJGDLUlFl4b4y8RC2Dgzs4/LMk="; + sha256 = "sha256-643hU28Vl0QaqdKoKdQ1Z/j5drE59/jw5xkVO/g+MSw="; }; outputs = [ "out" "dev" ];