nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocamlPackages: default to version 3 of Dune

+22 -19
+1 -1
pkgs/build-support/ocaml/dune.nix
··· 3 3 { pname, version, nativeBuildInputs ? [], enableParallelBuilding ? true, ... }@args: 4 4 5 5 let Dune = 6 - let dune-version = args.duneVersion or "2"; in 6 + let dune-version = args.duneVersion or "3"; in 7 7 { "1" = dune_1; "2" = dune_2; "3" = dune_3; }."${dune-version}" 8 8 ; in 9 9
+3 -5
pkgs/development/ocaml-modules/dune-build-info/default.nix
··· 1 - { lib, buildDunePackage, dune_2, dune-action-plugin }: 1 + { lib, buildDunePackage, dune-action-plugin }: 2 2 3 3 buildDunePackage rec { 4 4 pname = "dune-build-info"; 5 - inherit (dune_2) src version patches; 6 - 7 - useDune2 = true; 5 + inherit (dune-action-plugin) src version preBuild; 8 6 9 7 dontAddPrefix = true; 10 8 11 9 buildInputs = [ dune-action-plugin ]; 12 10 13 11 meta = with lib; { 14 - inherit (dune_2.meta) homepage; 12 + inherit (dune-action-plugin.meta) homepage; 15 13 description = "Embed build information inside executables"; 16 14 maintainers = [ maintainers.bcdarwin ]; 17 15 license = licenses.mit;
+8 -5
pkgs/development/ocaml-modules/dune-configurator/default.nix
··· 1 - { lib, buildDunePackage, dune_2, csexp, result }: 1 + { lib, buildDunePackage, dune_3, csexp }: 2 2 3 3 buildDunePackage rec { 4 4 pname = "dune-configurator"; 5 5 6 - inherit (dune_2) src version patches; 6 + inherit (dune_3) src version patches; 7 7 8 - duneVersion = "2"; 8 + # This fixes finding csexp 9 + postPatch = '' 10 + rm -rf vendor/pp vendor/csexp 11 + ''; 9 12 10 - minimalOCamlVersion = "4.03"; 13 + minimalOCamlVersion = "4.05"; 11 14 12 15 dontAddPrefix = true; 13 16 14 - propagatedBuildInputs = [ csexp result ]; 17 + propagatedBuildInputs = [ csexp ]; 15 18 16 19 meta = with lib; { 17 20 description = "Helper library for gathering system configuration";
+1 -1
pkgs/development/ocaml-modules/lame/default.nix
··· 4 4 pname = "lame"; 5 5 version = "0.3.6"; 6 6 7 - minimalOCamlVersion = "4.03"; 7 + minimalOCamlVersion = "4.06"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "savonet";
+2
pkgs/development/ocaml-modules/lo/default.nix
··· 4 4 pname = "lo"; 5 5 version = "0.2.0"; 6 6 7 + minimalOCamlVersion = "4.06"; 8 + 7 9 src = fetchFromGitHub { 8 10 owner = "savonet"; 9 11 repo = "ocaml-lo";
+2
pkgs/development/ocaml-modules/ocaml-gettext/stub.nix
··· 6 6 7 7 inherit (ocaml_gettext) src version; 8 8 9 + minimalOCamlVersion = "4.06"; 10 + 9 11 buildInputs = [ dune-configurator ]; 10 12 11 13 propagatedBuildInputs = [ ocaml_gettext ];
+4 -4
pkgs/development/ocaml-modules/ounit2/default.nix
··· 1 1 { lib, ocaml, buildDunePackage, fetchurl, seq, stdlib-shims, ncurses }: 2 2 3 - buildDunePackage rec { 3 + buildDunePackage (rec { 4 4 minimalOCamlVersion = "4.04"; 5 5 6 6 pname = "ounit2"; 7 7 version = "2.2.6"; 8 - 9 - duneVersion = if lib.versionAtLeast ocaml.version "4.08" then "2" else "1"; 10 8 11 9 src = fetchurl { 12 10 url = "https://github.com/gildor478/ounit/releases/download/v${version}/ounit-${version}.tbz"; ··· 22 24 license = licenses.mit; 23 25 maintainers = with maintainers; [ sternenseemann ]; 24 26 }; 25 - } 27 + } // lib.optionalAttrs (!lib.versionAtLeast ocaml.version "4.08") { 28 + duneVersion = "1"; 29 + })
-2
pkgs/development/ocaml-modules/shine/default.nix
··· 4 4 pname = "shine"; 5 5 version = "0.2.3"; 6 6 7 - duneVersion = "2"; 8 - 9 7 src = fetchFromGitHub { 10 8 owner = "savonet"; 11 9 repo = "ocaml-shine";
+1 -1
pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
··· 6 6 pname = "js_of_ocaml-ocamlbuild"; 7 7 version = "5.0"; 8 8 9 - minimalOCamlVersion = "4.02"; 9 + minimalOCamlVersion = "4.03"; 10 10 11 11 src = fetchurl { 12 12 url = "https://github.com/ocsigen/js_of_ocaml-ocamlbuild/releases/download/${version}/js_of_ocaml-ocamlbuild-${version}.tbz";