"If you don't want to help create war machines you can't contribute" is your solution, not mine.
Historically the conventions of open source has been that use is completely without restriction, but there has always been conflict about that. The domain is new enough that I wouldn't consider it settled yet.
I know very many people who would refuse to work for certain companies and in certain industries — and have rejected certain projects — but would happily contribute to something MIT licensed that would end up in those systems anyway!
> it is in fact your purview to "ideologically police" the uses your work is applied to
But this seems like a fantasy to me and directly at odds with the realities of open source.
The reality is that open source code is used for a myriad of purposes that I would consider myself ideologically opposed to. But this is ultimately the cost and tradeoff of open source in the system we currently have. Similar to the argument for free speech, in which we tolerate the fact that people have the right to say truly awful things because we deem that an acceptable tradeoff and better than censorship.
You may also be right that this is a matter that is not yet settled, and I'd be interested in a serious discussion about what some kind of workable solution might look like, but I don't see how what's happening in the Nix community right now moves anyone towards that, and if people are truly this principled, the Nix project itself should be the least of everyone's worries.
Also AFAIK one of the conferences objected to their presence, so they weren't able to have a booth there. Individual participants are in their right to make these decisions and act on them (like that one conference did). What exactly is the outcome people want?
One man's arms dealer is another man's defense against death and destruction. I'm no fan of defense contractors for many reasons, but there is a simple reality that you need weapons, and lots of them, to defend yourself and your nation against aggressors, and someone has to build them. Imagine how much worse the war would be going for Ukraine if they didn't have advanced weaponry being provided to them by defense contractors.
If you don't want arms dealers using your work, then don't release it under an open source license.
Most wouldn't have a problem with Anduril donating and asking for no sponsorship or other benefits in return.
Such a license would not be considered open source or Free Software.
Someone else posted this link about a similar situation in the past: https://en.wikipedia.org/wiki/Douglas_Crockford#Software_lic...