From 72ef651f55fd2285716a5e61d6e458227e14da00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Zimmermann?= Date: Tue, 12 Nov 2019 13:24:35 +0100 Subject: [PATCH] ocamlPackages.utop: fix source By using the provided tbz file instead of the auto-generated GitHub tarball, we ensure that strings like %%VERSION%% have been properly generated. --- pkgs/development/tools/ocaml/utop/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/ocaml/utop/default.nix b/pkgs/development/tools/ocaml/utop/default.nix index 7662041a488217..290ab9b571f40b 100644 --- a/pkgs/development/tools/ocaml/utop/default.nix +++ b/pkgs/development/tools/ocaml/utop/default.nix @@ -11,8 +11,8 @@ stdenv.mkDerivation rec { version = "2.4.2"; src = fetchurl { - url = "https://github.com/diml/utop/archive/${version}.tar.gz"; - sha256 = "0fl8524vmxb9yxjwrh5varvfp0ff3sgfp627knwbxxr69w45ad8h"; + url = "https://github.com/ocaml-community/utop/releases/download/${version}/utop-${version}.tbz"; + sha256 = "0y2v8rkfz19nlz8gh0lkh5wx5hyvw5gl4nw1kg8j2pw9jnilq5nb"; }; nativeBuildInputs = [ makeWrapper ];