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 ];