about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2016-09-27 00:15:45 +0200
committerGitHub <noreply@github.com>2016-09-27 00:15:45 +0200
commit0973ee51e45c8f203b86136c239b63833fd0b513 (patch)
tree0bd300cf6dd5ea76f44b35a8e0c77ec7024b6298 /pkgs/development/tools/ocaml
parent553a3295c126fd9e73635bcde7dc1714a230c3f2 (diff)
parent047f105bd184d42813e076f45bb357aa9217ef28 (diff)
downloadnixlib-0973ee51e45c8f203b86136c239b63833fd0b513.tar
nixlib-0973ee51e45c8f203b86136c239b63833fd0b513.tar.gz
nixlib-0973ee51e45c8f203b86136c239b63833fd0b513.tar.bz2
nixlib-0973ee51e45c8f203b86136c239b63833fd0b513.tar.lz
nixlib-0973ee51e45c8f203b86136c239b63833fd0b513.tar.xz
nixlib-0973ee51e45c8f203b86136c239b63833fd0b513.tar.zst
nixlib-0973ee51e45c8f203b86136c239b63833fd0b513.zip
Merge pull request #18987 from maurer/oasis_typo
oasis: fix typo
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r--pkgs/development/tools/ocaml/oasis/default.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/tools/ocaml/oasis/default.nix b/pkgs/development/tools/ocaml/oasis/default.nix
index 9b69b3bb016f..eb6cd35b2561 100644
--- a/pkgs/development/tools/ocaml/oasis/default.nix
+++ b/pkgs/development/tools/ocaml/oasis/default.nix
@@ -1,11 +1,14 @@
 {stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4,
  ocamlmod, ocamlify, ounit, expect}:
 
-stdenv.mkDerivation {
-  name = "ocaml-oasis-0.4.7";
+stdenv.mkDerivation rec {
+  version = "0.4.7";
+  name = "ocaml-oasis-${version}";
 
+  # You must manually update the url, not just the version. OCamlforge keys off
+  # the number after download.php, not the filename.
   src = fetchurl {
-    url = http://forge.ocamlcore.org/frs/download.php/1635/oasis-0.4.6.tar.gz;
+    url = "http://forge.ocamlcore.org/frs/download.php/1635/oasis-${version}.tar.gz";
     sha256 = "13crvqiy0hhlnm4qfyxq2jjvs11ldxf15c4g9q91k1x3wj04pg2l";
   };