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
smlnjBootstrap: 110.84 -> 110.91 #57916
Conversation
@jwiegley does this look good? |
@GrahamcOfBorg build smlnjBootstrap |
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.
doesn't build
@vaibhavsagar are you able to address the build failure?
|
Unfortunately I don't have access to a Mac. |
@vaibhavsagar alright thanks. |
This pull request has been mentioned on Nix community. There might be relevant details there: |
I have to assume the build failure is due to sandboxing preventing access to |
The following appears to fix this for me: diff --git a/pkgs/development/compilers/smlnj/bootstrap.nix b/pkgs/development/compilers/smlnj/bootstrap.nix
index 2315ae28431..28f65d3ad9d 100644
--- a/pkgs/development/compilers/smlnj/bootstrap.nix
+++ b/pkgs/development/compilers/smlnj/bootstrap.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cpio, rsync, makeWrapper }:
+{ stdenv, fetchurl, cpio, rsync, xar, makeWrapper }:
stdenv.mkDerivation rec {
name = "smlnj-bootstrap-${version}";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ cpio rsync makeWrapper ];
unpackPhase = ''
- /usr/bin/xar -xf $src
+ ${xar}/bin/xar -xf $src
cd smlnj.pkg
'';
|
Thanks @lilyball! |
@vaibhavsagar I believe nixpkgs guidelines says you should squash the two commits together. |
4494071
to
f9dc8ab
Compare
I went ahead and did this, but I don't see it in the guidelines as it's not a typo or whitespace-only change: https://nixos.org/nixpkgs/manual/#submitting-changes-making-patches. |
@GrahamcOfBorg build smlnjBootstrap Thanks for your never ending awesomeness @lilyball! |
@vaibhavsagar Oops... it appears this has sat long enough it is out of date. Maybe you should rename this PR and rewrite thebump commit to the newest version. |
f9dc8ab
to
a489bcb
Compare
@aanderse updated. |
@GrahamcOfBorg build smlnjBootstrap |
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.
LGTM 👍
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)