I'd force the user to set a config option like this:
~/.nixpkgs/config.nix:
{
proprietary-licenses-accept.your-package = true;
}
and only allow installing the software if this is enabled.
At least this requires attention from the users..
I'm not a lawayer..
Marc Weber
Just for completeness, marking this topic as [solved].
It seems the issues I had were not nix-related at all.
The troubles were caused by my window manager XMonad.
Fixed by having xmonad report a different WM as described here:
http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#
Hi all,
I'm packaging some software that is distributed under a commercial license.
The software itself is publicly available from the author's website,
no need to log in or accept anything there.
After installation, only a small part is usable, but by entering a
(demo) license key, the rest can b