nixpkgs/pkgs/by-name
2024-09-25 00:40:52 +02:00
..
_0 treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
_1 treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
_2/_2ship2harkinian
_4 treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
_6/_64gram treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
_9 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
a4/a4
a5/a52dec treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
aa aaaaxy: 1.5.190 -> 1.5.202 (#342440) 2024-09-17 14:19:28 +00:00
ab treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ac treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ad adcli: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:49 +02:00
ae treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
af affine: copy license to docs 2024-09-02 22:14:17 +02:00
ag treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ai treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
al treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
am treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
an treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ao/aocl-utils
ap api-linter: 1.67.2 -> 1.67.3 2024-09-24 04:22:42 +00:00
aq/aquamarine aquamarine: 0.4.0 -> 0.4.1 2024-09-08 07:32:41 +00:00
ar treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
as treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
at treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
au treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
av treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
aw treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ax axis2: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:47 +02:00
ay ayatana-ido,libayatana-indicator: move to pkgs/by-name and fix cross compilation (#338790) 2024-09-15 23:27:45 +02:00
az treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
b3/b3sum
ba treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
be dotnet-sdk-setup-hook: configure nuget in sourceRoot 2024-09-17 01:12:12 -03:00
bi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bk/bk
bl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bm pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
bn/bngblaster bngblaster: 0.9.6 -> 0.9.7 2024-09-15 11:55:52 +00:00
bo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bp
bq/bqn
br treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bt
bu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
by byedpi: 0.13.1 -> 0.14.1 2024-09-22 00:34:29 +03:00
c2 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
c-
ca treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cb treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cd cdecl: 18.3 -> 18.4.1 2024-09-14 13:34:40 +00:00
ce treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cf/cf-tool cf-tool: init at 202405140250 2024-08-31 22:54:46 +08:00
cg treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
ch treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
ci treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cj/cjs
cl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cn cntb: fix darwin 2024-09-15 12:23:03 +02:00
co treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cq/cq
cr treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cs pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ct/ctx
cu cups-brother-dcpt725dw: init at 3.5.0-1 (#330680) 2024-09-18 01:29:29 +02:00
cv/cvemap
cw/cwe-client-cli cwe-client-cli: init at 0.3.2 2024-09-01 21:21:59 +03:00
cy treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cz/czkawka treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
da treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
db treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dc pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
dd
de treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
dg treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
dh/dhcpig
di treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dj/djent
dm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dn
do treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
dp dpp: 10.0.30 -> 10.0.31 2024-09-22 00:44:07 +00:00
dr
ds treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dt
du treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dv treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
dw dwl: 0.6 -> 0.7 2024-08-30 14:52:04 +02:00
dx treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dy dynamips: add anthonyroussel to maintainers 2024-09-22 20:29:31 +02:00
e1/e1s e1s: 1.0.38 -> 1.0.39 2024-09-16 13:35:51 +00:00
ea treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
eb pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ec
ed treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ee/eepers
ef/efibootmgr
eg/eg25-manager eg25-manager: 0.4.6 -> 0.5.0 2024-08-28 16:37:16 +02:00
ei eiquadprog: build documentation 2024-09-18 23:27:16 +02:00
ej/ejsonkms
ek treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
el elvis: modernize 2024-09-19 22:00:06 -03:00
em treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
en treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
eo/eog pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ep treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
er era: init at 0.1.3 2024-09-15 14:16:14 +09:00
es treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
et
eu
ev treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ew treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ey/eyewitness
ez/eza treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
f2/f2fs-tools f2fs-tools: enable parallel building 2024-09-16 17:35:46 +02:00
fa treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fb/fbset
fc fcitx5-pinyin-moegirl: 20240809 -> 20240909 (#342222) 2024-09-16 18:05:33 +08:00
fd/fdroidserver fdroidserver: move to by-name 2024-09-13 19:55:04 +08:00
fe treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ff fflogs: 8.13.1 -> 8.13.5 2024-09-09 05:48:48 +00:00
fg/fgqcanvas pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
fi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fj/fjo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fl treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
fm pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
fn/fnott maintainers: remove eclairevoyant 2024-09-10 15:02:41 -04:00
fo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fr treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fs fscryptctl: 1.0.0 -> 1.2.0 (#338344) 2024-09-16 15:17:26 +02:00
ft treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fv
fw/fwupd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fx/fx
fy treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fz fzf: 0.54.3 -> 0.55.0 2024-08-30 00:09:24 +10:00
g3/g3kb-switch pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ga gapcast: init at 1.0.3 (#340971) 2024-09-25 00:40:52 +02:00
gb
gc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gd treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
ge treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
gf treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gg/gg gg: 0.2.18 -> 0.2.19 2024-08-31 13:04:51 +00:00
gh treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gk/gk-cli
gl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
go treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gr treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gt pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
gu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gv/gvisor
gx treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
gz/gzdoom gzdoom: add myself as maintainer 2024-09-12 22:52:41 +02:00
h2/h2
h5/h5utils
h8/h8mail
ha treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
hb/hb-honeypot
hc/hclfmt hclfmt: 2.21.0 -> 2.22.0 2024-08-26 13:03:28 +00:00
hd hdr10plus_tool: 1.6.0 -> 1.6.1 (#342279) 2024-09-16 20:28:00 +05:30
he treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
hi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
hj/hjson-go
hn/hn-text
ho treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
hp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ht treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
hu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
hv/hvm
hw/hwinfo hwinfo: fix cross compilation 2024-09-03 12:57:49 +02:00
hx/hxtools
hy treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
i2/i2p
i3 i3bar-river: 0.1.10 -> 1.0.0 2024-09-19 05:24:14 +00:00
ia pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ic
id pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
if
ig ignite-cli: 28.5.2 -> 28.5.3 2024-09-23 10:54:26 +00:00
ii
ij ijq: 1.1.1 -> 1.1.2 2024-08-28 10:33:15 -05:00
im treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
in treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
io pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ip treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ir treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
is treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
it
iu/iucode-tool pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
iv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
iw iwqr: init at 0.1.1 2024-09-22 23:45:50 +02:00
iz/izrss
j/j treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ja jan: 0.5.3 -> 0.5.4 2024-09-22 09:05:18 +00:00
jc/jcli
jd/jdt-language-server treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
je treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ji treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
jj/jj
jn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
jo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
jp/jp-zip-codes jp-zip-codes: 0-unstable-2024-08-01 -> 0-unstable-2024-09-01 2024-09-22 08:27:04 +00:00
jq/jq-zsh-plugin
jr jrl-cmakemodules: set platforms 2024-09-17 15:41:55 +02:00
js json2ts: init at v15.0.2 2024-09-03 10:37:11 +02:00
jt/jtdx
ju treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
jw/jwasm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
k8/k8s-manifest-sigstore
ka treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kd
ke treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kg/kgeotag
ki treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kl klong: init at 20221212 2024-09-20 22:28:43 +00:00
km
kn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ko kokkos: 4.4.00 -> 4.4.01 (#343037) 2024-09-24 18:25:50 -04:00
kp/kplex
kr treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
ks
kt
ku kulala-fmt: 1.3.2 -> 1.4.0 2024-09-23 21:06:23 +00:00
kv/kvmarwaita
kw/kwok kwok: init at 0.6.0 2024-09-10 21:26:27 +08:00
kx
ky treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
la treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lb treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lc
ld treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
le treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lg/lgogdownloader
li treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lk/lk-jwt-service
ll treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ln/lngen
lo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lr/lrcget treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ls treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lt/ltris treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lu packages luarocks updater as pyproject package (#343584) 2024-09-22 21:15:41 +02:00
lv/lv_font_conv
lw treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
lx lxgw-neoxihei: 1.205 -> 1.206 2024-09-24 12:31:05 +00:00
lz treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
m1/m1ddc
m2
ma treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
mb
mc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
md treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
me treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mf pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
mg
mi treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
mk
ml/mlx42 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mq treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
mr/mricron
ms mscp: init at 0.2.1 2024-09-23 23:26:48 -04:00
mu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
my treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
n2/n2
n8/n8n treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
n9/n98-magerun2
na treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nb nbqa: add passthru.withTools 2024-09-23 11:47:42 -07:00
nc nc4nix: 0-unstable-2024-08-01 -> 0-unstable-2024-09-07 2024-09-07 09:30:15 +00:00
nd/ndstrim
ne treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nf
ng treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nh treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ni treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nl
nm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
no treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
np
nr treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ns treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nt treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
nu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nw nwg-panel: 0.9.38 -> 0.9.39 (#344197) 2024-09-24 21:16:31 +00:00
nx/nxengine-evo
nz nzbhydra2: 7.5.0 -> 7.6.0 2024-09-16 01:39:41 +00:00
oa treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ob obs-cmd: 0.17.7 -> 0.17.8 2024-09-14 01:52:43 +00:00
oc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
od treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
oe/oelint-adv oelint-adv: 5.7.2 -> 6.0.0 2024-09-08 11:00:14 +00:00
of treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
og/oguri treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
oh oh-my-posh: 23.4.0 -> 23.12.0 2024-09-10 12:45:41 +00:00
oi oidc-agent: reformat code, fix wrong man page location (#339707) 2024-09-20 10:42:34 +02:00
ok pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ol ollama: fix rocm build (#344236) 2024-09-24 23:15:39 +02:00
om omniorbpy: move to python-modules 2024-09-23 16:44:27 +02:00
on treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
oo
op treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
oq/oqs-provider
or treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
os treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ot
ou pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ov overskride: 0.5.7 -> 0.6.0 2024-09-21 01:39:58 +00:00
ow treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pa treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pc pcsx2: 2.1.102 -> 2.1.127 2024-09-11 11:48:41 -03:00
pd pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
pe treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pf treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
pg treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ph treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pk
pl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pn
po treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pp/ppsspp
pq
pr treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
ps
pt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pu pupdate: 3.13.0 -> 3.15.0 2024-09-17 15:11:33 +00:00
pv
pw treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
px/pxder
py treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced qbittorrent-enhanced: 4.6.5.10 -> 4.6.6.10 2024-08-30 08:53:30 +00:00
qc/qcm qcm: 1.0.4 -> 1.0.5 2024-08-26 12:21:11 +08:00
qd treewide: remove CMAKE_BUILD_TYPE from cmakeFlags (#336854) 2024-09-19 22:32:31 +02:00
qg treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qm/qmplay2
qn/qnial
qo/qodem
qp/qpoases
qq/qq qq: 3.2.12-2024.8.19 -> 3.2.12-2024.9.2 2024-09-06 06:24:14 +00:00
qr qrtool: 0.11.4 -> 0.11.5 2024-09-23 02:36:10 +00:00
qs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qw/qwerty-fr pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
r0/r0vm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
r1/r10k
ra treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
rc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rd/rdwatool
re treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rf/rfdump
rh/rHttp pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ri treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rk treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rl/rl_json treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ro treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rq treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rr/rrdtool treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ru treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
rw/rwpspread
rx/rxvt treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
ry treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
s0/s0ix-selftest-tool
s3 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sa treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sb treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
sc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
se treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sf sfcgal: init at 1.5.2 2024-09-04 18:09:58 +03:00
sg/sgfutils treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sh treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
si treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sk treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
so treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sq treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sr srm-cuarzo: 0.7.1-1 -> 0.7.2-1 2024-09-08 02:30:34 +00:00
ss treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
st treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
su treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sw treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sx
sy treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
t-/t-rex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ta treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tb/tbump
tc
td tdl: 0.17.3 -> 0.17.4 2024-09-09 03:06:25 +00:00
te treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tg
th treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
ti treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tk pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
tl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tm pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
to treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tr treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ts treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tt treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
tu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tw treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
tx
ty treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
u-/u-config
ub
uc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ud treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
ue treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ug
uh/uhttpmock_1_0
ui treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
um/umpire umpire: Add cuda support 2024-08-30 14:11:58 +02:00
un treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
up treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ur treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
us userborn: limit to Linux 2024-09-10 17:29:35 +02:00
ut treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
uu/uuu treewide: remove executable bit from .nix files 2024-09-14 13:08:57 +02:00
uv/uv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
uw uwsm: 0.19.0 -> 0.19.1 2024-09-23 06:59:39 +00:00
ux treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
va treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vc vcpkg: 2024.07.12 -> 2024.08.23 2024-08-29 04:34:01 +00:00
vd/vdhcoapp
ve treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vf/vfkit
vg pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
vi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vk
vl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vm
vn pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
vo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vp vpcs: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:44 +02:00
vr/vrcadvert vrcadvert: init at 1.0.0 2024-09-05 17:49:32 +02:00
vs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vu vulkan-memory-allocator: Apply fix to allow specifying version constraints on CMake module 2024-09-14 15:46:40 +02:00
vv/vvvvvv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vw/vwsfriend vwsfriend: 0.24.5 -> 0.24.7 2024-09-20 10:45:44 +00:00
vz/vzic
wa treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wb
wc/wcurl
we treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wf/wf-touch
wg/wg-access-server
wh whatsie: init at 4.15.5 (#333700) 2024-09-14 19:26:28 +08:00
wi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wl treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wo workout-tracker: add assets 2024-09-16 21:13:47 +04:00
wp
wr/wrangler
ws treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wu/wush wush: 0.1.2 -> 0.2.1 2024-09-13 04:58:20 +00:00
wv
wx/wxc
wy/wyoming-satellite
x1/x16 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
x5/x509-limbo
xa treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
xc
xd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
xe treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
xf/xfs-undelete pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
xh/xhosts
xi treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
xl xlights: 2024.15 -> 2024.16 2024-09-19 03:37:42 +00:00
xm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
xn/xnlinkfinder
xo
xp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
xr treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
xs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
xt/xtf xtf: 0-unstable-2024-08-30 -> 0-unstable-2024-09-13 2024-09-21 22:59:05 +00:00
xu/xunit-viewer
xv/xviewer pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
xw treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
ya treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
yc/ycmd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
yd/ydotool
ye treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
yg pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
yj/yj
yo pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
yp/ypbind-mt
ys/ysfx
yt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
yu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
za treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
zb/zbus-xmlgen
zc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ze treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
zf/zfind
zi treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
zl/zluda
zm/zmkBATx
zo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
zp
zs zsh-wd: 0.8.0 -> 0.9.0 2024-09-23 04:11:36 +00:00
zu treewide: reformat files which need reformatting after 2024-09-25 00:04:39 +03:00
zw/zwave-js-server zwave-js-server: 1.36.0 -> 1.38.0 2024-09-05 04:07:41 +00:00
zx treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
zy/zydis treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
zz/zziplib treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
README.md pkgs/by-name/README.md: use more precise wording on package name 2024-09-12 08:11:03 +02:00

Name-based package directories

The structure of this directory maps almost directly to top-level package attributes. Add new top-level packages to Nixpkgs using this mechanism whenever possible.

Packages found in the name-based structure are automatically included, without needing to be added to all-packages.nix. However if the implicit attribute defaults need to be changed for a package, this must still be declared in all-packages.nix.

Example

The top-level package pkgs.some-package may be declared by setting up this file structure:

pkgs
└── by-name
   ├── so
   ┊  ├── some-package
      ┊  └── package.nix

Where some-package is the attribute name corresponding to the package, and so is the lowercase 2-letter prefix of the attribute name.

The package.nix may look like this:

# A function taking an attribute set as an argument
{
  # Get access to top-level attributes for use as dependencies
  lib,
  stdenv,
  libbar,

  # Make this derivation configurable using `.override { enableBar = true }`
  enableBar ? false,
}:

# The return value must be a derivation
stdenv.mkDerivation {
  # ...
  buildInputs =
    lib.optional enableBar libbar;
}

You can also split up the package definition into more files in the same directory if necessary.

Once defined, the package can be built from the Nixpkgs root directory using:

nix-build -A some-package

See the general package conventions for more information on package definitions.

Changing implicit attribute defaults

The above expression is called using these arguments by default:

{
  lib = pkgs.lib;
  stdenv = pkgs.stdenv;
  libbar = pkgs.libbar;
}

But the package might need pkgs.libbar_2 instead. While the function could be changed to take libbar_2 directly as an argument, this would change the .override interface, breaking code like .override { libbar = ...; }. So instead it is preferable to use the same generic parameter name libbar and override its value in pkgs/top-level/all-packages.nix:

{
  libfoo = callPackage ../by-name/so/some-package/package.nix {
    libbar = libbar_2;
  };
}

Manual migration guidelines

Most packages are still defined in all-packages.nix and the category hierarchy. Since it would take a lot of contributor and reviewer time to migrate all packages manually, an automated migration is planned, though it is expected to still take some time to get done. If you're interested in helping out with this effort, please see this ticket.

Since only PRs to packages in pkgs/by-name can be automatically merged, if package maintainers would like to use this feature, they are welcome to migrate their packages to pkgs/by-name. To lessen PR traffic, they're encouraged to also perform some more general maintenance on the package in the same PR, though this is not required and must not be expected.

Note that definitions in all-packages.nix with custom arguments should not be removed. That is a backwards-incompatible change because it changes the .override interface. Such packages may still be moved to pkgs/by-name however, while keeping the definition in all-packages.nix. See also changing implicit attribute defaults.

Limitations

There's some limitations as to which packages can be defined using this structure:

  • Only packages defined using pkgs.callPackage. This excludes packages defined using pkgs.python3Packages.callPackage ....

    Instead:

    • Either change the package definition to work with pkgs.callPackage.
    • Or use the category hierarchy.
  • Only top-level packages. This excludes packages for other package sets like pkgs.pythonPackages.*.

    Refer to the definition and documentation of the respective package set to figure out how such packages can be declared.

Validation

CI performs certain checks on the pkgs/by-name structure. This is done using the nixpkgs-vet tool.

You can locally emulate the CI check using

$ ./ci/nixpkgs-vet.sh master

See here for more info.

Recommendation for new packages with multiple versions

These checks of the pkgs/by-name structure can cause problems in combination:

  1. New top-level packages using callPackage must be defined via pkgs/by-name.
  2. Packages in pkgs/by-name cannot refer to files outside their own directory.

This means that outside pkgs/by-name, multiple already-present top-level packages can refer to some common file. If you open a PR to another instance of such a package, CI will fail check 1, but if you try to move the package to pkgs/by-name, it will fail check 2.

This is often the case for packages with multiple versions, such as

{
  foo_1 = callPackage ../tools/foo/1.nix { };
  foo_2 = callPackage ../tools/foo/2.nix { };
}

The best way to resolve this is to not use callPackage directly, such that check 1 doesn't trigger. This can be done by using inherit on a local package set:

{
  inherit
    ({
      foo_1 = callPackage ../tools/foo/1.nix { };
      foo_2 = callPackage ../tools/foo/2.nix { };
    })
    foo_1
    foo_2
    ;
}

While this may seem pointless, this can in fact help with future package set refactorings, because it establishes a clear connection between related attributes.

Further possible refactorings

This is not required, but the above solution also allows refactoring the definitions into a separate file:

{
  inherit (import ../tools/foo pkgs)
    foo_1 foo_2;
}
# pkgs/tools/foo/default.nix
pkgs: {
  foo_1 = callPackage ./1.nix { };
  foo_2 = callPackage ./2.nix { };
}

Alternatively using callPackages if callPackage isn't used underneath and you want the same .override arguments for all attributes:

{
  inherit (callPackages ../tools/foo { })
    foo_1 foo_2;
}
# pkgs/tools/foo/default.nix
{
  stdenv
}: {
  foo_1 = stdenv.mkDerivation { /* ... */ };
  foo_2 = stdenv.mkDerivation { /* ... */ };
}

Exposing the package set

This is not required, but the above solution also allows exposing the package set as an attribute:

{
  foo-versions = import ../tools/foo pkgs;
  # Or using callPackages
  # foo-versions = callPackages ../tools/foo { };

  inherit (foo-versions) foo_1 foo_2;
}