Replies: 2 comments 2 replies
-
|
A very long discussion regarding NIX on windows. |
Beta Was this translation helpful? Give feedback.
-
|
Nix seems to be several things under the same umbrella, like a language, a local store, a packages store, an operating system, and several associated projects (like flakes, home manager, etc). Understanding exactly which is which requires some efforts. Hello World testIn order to get a better understanding on Nix, I did a small Hello World test. When compiled with the system GCC, the resulting binary has references to system libraries: When compiled with a Nix GCC, things are a bit different: Notes
Comparisons with npm/xpmNix seems to address the reproducibility problem by trying to fix the system, by adding a relatively invasive and complex mechanism; xpm is less invasive/complex and aims to run on any system, without administrator rights. Nix identifies packages by hash+name, xpm identifies packages by @scope/name@semver. Lessons learnedDirectly integrating Nix into an npm/xpm ecosystem does not seem very likely, they address different problems. However, the idea of instantiating a shell in the specific context of a set of dependencies seems to have some merit. xpm shellA similar functionality can be implemented as the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
During the XBB - Second Edition discussions, the following question was raised by @shabble:
According to wiki, it is cross-platform and advertises more reliable, reproducible, and portable packages, so it might provide some inspiration.
Beta Was this translation helpful? Give feedback.
All reactions