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
hop: 2.5.1 → 3.3.0 #97887
hop: 2.5.1 → 3.3.0 #97887
Conversation
configureFlags = [ | ||
"--bigloo=${bigloo}/bin/bigloo" | ||
"--bigloolibdir=${bigloo}/lib/bigloo/4.1a/" | ||
"--bigloolibdir=${bigloo}/lib/bigloo/4.3h/" |
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.
You might be able to lower the future maintenance burden here by using bigloo.name
and builtins.parseDrvName
to extract the correct version.
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.
Parsing a name in order to guess an install directory seems fishy. Maintaining fishy code may not qualify for lowering the maintenance burden.
Thanks nonetheless for the suggestion.
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.
Dude, extracting the version number from a package's name
is the standard way of doing it (that's why there's a parseDrvName
function in builtins
) and we "guess" directory names from version numbers every time we use python.sitePackages
(everywhere) - but you're the maintainer...
Fails to build for me on macos 10.14:
|
Result of 2 packages built:
|
Thanks for testing! The macOS issue looks like an upstream bug to me… I’ve just pushed a fix (I hope, as I cannot test). |
The darwin fix is definitely a step closer - just think it needs one more addition which I'm now testing... |
Hmm, no, I haven't quite got to the bottom of it. I do know you've got to provide |
I’ve just added the missing dependency of bigloo for macOS. Please let me know if you understand the linking issue. |
I ... think I lack the macos-fu to figure this one out unfortunately. |
The configure process tries to escape the sandbox by writing into /tmp
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.
Merged the |
This fixes the build of Hop and then updates it to the most recent version (along with the tightly coupled bigloo compiler).
Motivation for this change
Hop is currently broken.
ZHF: #97479
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)cc @thoughtpolice maintainer of bigloo