Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Arkh4m
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
Arkh4m
5y ago
There is no need to literally fork the nixpkgs repo. Most language derivations were written with the idea of supporting multiple versions at the same time. In this guide ( https://www.breakds.org/post/nix-shell-for-nodej
2.
▲
by
Arkh4m
5y ago
That's the point: without using Nix, you'd have to do LD_LIBRARY_PATH hacking to have two programs use two different versions of glibc. When people say "oh nix looks so complicated I can do this using bash scripts" I rep
3.
▲
by
Arkh4m
5y ago
Then you'd have to learn to read Nix expressions. The original expression that builds all ruby versions is here: https://github.com/NixOS/nixpkgs/blob/6120ac5cd201f6cb593d1b... Here's an example tha
4.
▲
by
Arkh4m
5y ago
Here is an example of doing what you want https://gist.github.com/Arkham/31297c1d75fc59f723a50063bc0f5... I found the nixpkgs versions using this tool: https://lazamar.co.uk/nix-versions/?channel=n
5.
▲
by
Arkh4m
5y ago
Here is an example if you absolutely want to pin Ruby to 2.6.7 while pulling all other packages from a more recent set of packages https://gist.github.com/Arkham/31297c1d75fc59f723a50063bc0f5... I found the nixpkgs ver
6.
▲
by
Arkh4m
5y ago
Here's an example https://gist.github.com/Arkham/31297c1d75fc59f723a50063bc0f5... I used this tool to find the specific nixpkgs version https://lazamar.co.uk/nix-versions/?channel=nixpkgs-unst
7.
▲
by
Arkh4m
5y ago
Here is an example if you absolutely want to pin Ruby to 2.6.7 while pulling all other packages from a more recent set of packages https://gist.github.com/Arkham/31297c1d75fc59f723a50063bc0f5... I found the nixpkgs ver
8.
▲
by
Arkh4m
5y ago
First, dependency manager vs package manager. Potayto potatoh. Second. The reason I recommend direnv is because of ergonomics, so you don't have to remember to reload your shell. Most current version managers either do it themselves th
9.
▲
Ditch your version manager
(juliu.is)
167 points
by
Arkh4m
5y ago
|
153 comments
10.
▲
Z-Index by Examples
(juliu.is)
2 points
by
Arkh4m
6y ago
|
0 comments
11.
▲
How to stop worrying and love your Postgres indexes
(engineering-blog.alphasights.com)
4 points
by
Arkh4m
11y ago
|
0 comments
12.
▲
Priscilla, a Ruby gem which frocks up your console messages
(github.com)
3 points
by
Arkh4m
13y ago
|
0 comments
13.
▲
by
Arkh4m
13y ago
It looks great, very very polished. Congrats!
14.
▲
ShowHN: LoveThisSong, insta-share your songs from iPhone to Facebook
(lab.welaika.com)
2 points
by
Arkh4m
14y ago
|
1 comments
15.
▲
by
Arkh4m
14y ago
I've tried this and it looks interesting; probably there are too many tools to install to get it working though, i.e. todo.txt looks a bit like garbage to me.
16.
▲
by
Arkh4m
15y ago
This looks really like what I needed, it looks awesome!