Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jonringer117
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
jonringer117
5y ago
Glad someone found them useful :)
32.
▲
by
jonringer117
5y ago
NixOS is BestOS :)
33.
▲
by
jonringer117
5y ago
Release channels. If you follow one for nixpkgs, it means that the infrastructure has at least attempted all possible builds. If you're starting to build something, it's likely broken. However, that's usually not the case. h
34.
▲
by
jonringer117
5y ago
Outside of configuring your system, almost everything from NixOS is applicable to other distro's. The only notable exception I can think of are video drivers, and you will need nixGL for that. Otherwise, I would recommend looking at ho
35.
▲
by
jonringer117
5y ago
Nix+NixOS can also be used to describe iso's, installation iso, vm images, ami images, azure images, sd-card images, pxe-boot images, shell environments, and others. Not to mention that nix can be used (with varying levels of success)
36.
▲
by
jonringer117
5y ago
What you're looking for is `(python3Packages.withPackages (ps: with ps; [ pync ... ]))` This will create a python which has pync and other packages in the sitePackages already.
37.
▲
by
jonringer117
5y ago
Some of the issues were really difficult to tackle, like the linux kernel generating random hashes. The last mile was done by removing the use of ruby (which uses some random tmp directories) from the final image. Asciidoctor (ruby) was rep
38.
▲
by
jonringer117
5y ago
Generally if the patch is not-specific to nixpkgs, we ask the contributor to upstream the patch, and then we have a `fetchpatch` utility which makes it easy to pull from an upstream source.
39.
▲
by
jonringer117
5y ago
Related context: https://github.com/NixOS/nixpkgs/pull/126319 In response to "not having the latest": Generally we (nixpkgs) lag behind a bit, as managing ~60-100k packages takes some time. But as l
40.
▲
by
jonringer117
5y ago
What is NixOS? NixOS is a linux distribution with a focus on reproducibility. It's built upon the Nix package manager, making system configuration declarative, reproducible, and atomic. Learn more at: https://nixos.org/
41.
▲
NixOS 21.05 has been Released
(nixos.org)
2 points
by
jonringer117
5y ago
|
1 comments
42.
▲
by
jonringer117
5y ago
Nix doesn't really "wrap" anything besides compilers, or when it's absolutely necessary for an application. And the wrapping is only done so that there's a way to shoehorn certain CFLAGS, some nix-specific behavior,
43.
▲
by
jonringer117
5y ago
It's content addressable. If you use the old hash, it will just use the "old" contents happily (unless they don't exist). So you have to alter it slightly to get a "cache miss" to see what should have been prod
44.
▲
by
jonringer117
5y ago
It's still in development. But swapping a language is possible, as it's only needed for evaluation. Building the package (realization) just needs the derivation.
45.
▲
by
jonringer117
5y ago
I made a few videos, https://www.youtube.com/channel/UC-cY3DcYladGdFQWIKL90SQ . However, I need to produce more and of higher quality.
46.
▲
by
jonringer117
5y ago
The issue with `nix-env` is how it tries to decide a later version. Python also has this issue, because it will see that python3.7 has a newer version called `python3.10a3`, and installs the alpha/dev version, instead of the expected p
47.
▲
by
jonringer117
5y ago
at least now, people get recommend to use `nix-shell -p <pkg>` when something is missing in NixOS