Earlier quoted context omitted.
How so? You can see the build as a pure function. It consumes a binary blob but it doesn't make it any less deterministic?
The build is a source to binary function. How does one reproduce the binary blob? How does one know that binary hasn't been tampered with?
Purely Functional Linux with NixOS [video]
41–50 of 143 posts
Re: Purely Functional Linux with NixOS [video]
#42Earlier quoted context omitted.
Like everything else with Gnu, the main difference seems to be philosophical. Guix is fundamentally opposed to pre-compiled binaries. Nix has no issue with them.
>Guix is fundamentally opposed to pre-compiled binaries. Nix has no issue with them. Using pre-compiled binaries means that builds aren't reproducible, a goal of both Nix and Guix.
Re: Purely Functional Linux with NixOS [video]
#43Earlier quoted context omitted.
How so? You can see the build as a pure function. It consumes a binary blob but it doesn't make it any less deterministic?
The build is a source to binary function. How does one reproduce the binary blob? How does one know that binary hasn't been tampered with?
The same way: cryptographic signatures and checksums.
Re: Purely Functional Linux with NixOS [video]
#44Earlier quoted context omitted.
How so? You can see the build as a pure function. It consumes a binary blob but it doesn't make it any less deterministic?
The build is a source to binary function. How does one reproduce the binary blob? How does one know that binary hasn't been tampered with?
Re: Purely Functional Linux with NixOS [video]
#45My Linux experience so far has been limited to ls, cd and vi. From the outside, package management has always seemed to me like a huge mess. But, I've been starting to learn Nix recently and I really like it. I can add, remove, test, screw up, change my mind, whatever without stress.
Compared to what?! There's no OS that has historically had better (or even close to as good) package management as Linux, either in the form of apt-get/dpkg or yum/RPM. Nix is probably better, on a couple of dimensions, but to suggest it was a mess before...well, I just wonder what you could be comparing to that would be better?
Re: Purely Functional Linux with NixOS [video]
#46Awesome idea, and the rollbacks were great, but i kept having to write my own packages and it was all a bit too confusing to do that constantly.
Re: Purely Functional Linux with NixOS [video]
#47Earlier quoted context omitted.
- I think the issue is partly made moot by that not many people know Guile/Scheme in the first place, so they'd need to learn one language anyway. - Guix refuses to integrate proprietary software so its usability is diminished compared to Nix (and Guix has less software packaged than Nix in the first place, AFAIK). - Nix is a pretty good language for the task.
>I think the issue is partly made moot by that not many people know Guile/Scheme in the first place, so they'd need to learn one language anyway. But this language is not a DSL, but a general purpose language that has pattern matchers, HTTP libraries, XML parsers, data structure implementations, etc. >Guix refuses to integrate proprietary software so its usability is diminished compared to Nix (and Guix has less soft…
I'm not expressing this as a criticism that I have, but for some people what you described is not a feature but a bug. :)
Re: Purely Functional Linux with NixOS [video]
#48Am I the only one who thought Guix did this better? Maybe it's just my freakish and unnatural love of parenthesis. Or my hatred of learning new configuration syntaxes (I just want to install packges, dammit! Yes, I enjoy learning new languages, but I need to get this machine up and running, and I don't want to learn your new programming language to do that)
IMHO, Nix needs a static type checker far more than it needs parenthesis or syntactic abstraction. The syntax of Nix is a non-issue.
Re: Purely Functional Linux with NixOS [video]
#49Earlier quoted context omitted.
I suspect that the same binary cannot realistically depend on two different versions of a library. I can imagine that package A may have two binaries, one depending on a library B version 1.1, and another, on B 1.2 Does NixOS allow to have both B-1.1 and B-1.2 installed, and A's different binaries to load the correct different versions of the library from B-1.1 and B-1.2?
As I understand it, Nixos runs their own patched versions of ld and the dynamic loading system calls in libc. The normal lib.so search mechanism is replaced wholesale with "thou shalt link against this dll and no other" on a per-execuatble basis. Multiple versions of .so's don't cause problems, because no executable is depending on a search mechanism it doesn't control.
Re: Purely Functional Linux with NixOS [video]
#50Am I the only one who thought Guix did this better? Maybe it's just my freakish and unnatural love of parenthesis. Or my hatred of learning new configuration syntaxes (I just want to install packges, dammit! Yes, I enjoy learning new languages, but I need to get this machine up and running, and I don't want to learn your new programming language to do that)
Like everything else with Gnu, the main difference seems to be philosophical. Guix is fundamentally opposed to pre-compiled binaries. Nix has no issue with them.