diff options
author | Nicolas B. Pierron <nicolas.b.pierron@gmail.com> | 2015-12-24 17:49:07 +0000 |
---|---|---|
committer | Nicolas B. Pierron <nicolas.b.pierron@gmail.com> | 2016-03-13 19:08:26 +0000 |
commit | 72c6f8a1408cb4491f847252954518e162eaf826 (patch) | |
tree | dfbbfa346157c198b46b56cb58e528f5cb6f6bd5 /pkgs/build-support | |
parent | 27e5397282c4706d9e4b5229ad1a6d1282073c00 (diff) | |
download | nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.gz nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.bz2 nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.lz nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.xz nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.tar.zst nixpkgs-72c6f8a1408cb4491f847252954518e162eaf826.zip |
Ensure that we can evaluate the platform attribute of ocaml packages.
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/ocaml/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/ocaml/default.nix b/pkgs/build-support/ocaml/default.nix index 87bfa6cea12..50f7627568d 100644 --- a/pkgs/build-support/ocaml/default.nix +++ b/pkgs/build-support/ocaml/default.nix @@ -11,7 +11,7 @@ let ocaml_version = (builtins.parseDrvName ocaml.name).version; defaultMeta = { - platforms = ocaml.meta.platforms; + platforms = ocaml.meta.platforms or []; }; in assert minimumSupportedOcamlVersion != null -> |