From 42555e0df78d50d4bc427da5976278547af7b363 Mon Sep 17 00:00:00 2001 From: rm-dr <96270320+rm-dr@users.noreply.github.com> Date: Sun, 15 Oct 2023 11:37:02 -0700 Subject: [PATCH] Updated default.nix --- default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/default.nix b/default.nix index 57a77ab..24bc750 100644 --- a/default.nix +++ b/default.nix @@ -4,14 +4,14 @@ rustPlatform.buildRustPackage rec { version = "1.1.6"; cargoLock.lockFile = src + /Cargo.lock; - src = fetchgit { + src = builtins.fetchGit { url = "https://github.com/rm-dr/daisy.git"; - rev = "v${version}"; - sha256 = ""; + ref = "refs/tags/v${version}"; + #rev = ""; Ideally, we'd have a hash here, but that would make git history messy. }; meta = with lib; { - description = "A pretty command-line scientific calculator"; + description = "A general-purpose scientific calculator"; homepage = "https://github.com/rm-dr/daisy"; #license = licenses.GPL; maintainers = [ maintainers.tailhook ];