<div dir="ltr"><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 23 Feb 2019 at 21:20, Jose San Leandro <<a href="mailto:jose@sanleandro.me">jose@sanleandro.me</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I'm using the Nix package you mentioned, but in fact it's building the <br>
VM from scratch.<br>
If you take a look at the "derivation" (Nix jargon), you can see that it <br>
builds the VM using the standard autotools, plus:<br>
<br>
- The configure phase uses these modifiers: --without-npsqueak <br>
--with-vmversion=5.0<br>
- The make phase phase uses these CFLAGS: -DPharoVM -DIMMUTABILITY=1 <br>
-msse2 -D_GNU_SOURCE -DCOGMTVM=0 -g -O2 -DNDEBUG -DDEBUGVM=0 and <br>
LDFLAGS: -Wl,-z,now<br>
- Uses the plugins.{ext,int} from cog.spur folder, verbatim.<br>
<br>
The dependencies are the ones in the list at the beginning of the file, <br>
and the "libs" variables in the "installPhase".<br>
<br>
However, I'll try that same package now that my "blank" desktop problem <br>
reproduces also in Pharo6 images. At first, I thought it was <br>
Pharo7-specific.<br>
I'm using tag pharo7.0.0 [2] of github's opensmalltalk/opensmalltalk-vm. <br>
Could that be an issue? Should I use a different branch?<br></blockquote><div><br></div><div>That should be the tag to run a Pharo 7 image, </div><div>but above I see `--with-vmversion=5.0` and not sure the impact of that.</div><div><br></div><div>Mostly the VMs are backward compatible, so unless someone advises of a specific counter-case</div><div>Pharo7.0.0 VM should run Pharo 6 Images.  </div><div><br></div><div>What is the last VM/Image you saw working on Nix?</div><div>You might need to bisect from there.  I'd keep the Image the same while you move the VM forward.</div><div> </div><div>cheers -ben</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks!<br>
<br>
[1] <br>
<a href="https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/pharo/vm/build-vm.nix" rel="noreferrer" target="_blank">https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/pharo/vm/build-vm.nix</a><br>
[2] <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/pharo7.0.0" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/pharo7.0.0</a><br>
</blockquote></div></div>