1 { lib, stdenv, runtimeShell }:
4 pname = "example-unfree-package";
11 cat > $out/bin/hello-unfree << EOF
13 echo "Hello, you are running an unfree system!"
15 chmod +x $out/bin/hello-unfree
19 description = "Example package with unfree license (for testing)";
20 license = lib.licenses.unfree;
21 maintainers = [ lib.maintainers.oxij ];
22 mainProgram = "hello-unfree";