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
esy: init at 0.6.6 #96234
esy: init at 0.6.6 #96234
Conversation
I'm not in favor of using an FHS root for this, but I'm also not using reason anymore so feel free to discard my opinion. |
Benefit of the FHS root is the OPAM ecosystem will work without requiring changes to any packages. I do not have an amazing amount of experience with Nix though, so I am unsure what the trade-offs are with this solution. I copied this approach from the flutter compiler. |
Following on from PR NixOS#65098, this commit makes dose3 compile (all that was missing was to compile the native version of cudf), and also esy. Various packages have been updated too, and esy's node dependency esy-solve-cudf has been packaged. A new overlay is added for esyOcamlPackages, as mainline cmdliner and angstrom doesn't successfully compile esy. It's anticipated that more esy-specific deviations might occur. Most of these changes were taken and adapted from esy/esy#994 and NixOS#85835 Co-authored-by: Xavier Zwirtz <me@xavierzwirtz.com>
|
||
meta = { | ||
description = "CUDF (for Common Upgradeability Description Format) is a format for describing upgrade scenarios in package-based Free and Open Source Software distribution."; | ||
license = stdenv.lib.licenses.lgpl3; |
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.
Please add yourself as a maintainer.
createFindlibDestdir = true; | ||
|
||
meta = { | ||
description = "CUDF (for Common Upgradeability Description Format) is a format for describing upgrade scenarios in package-based Free and Open Source Software distribution."; |
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.
description = "CUDF (for Common Upgradeability Description Format) is a format for describing upgrade scenarios in package-based Free and Open Source Software distribution."; | |
description = "Format for describing upgrade scenarios in package-based Free and Open Source Software distribution"; |
|
||
meta = { | ||
description = "CUDF (for Common Upgradeability Description Format) is a format for describing upgrade scenarios in package-based Free and Open Source Software distribution."; | ||
license = stdenv.lib.licenses.lgpl3; |
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.
license = stdenv.lib.licenses.lgpl3; | |
license = lib.licenses.lgpl3; |
plus or only?
{ stdenv, fetchurl, ocaml, ocamlbuild, findlib | ||
, cppo, cudf, ocamlgraph, ocaml_extlib, re, perl, ncurses }: | ||
|
||
let base_patch_url = "https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/dose3/dose3.5.0.1/files"; |
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.
Please replace the version number with the version variable.
|
||
meta = { | ||
description = "Dose library (part of Mancoosi tools)."; | ||
license = stdenv.lib.licenses.lgpl3; |
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.
Please add yourself as a maintainer.
license = stdenv.lib.licenses.lgpl3; | |
license = lib.licenses.lgpl3; |
plus or only?
meta = { | ||
homepage = https://github.com/andreypopp/esy-solve-cudf; | ||
description = "package.json workflow for native development with Reason/OCaml"; | ||
license = stdenv.lib.licenses.gpl3; |
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.
same as above.
I marked this as stale due to inactivity. → More info |
Stale |
Motivation for this change
Packaging of the esy package manager, by building on #65098, #85835 and esy/esy#994.
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)