-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ocaml-sqlite3: 2.0.9 -> 5.0.1 #77295
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not build.
Also please remove meta.platforms
.
@@ -1,18 +1,16 @@ | |||
{ stdenv, fetchurl, sqlite, ocaml, findlib, ocamlbuild, pkgconfig }: | |||
{ stdenv, fetchurl, sqlite, ocaml, pkgconfig, dune-configurator, buildDune2Package }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ stdenv, fetchurl, sqlite, ocaml, pkgconfig, dune-configurator, buildDune2Package }: | |
{ lib, fetchurl, sqlite, pkgconfig, buildDunePackage }: |
stdenv.mkDerivation rec { | ||
pname = "ocaml-sqlite3"; | ||
version = "2.0.9"; | ||
buildDune2Package rec { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buildDune2Package rec { | |
buildDunePackage rec { |
buildInputs = [ ocaml findlib ocamlbuild sqlite ]; | ||
|
||
createFindlibDestdir = true; | ||
buildInputs = [ dune-configurator ocaml sqlite ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
buildInputs = [ dune-configurator ocaml sqlite ]; | |
buildInputs = [ sqlite ]; |
buildInputs = [ ocaml findlib ocamlbuild sqlite ]; | ||
|
||
createFindlibDestdir = true; | ||
buildInputs = [ dune-configurator ocaml sqlite ]; | ||
|
||
meta = with stdenv.lib; { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
meta = with stdenv.lib; { | |
meta = with lib; { |
My testing methodology has been insufficient to catch the build failure. I've been running |
I've made the suggested improvements |
Co-Authored-By: Vincent Laporte <vbgl@users.noreply.github.com>
Motivation for this change
version bump
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @Massegi @vbgl