|
|
|
|
|
by soraminazuki
1555 days ago
|
|
> Addressing common use-cases should be a simple matter. Fully agree, but the given example isn't such a case but rather incorrect code. The example is somewhat akin to writing the following Python code and expecting it to print "hello". def main():
print 'hello'
It wouldn't work because you need to call the main function. It's not a problem of Python not addressing common use cases. |
|
I understood that an argument was needed, that error was clear and when I googled it I found the solution that I wrote.
I supposed it's meant to plug in to something bigger maybe and that's why there are arguments without import everywhere.. maybe? But I've given up now, so I'll never know, we're just gonna suck it up and keep using brew and try to make it idiot-proof somehow.
It just feels like a shame that nix is so unapproachable. It's just as much apple's fault though - if xcode has some open command line tools I'm sure there would have been ready-made formulas for everything we needed. At least I got to vent.