release.nix: add code that enables release builds on all available platforms