| 26 May 2021 |
andi- | The majority of people are "familiar" (to a degree of writing conditionals and assigning vars) with it | 10:24:48 |
Gytis Ivaskevicius | ahh | 10:24:57 |
Gytis Ivaskevicius | Feel free to go over the docs, im sure you peeps will find atleast few things that you like https://doc.redox-os.org/ion-manual/html/ | 10:25:38 |
Gytis Ivaskevicius | it has proper arrays and stuff | 10:25:42 |
andi- | If you now switch that to some estoteric-ish language you'll exclude some people due to raising the barrier for contribution... While I still think that someone that learns Nix properly shouldn't have an issue writing either python / osh / ... | 10:25:48 |
Gytis Ivaskevicius | Also this looks like a very solid alternative to more serious scripts (perl/python) https://deno.land/ | 10:26:25 |
andi- | O.O | 10:26:35 |
andi- | Not sure I want undefined has not attribute bla in my build scripts | 10:26:57 |
andi- | * Not sure I want undefined has no attribute bla in my build scripts | 10:27:03 |
Gytis Ivaskevicius | oh cmon, python is basically same shit. In fact typescript is more secure than python | 10:27:30 |
andi- | what are the bootstrap requirements for deno? | 10:28:06 |
Gytis Ivaskevicius |  Download image.png | 10:28:56 |
Jonas Chevalier | isn't deno a re-implementation of nodejs? | 10:28:58 |
Gytis Ivaskevicius | In reply to @zimbatm:numtide.com isn't deno a re-implementation of nodejs? yes, i guess? | 10:29:13 |
andi- | The good parts about our bash is that it is extensible. You don't have to rebuild the world if you add new features to the build env as you can just pull in some setup hook that is being sourced. | 10:29:20 |
andi- | We would need at least that with any other language. | 10:29:29 |
Gytis Ivaskevicius | it is still based on v8 engine, author is the same as well. It is just minimized by quite a bit | 10:29:37 |
Gytis Ivaskevicius | In reply to @andi:kack.it The good parts about our bash is that it is extensible. You don't have to rebuild the world if you add new features to the build env as you can just pull in some setup hook that is being sourced. how is that different from pretty much any scripting language? you just eval some code | 10:30:22 |
Jonas Chevalier | the main reason why bash works well is that the program can be composed from a number of "chunks" for each phases | 10:30:41 |
andi- | Yeah sure but it has to be not painful to implement and having to go back to the stdenv code must be rare. | 10:30:50 |
Gytis Ivaskevicius | In reply to @zimbatm:numtide.com the main reason why bash works well is that the program can be composed from a number of "chunks" for each phases yeah, but really - basically any shell can do that and then some | 10:31:27 |
Gytis Ivaskevicius | I noted im pretty interested in ion shell https://doc.redox-os.org/ion-manual/html/ Maybe it would be cool to try to build some rewrite of mkderivation just for fun :D | 10:32:26 |
andi- | If we think about changing stdenv we might as well think about using structured attributes everywhere. Does ION support JSON out of the box? | 10:32:31 |
Gytis Ivaskevicius | In reply to @andi:kack.it If we think about changing stdenv we might as well think about using structured attributes everywhere. Does ION support JSON out of the box? i dont think so. Probably nu shell does tho | 10:32:58 |
Gytis Ivaskevicius |  Download image.png | 10:33:15 |
Gytis Ivaskevicius | 👀 | 10:33:19 |
Jonas Chevalier | it's not a middle finger :) | 10:33:34 |
andi- | Jonas Chevalier: you might have run into the same issue as I did :D | 10:33:37 |
Jonas Chevalier | it's supposed to be an index | 10:33:41 |
Gytis Ivaskevicius | In reply to @andi:kack.it If we think about changing stdenv we might as well think about using structured attributes everywhere. Does ION support JSON out of the box? on other hand ion shell is quite new - i bet PR with partial jq would be welcome :D | 10:34:08 |