summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/utop
diff options
context:
space:
mode:
authorThéo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2019-11-12 13:24:35 +0100
committerThéo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2019-11-12 13:24:44 +0100
commit72ef651f55fd2285716a5e61d6e458227e14da00 (patch)
tree9aa6155ed655f7cfe5aec77e7929c235add5d4ff /pkgs/development/tools/ocaml/utop
parente3065afa4434bf19fd61e89f05145b5a868310b6 (diff)
downloadnixpkgs-72ef651f55fd2285716a5e61d6e458227e14da00.tar
nixpkgs-72ef651f55fd2285716a5e61d6e458227e14da00.tar.gz
nixpkgs-72ef651f55fd2285716a5e61d6e458227e14da00.tar.bz2
nixpkgs-72ef651f55fd2285716a5e61d6e458227e14da00.tar.lz
nixpkgs-72ef651f55fd2285716a5e61d6e458227e14da00.tar.xz
nixpkgs-72ef651f55fd2285716a5e61d6e458227e14da00.tar.zst
nixpkgs-72ef651f55fd2285716a5e61d6e458227e14da00.zip
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.
Diffstat (limited to 'pkgs/development/tools/ocaml/utop')
-rw-r--r--pkgs/development/tools/ocaml/utop/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/ocaml/utop/default.nix b/pkgs/development/tools/ocaml/utop/default.nix
index 7662041a488..290ab9b571f 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 ];