You can't.
Well you can, but then by definition they would no longer be open source.
You can't.
Well you can, but then by definition they would no longer be open source.
Excluding government usage is hardly very closed.
Honestly some folks have worked for years on open source software, that government also benefited from, only to find that now the costs involved in paying for someone to certify your software plus the cost of the risk is too high. Politicians need to feel consequences did their decisions.
Most public source code repositories on the web require every piece of software published on them to be under an OSI-approved license. Not licensing under an OSI-approved license could therefore impede the chances of getting your software distributed and used.
I've been thinking on a related issue: perhaps there is a need to formulate a wider but still closed definition that repositories could adopt that would also include some "ethical" source code licenses and "Non-AI licenses" [2].
[1] https://opensource.org/osd [2] https://github.com/non-ai-licenses/non-ai-licenses
Why?
"The freedom to run the program as you wish, for any purpose" also applies to entities such as the EU. If you forbid it from using the software, you compromise this freedom, and thus aren't Free Software.