default.nix should continue to work, but module.nix now needs to be passed a system-agnostic reference to the php52 package.