!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

533 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30119 Servers

Load older messages


SenderMessageTime
26 May 2021
@andi:kack.itandi-I also explored alternatives to callPackage and such. Eventually rewriting patch-shebangs in C++ to avoid that massive slowness the bash version in nixpkgs has.10:18:35
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusah yes, another little annoyence in nixpkgs that feels like tech debt: Everything uses bash 4.x even tho bash 5 is out10:20:05
@andi:kack.itandi-IIRC it was tried at the time but it broke things in wild ways.10:20:40
@andi:kack.itandi-Too many advanced bashishms in use..10:20:50
@andi:kack.itandi-Ideally we would get rid of those but I doubt people want to write more verbose (and hacky?) shell scripts instead.10:21:11
@andi:kack.itandi-In my opinion we should be writing more small C/python/lisp/... programs to take care of whatever bash monsters are currently doing. Problem is that it would not compose as well as a bunch of bash that shares "global" variables...10:22:00
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciuswould be cool to replace bash with something more modern10:22:11
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciuspython is not really an option tho10:22:19
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusbig dependency10:22:23
@andi:kack.itandi-glibc already depends on python... 10:22:56
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusdifferent shell would be nice. nu shell and ion shell seem to be like solid options10:23:18
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @andi:kack.it
glibc already depends on python...
ahh, thats fun. But it is not a runtime dependency
10:23:47
@andi:kack.itandi-Yeah they have some build scripts that invoke it. I believe they are doing some code generation from syscall tables or such10:24:09
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusAlso python would probably slow things down10:24:20
@andi:kack.itandi-tbh I think one of the reasons nixpkgs is successful is due to bash.10:24:24
@zimbatm:numtide.comJonas ChevalierThe macOS libc used to have a runtime dependency on perl10:24:41
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @andi:kack.it
tbh I think one of the reasons nixpkgs is successful is due to bash.
what do you mean?
10:24:41
@andi:kack.itandi-The majority of people are "familiar" (to a degree of writing conditionals and assigning vars) with it10:24:48
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusahh10:24:57
@gytis-ivaskevicius:matrix.orgGytis IvaskeviciusFeel 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:matrix.orgGytis Ivaskeviciusit has proper arrays and stuff10:25:42
@andi:kack.itandi-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:matrix.orgGytis IvaskeviciusAlso this looks like a very solid alternative to more serious scripts (perl/python) https://deno.land/10:26:25
@andi:kack.itandi-O.O10:26:35
@andi:kack.itandi- Not sure I want undefined has not attribute bla in my build scripts 10:26:57
@andi:kack.itandi- * Not sure I want undefined has no attribute bla in my build scripts 10:27:03
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusoh cmon, python is basically same shit. In fact typescript is more secure than python10:27:30
@andi:kack.itandi-what are the bootstrap requirements for deno?10:28:06
@gytis-ivaskevicius:matrix.orgGytis Ivaskeviciusimage.png
Download image.png
10:28:56
@zimbatm:numtide.comJonas Chevalierisn't deno a re-implementation of nodejs?10:28:58

Show newer messages


Back to Room ListRoom Version: 6