git.iko.soy/typeable/nixpkgs
on master help sign in
oasis: fix typo

The URL uses the filename of 0.4.6 in the 0.4.7 package. The package still works currently and provides 0.4.7, because ocamlforge dispatches entirely based on the number before that, the filename is just sugar.

commit047f105bd184d42813e076f45bb357aa9217ef28 authorMatthew Maurer <matthew.r.maurer@gmail.com> dateMon 26 Sep 2016, 17:30 (10 years ago) parent2af7051
1 file changed+6−3
pkgs/development/tools/ocaml/oasis/default.nix+6−3
pkgs/development/tools/ocaml/oasis/default.nix+6−3
@@ -1,11 +1,14 @@
11{stdenv, fetchurl, ocaml, findlib, ocaml_data_notation, type_conv, camlp4,
22 ocamlmod, ocamlify, ounit, expect}:
33
4−stdenv.mkDerivation {
5− name = "ocaml-oasis-0.4.7";
4+stdenv.mkDerivation rec {
5+ version = "0.4.7";
6+ name = "ocaml-oasis-${version}";
67
8+ # You must manually update the url, not just the version. OCamlforge keys off
9+ # the number after download.php, not the filename.
710 src = fetchurl {
8− url = http://forge.ocamlcore.org/frs/download.php/1635/oasis-0.4.6.tar.gz;
11+ url = "http://forge.ocamlcore.org/frs/download.php/1635/oasis-${version}.tar.gz";
912 sha256 = "13crvqiy0hhlnm4qfyxq2jjvs11ldxf15c4g9q91k1x3wj04pg2l";
1013 };
1114