diff options
author | Luke Gorrie <luke@snabb.co> | 2017-07-05 04:54:50 +0000 |
---|---|---|
committer | Luke Gorrie <luke@snabb.co> | 2017-07-05 04:54:50 +0000 |
commit | af92427f46f866327d757df8c0ed05ba129847a6 (patch) | |
tree | e5308b92aea340cd7932261282fbe789254ac507 /pkgs/development/pharo | |
parent | 448fe16856176a633e4e05d82ac57983d5e61bfa (diff) | |
download | nixpkgs-af92427f46f866327d757df8c0ed05ba129847a6.tar nixpkgs-af92427f46f866327d757df8c0ed05ba129847a6.tar.gz nixpkgs-af92427f46f866327d757df8c0ed05ba129847a6.tar.bz2 nixpkgs-af92427f46f866327d757df8c0ed05ba129847a6.tar.lz nixpkgs-af92427f46f866327d757df8c0ed05ba129847a6.tar.xz nixpkgs-af92427f46f866327d757df8c0ed05ba129847a6.tar.zst nixpkgs-af92427f46f866327d757df8c0ed05ba129847a6.zip |
pharo: Compile with -DPharoVM
This is important. The VM was not compiled in "Pharo mode" and this made certain primitives return different values to the Smalltalk side. (Practically speaking I am surprised that the VM has been working basically fine for me for weeks, but this resolves a problem with adding filetree:// repositories with Monticello that failed in an obscure way when the file permissions lookup primitive did not behave as expected.) See also: https://pharo.fogbugz.com/f/cases/20217/Image-does-not-detect-incompatible-opensmalltalk-vm
Diffstat (limited to 'pkgs/development/pharo')
-rw-r--r-- | pkgs/development/pharo/vm/build-vm.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/pharo/vm/build-vm.nix b/pkgs/development/pharo/vm/build-vm.nix index 2f2e125ea39..054b64db732 100644 --- a/pkgs/development/pharo/vm/build-vm.nix +++ b/pkgs/development/pharo/vm/build-vm.nix @@ -41,7 +41,7 @@ stdenv.mkDerivation rec { configureFlags = [ "--without-npsqueak" "--with-vmversion=5.0" "--with-src=${vm}" ]; - CFLAGS = "-msse2 -D_GNU_SOURCE -DCOGMTVM=0 -g -O2 -DNDEBUG -DDEBUGVM=0"; + CFLAGS = "-DPharoVM -DIMMUTABILITY=1 -msse2 -D_GNU_SOURCE -DCOGMTVM=0 -g -O2 -DNDEBUG -DDEBUGVM=0"; LDFLAGS = "-Wl,-z,now"; # VM sources require some patching before build. |