Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b092bdccfacc
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ef0e64ec60a9
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Apr 2, 2021

  1. Copy the full SHA
    ef0e64e View commit details
Showing with 6 additions and 2 deletions.
  1. +6 −2 pkgs/development/ocaml-modules/sosa/default.nix
8 changes: 6 additions & 2 deletions pkgs/development/ocaml-modules/sosa/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{ lib, fetchFromGitHub, stdenv
, findlib, nonstd, ocaml, ocamlbuild
, findlib, ocaml, ocamlbuild
}:

if !lib.versionAtLeast ocaml.version "4.02"
then throw "sosa is not available for OCaml ${ocaml.version}"
else

stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-sosa-${version}";
version = "0.3.0";
@@ -13,7 +17,7 @@ stdenv.mkDerivation rec {
sha256 = "053hdv6ww0q4mivajj4iyp7krfvgq8zajq9d8x4mia4lid7j0dyk";
};

buildInputs = [ nonstd ocaml ocamlbuild findlib ];
buildInputs = [ ocaml ocamlbuild findlib ];

buildPhase = "make build";