summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/camomile/0.8.2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/camomile/0.8.2.nix')
-rw-r--r--pkgs/development/ocaml-modules/camomile/0.8.2.nix8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/camomile/0.8.2.nix b/pkgs/development/ocaml-modules/camomile/0.8.2.nix
index 9f7201708afd..63daf21e4080 100644
--- a/pkgs/development/ocaml-modules/camomile/0.8.2.nix
+++ b/pkgs/development/ocaml-modules/camomile/0.8.2.nix
@@ -1,12 +1,8 @@
 {stdenv, fetchurl, ocaml, findlib, camlp4}:
 
-let
-  ocaml_version = (builtins.parseDrvName ocaml.name).version;
-  version = "0.8.2";
-in
-
-stdenv.mkDerivation {
+stdenv.mkDerivation rec {
   name = "camomile-${version}";
+  version = "0.8.2";
 
   src = fetchurl {
     url = "mirror://sourceforge/camomile/camomile-${version}.tar.bz2";