1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/development/pharo/vm/default.nix
Balletie 96600d5770
pharo-vm: Add third-party libraries to LD_LIBRARY_PATH of legacy VM
This commit adds the third party libraries needed by the default Pharo
environment to the LD_LIBRARY_PATH, by using makeWrapper.
2017-06-30 14:07:46 +02:00

16 lines
346 B
Nix

{ stdenv, callPackage, callPackage_i686, makeWrapper, ...} @pkgs:
let
i686 = callPackage_i686 ./vms.nix {};
native = callPackage ./vms.nix {};
in
rec {
cog32 = i686.cog;
spur32 = i686.spur;
spur64 = if stdenv.is64bit then native.spur else "none";
multi-vm-wrapper = callPackage ../wrapper { inherit cog32 spur32 spur64; };
}