←back to thread

Nix Derivation Madness

(fzakaria.com)
184 points birdculture | 1 comments | | HN request time: 0.2s | source
Show context
eviks ◴[] No.45773806[source]
> nix/store/24v9wpp393ib1gllip7ic13aycbi704g-ruby-3.3.9.drv

A different type of madness, but are ugly names so common, why not start with ruby-3.3.9 so any list of files is semantically sorted/readable?

replies(6): >>45773869 #>>45774382 #>>45774390 #>>45776319 #>>45777560 #>>45778772 #
otabdeveloper4 ◴[] No.45776319[source]
It's done that way on purpose. Precisely so you don't try to use the paths semantically. The names literally mean nothing in this context.
replies(1): >>45776879 #
eviks ◴[] No.45776879[source]
That contradicts the simple fact that the name includes "ruby" and isn't just a hash
replies(1): >>45777178 #
1. otabdeveloper4 ◴[] No.45777178[source]
That name is only there for debugging purposes. It doesn't actually mean anything and you only ever need to look at it to debug some hoary failing build.