3 ms·
I had the same hangups, with Guix being way easier to grok than Nix. The non-guix repository and their substitute has you covered in the non-gnu side of thing
by tetris11 3y ago
I had the same hangups, with Guix being way easier to grok than Nix.
The non-guix repository and their substitute has you covered in the non-gnu side of things. You can use a regular kernel (read:not linix-libre) and it downloads all the required microcode and drivers.
- SuperSandro2000 3y agoThere shouldn't be much difference between understanding nix and guix, it is basically the same idea.
- pasc1878 3y agoUnderstanding yes but language wise no. Guix is a known language scheme. nix is off - I can't work out what parameters are needed for any one function call they all appear to be in a global namespace. Unfortunately I need to be able to use non Linux systems
- hamandcheese 3y ago> nix is off - I can't work out what parameters are needed for any one function call they all appear to be in a global namespace. If you are talking about something you saw in the nixpkgs repo, then that is probably the callPackage design pattern [0], which is basically a form of automatic dependency injection. It definitely made it hard for me to grok how nixpkgs package definitions worked at first - there was so much stuff getting injected dynamically, without any trace of where those dependencies lived. The callPackage pattern is an important piece that allows you to override a dependency with a different version, though, which is essential when customizing existing packages for your own needs. [0]: https://nixos.org/guides/nix-pills/callpackage-design-pattern https://nixos.org/guides/nix-pills/callpackage-design-patter...
- pasc1878 3y agoNo in setting up a flake to configure my system but yes callPackage seems odd as well
- SAI_Peregrinus 3y agoI'd say Nix-the-language isn't that hard or weird. Nixpkgs-the-standard-library is much, much harder, and basically undocumented. Nixpkgs-the-repository is nice and search.nixos.org works well.
- pasc1878 3y agoNix the language is OK if it is all in one file. How files all each other and the parameters is odd. You call a function with two parameters but the file starts with many
- aidenn0 3y agoMy experience with other GNU projects is that the community will give you a cold shoulder if you ask about a problem involving non-free software;[1] I have been told that this is not as much the case with Guix, so I may try it out. 1: And this is perfectly fine; communities can and should have such standards, but it will be off-putting to those who do not share the same values.
- tetris11 3y agoFrom what I've seen, they will point you in the direction of where you can get further info about non GNU resources, but they wont provide the extra effort of debugging your code. They're otherwise pretty kind/willing.