From 72c6f8a1408cb4491f847252954518e162eaf826 Mon Sep 17 00:00:00 2001 From: "Nicolas B. Pierron" Date: Thu, 24 Dec 2015 17:49:07 +0000 Subject: Ensure that we can evaluate the platform attribute of ocaml packages. --- pkgs/development/ocaml-modules/optcomp/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development/ocaml-modules/optcomp') diff --git a/pkgs/development/ocaml-modules/optcomp/default.nix b/pkgs/development/ocaml-modules/optcomp/default.nix index b134a842c5c0..120751454151 100644 --- a/pkgs/development/ocaml-modules/optcomp/default.nix +++ b/pkgs/development/ocaml-modules/optcomp/default.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation { homepage = https://github.com/diml/optcomp; description = "Optional compilation for OCaml with cpp-like directives"; license = stdenv.lib.licenses.bsd3; - platforms = ocaml.meta.platforms; + platforms = ocaml.meta.platforms or []; maintainers = [ stdenv.lib.maintainers.gal_bolle ]; -- cgit 1.4.1