nixpkgs/pkgs/by-name
2024-05-11 07:58:20 +10:00
..
_0/_0xpropo _0xpropo: 1.000 -> 1.100 2024-05-07 12:19:47 +00:00
_4
_6/_64gram _64gram: 1.1.19 -> 1.1.22 2024-05-08 11:11:22 +00:00
_9/_9base
a4/a4
a5/a52dec
aa
ab
ac
ad adbtuifm: fix url 2024-05-08 20:00:00 +02:00
ae
af
ag/ags ags: format with nixfmt-rfc-style 2024-05-08 22:45:51 +05:30
ai airlift: 0.3.1 -> 0.4.0 2024-04-27 05:11:42 +00:00
al
am am2rlauncher: wrapGAppsHook -> wrapGAppsHook3 2024-04-27 10:32:44 +02:00
an antares: 0.7.23 -> 0.7.24 2024-05-08 23:59:36 +00:00
ao/aocl-utils
ap apostrophe: add aleksana as maintainers 2024-05-05 22:43:26 +08:00
ar Merge pull request #310456 from DontEatOreo/update-arc-browser 2024-05-10 10:26:08 -04:00
as async-profiler: 2.9 -> 3.0, migrate to by-name & modernize 2024-05-09 10:45:47 +02:00
at atac: fix build on darwin 2024-05-07 20:37:40 -04:00
au Merge pull request #307804 from r-ryantm/auto-update/autosuspend 2024-05-09 11:57:50 +08:00
av
aw
ax ax25ms: init at unstable-2024-04-28 2024-05-02 12:43:07 +00:00
ay Merge master into staging-next 2024-04-29 12:01:15 +00:00
ba
bc/bc-ur
be beekeeper-studio: 4.1.13 -> 4.3.1 2024-05-04 15:45:26 +02:00
bi various: remove eclairevoyant from meta.maintainers 2024-05-09 16:51:37 +02:00
bk/bk
bl blockbench: 4.9.4 -> 4.10.0 2024-05-10 00:17:03 +00:00
bm/bmake
bn/bngblaster bngblaster: 0.8.49 -> 0.8.51 2024-05-04 10:53:46 +00:00
bo Merge pull request #306423 from r-ryantm/auto-update/boogie 2024-05-04 14:58:35 +02:00
bp/bpftop bpftop: 0.4.1 -> 0.4.2 2024-04-27 12:24:01 +00:00
br bruno: 1.16.0 -> 1.16.1 2024-05-05 07:17:58 +00:00
bs
bt btrfs-auto-snapshot: init at 2.0.4 2024-05-06 06:41:27 +03:00
bu Merge master into staging-next 2024-05-02 18:01:05 +00:00
by
c-
c2 c2fmzq: 0.4.19 -> 0.4.20 2024-05-10 00:44:41 +00:00
ca cargo-bloat: 0.12.0 -> 0.12.1 2024-05-10 12:16:27 +00:00
cb
cc
cd cdecl: 2.5 -> 2.5-unstable-2024-05-07, add check, refactor 2024-05-09 18:00:44 +02:00
ce centrifugo: 5.3.1 -> 5.3.2 2024-05-09 14:31:11 +00:00
cg
ch chemacs2: init at 0-unstable-2023-01-20 2024-04-29 18:05:05 -03:00
ci
cl clash-verge-rev: 1.6.0 -> 1.6.1 2024-05-05 09:25:24 +08:00
cm
cn/cntb
co Merge pull request #310054 from RAVENz46/origin/coppwr 2024-05-10 20:07:43 +02:00
cp Merge pull request #307591 from r-ryantm/auto-update/cpu-x 2024-05-04 16:17:52 +02:00
cr Merge branch 'master' into staging-next 2024-04-27 10:30:24 +02:00
cs Merge pull request #308630 from r-ryantm/auto-update/csvkit 2024-05-03 18:49:46 +00:00
ct/ctx
cu Merge pull request #306317 from selfuryon/chore/cue-version-fix 2024-05-01 00:08:32 +08:00
cv/cvemap
cy
cz/czkawka
da Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
db/dbus-cpp
dc/dc3dd
dd
de dep-scan: 5.3.3 -> 5.3.4 2024-05-03 02:18:12 +00:00
dg/dgoss
dh/dhcpig
di discord-gamesdk: format with nixfmt-rfc-style 2024-05-10 10:46:44 -07:00
dj/djent
dm dmarc-report-converter: 0.7.2 -> 0.8.0 2024-05-08 19:53:06 +00:00
dn/dns2tcp
do door-knocker: 0.4.4 -> 0.5.0 2024-05-10 06:20:23 +00:00
dp dps8m: init at 3.0.1 2024-05-02 15:34:02 +00:00
dr/drone-scp
ds
dt
du Merge pull request #305398 from gepbird/dunst-1.11.0 2024-05-04 04:42:36 +03:00
dv/dvb-apps
dx
dy
ea earlyoom: 1.8 -> 1.8.1 2024-05-02 15:07:29 +00:00
eb
ec Move lucperkins packages into by-name 2024-05-03 15:37:38 -03:00
ed
ei
ek/eksctl
el
em
en engage: update urls 2024-05-09 20:19:24 -07:00
ep/epub-thumbnailer
er
es
et
eu
ew/eww eww: update description, add long description 2024-05-03 21:46:56 +05:30
ex
ez/eza eza: 0.18.14 -> 0.18.15 2024-05-09 14:53:00 +02:00
fa Merge pull request #309366 from ProggerX/add-fasole 2024-05-07 20:17:59 +08:00
fb/fbset
fc
fe feather: 2.6.5 -> 2.6.7 2024-04-29 22:18:31 +02:00
ff fflogs: 8.3.42 -> 8.4.0 2024-05-04 01:02:06 +00:00
fg/fgqcanvas
fi files-cli: 2.13.14 -> 2.13.27 2024-05-04 15:16:59 +00:00
fl flac123: set meta.platforms 2024-05-09 18:04:03 +02:00
fm
fn/fnott fnott: 1.4.1 -> 1.5.0 2024-04-27 09:18:59 +00:00
fo Merge master into staging-next 2024-05-03 00:02:39 +00:00
fr
fs
fu furnace: 0.6.2 -> 0.6.3 2024-05-07 18:07:31 +02:00
fv
fw/fwupd fwupd.passthru.test-firmware: unstable-2022-04-02 -> 0-unstable-2022-04-02 2024-05-04 19:44:25 +02:00
fy/fypp
fz fzf: 0.51.0 -> 0.52.0 2024-05-07 18:17:01 +02:00
g3/g3kb-switch
ga gamescope: 3.14.11 -> 3.14.13 2024-05-08 14:04:03 +02:00
gb/gbar
gc
ge Merge branch 'master' into staging-next 2024-05-02 09:05:49 +02:00
gf
gg/gg
gh gh-poi: 0.9.8 -> 0.9.10 2024-05-07 01:02:07 +00:00
gi Merge pull request #309996 from r-ryantm/auto-update/gittuf 2024-05-09 20:35:29 +02:00
gl
gm
gn gnome-online-accounts-gtk: 3.50.1 -> 3.50.2 2024-05-04 00:01:45 +08:00
go go-landlock: init at 0-unstable-2024-02-26 2024-05-11 07:58:20 +10:00
gp gpt4all: 2.7.4 -> 2.7.5 2024-05-04 04:45:41 +00:00
gr greenmask: 0.1.12 -> 0.1.13 2024-05-07 13:44:51 +00:00
gt Merge branch 'master' into staging-next 2024-04-27 10:30:24 +02:00
gu Merge pull request #308788 from r-ryantm/auto-update/guile-lzlib 2024-05-03 20:17:56 +02:00
gv/gvisor maintainers: remove andrew-d as a maintainer 2024-04-27 14:05:07 -04:00
gx/gxml
h8/h8mail
ha hatch: 1.9.0 -> 1.9.7 2024-05-02 10:13:22 +02:00
hb/hb-honeypot
hd/hdrop
he
hi hieroglypic: fix darwin build 2024-05-05 19:47:59 +02:00
hj/hjson-go
ho home-manager: 0-unstable-2024-04-29 -> 0-unstable-2024-05-05 2024-05-06 05:02:45 +00:00
ht
hu hugo: 0.125.6 -> 0.125.7 2024-05-09 17:01:10 -04:00
hy various: remove eclairevoyant from meta.maintainers 2024-05-09 16:51:37 +02:00
i2/i2p i2p: 2.5.0 -> 2.5.1 2024-05-08 01:43:20 +00:00
i3 i3bar-river: 0.1.7 -> 0.1.8 2024-05-07 01:05:05 +00:00
ia
ic icnsify: init at 0.1.0 2024-05-05 21:12:30 -04:00
id
if/ifrextractor-rs
ig igvm-tooling: init at 1.5.0 2024-05-07 09:36:39 +02:00
ii
im imposm: init at 0.12.0 2024-05-08 19:01:08 +04:00
in incus: 6.0.0 -> 6.1.0 2024-05-09 10:05:00 -04:00
io/ioq3-scion
ip
ir ironbar: 0.15.0 -> 0.15.1 2024-05-06 05:28:18 +00:00
is/iscc
it
ja jazz2: drop graphicsLibrary, switch to SDL2 by default 2024-04-29 21:53:01 +02:00
jd/jdt-language-server
je jetbrains-toolbox: 2.2.3.20090 -> 2.3.1.31116 2024-05-01 06:36:06 +00:00
ji jikken: 0.7.1 -> 0.7.2 2024-05-04 14:49:41 +02:00
jj/jj
jn
jo
jr/jrl-cmakemodules
js/jsoncons jsoncons: 0.174.0 -> 0.175.0 2024-05-03 02:34:12 +00:00
jt/jtdx jtdx: init at unstable-2022-03-01 2024-05-02 15:33:08 +00:00
ju
ka kanidm: add adamcstephens as maintainer 2024-05-01 09:47:46 -04:00
kc kcl-cli: 0.8.6 -> 0.8.7 2024-05-02 07:26:33 +00:00
kd kdotool: init at 0.2.1 2024-04-30 01:14:19 +08:00
ke keydb: move to finalAttrs, cleanup 2024-04-29 19:07:40 +05:30
kg/kgeotag
ki kittysay: 0.5.0 -> 0.6.0 2024-05-08 01:42:49 +00:00
kl/klog-time-tracker
km
kn/knossosnet
ko komac: 2.1.0 -> 2.2.1 2024-05-08 11:01:08 +09:00
kp/kplex
kr
ks
kt
ku
kx/kxstitch
ky/kyverno-chainsaw kyverno-chainsaw: 0.1.9 -> 0.2.0 2024-05-02 13:12:52 +00:00
la Merge pull request #309296 from r-ryantm/auto-update/labelle 2024-05-05 22:35:25 +02:00
lb lbreakouthd: 1.1.7 -> 1.1.8 2024-05-03 10:25:50 +00:00
lc lc0: init at 0.30.0 2024-05-02 17:25:19 +02:00
ld/ldproxy
le lexical: 0.6.0 -> 0.6.1 2024-05-04 23:52:52 +02:00
li limine: 7.4.1 -> 7.5.0 2024-05-07 02:23:18 +00:00
ll llama-cpp: 2746 -> 2781 2024-05-03 10:06:47 +00:00
lm Merge pull request #305308 from mksafavi/pkg/lms 2024-05-07 17:13:52 +08:00
ln/lngen
lo local-ai: 2.13.0 -> 2.14.0 2024-05-06 07:46:03 +02:00
lp lprint: remove self from maintainer list 2024-04-28 19:48:36 +02:00
ls
lt/ltris
lu Merge pull request #306907 from rohanssrao/master 2024-05-04 08:16:21 +10:00
lw/lwgrp
lx Merge pull request #306002 from oo-infty/init-lx-music-desktop 2024-04-28 13:43:03 +00:00
lz
m2
ma Merge pull request #310429 from r-ryantm/auto-update/maa-assistant-arknights 2024-05-10 09:40:23 +02:00
mb
mc Merge master into staging-next 2024-04-30 12:01:12 +00:00
md
me Merge pull request #310266 from r-ryantm/auto-update/mediainfo-gui 2024-05-10 17:43:59 +00:00
mf
mg Merge branch 'master' into staging-next 2024-04-28 04:02:14 +02:00
mi Merge pull request #309103 from fabaff/misconfig-mapper 2024-05-06 09:54:54 +02:00
mk
ml/mlx42
mo monaspace: 1.000 -> 1.100 2024-05-04 13:17:13 +00:00
mp
mq
ms
mu
my Merge pull request #306906 from r-ryantm/auto-update/mystmd 2024-05-04 15:57:33 +02:00
n2/n2
na navidrome: move to by-name 2024-05-10 21:16:30 +12:00
nb/nbtscan
nc
nd/ndstrim
ne Merge pull request #310206 from TomaSajt/nekoray 2024-05-10 15:04:35 -06:00
nf nf-test: init at 0.8.4 (#308756) 2024-05-03 14:45:50 +00:00
ng nginx-sso: move to 'pkgs/by-name' 2024-04-27 23:11:38 +10:00
nh nh: 3.5.13 -> 3.5.14 2024-05-03 10:59:56 +00:00
ni nixos-anywhere: add missing get-facts script to output 2024-05-07 10:02:33 +02:00
nl
nm/nmap-parse
nn/nncp
no normcap: 0.5.4 -> 0.5.6 2024-05-08 22:15:33 +02:00
np
nr
ns
nt/ntfs2btrfs
nu
nv
nw
nx/nxengine-evo nxengine-evo.assets: 2.6.4 -> 2.6.5-1 2024-05-01 23:59:19 -03:00
oa
ob
oc ocenaudio: 3.13.5 -> 3.13.8 2024-05-01 23:35:15 +00:00
oe/oelint-adv oelint-adv: 5.3.0 -> 5.3.1 2024-04-28 05:44:45 +00:00
of offat: 0.17.3 -> 0.17.5 2024-05-08 11:08:06 +00:00
oh Move lucperkins packages into by-name 2024-05-03 15:37:38 -03:00
oi
ol/olvid Merge master into staging-next 2024-04-29 00:02:23 +00:00
om
on onevpl-intel-gpu: 23.4.3 -> 24.2.2 2024-05-08 07:59:20 +00:00
op Merge pull request #310534 from jlesquembre/jl/openfga 2024-05-10 21:42:50 +02:00
or Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
os
ot
ou
ov
ow
pa Merge pull request #310062 from cyberus-technology/paperless-asn-qr-codes 2024-05-08 15:08:41 +02:00
pd
pe Revert "maintainers: remove patka" 2024-05-06 14:08:44 +02:00
pf/pfft
pg pgmoneta: 0.11.0 -> 0.11.1 2024-04-30 16:42:31 +00:00
ph phpdocumentor: add missing build input 2024-05-07 13:33:54 +02:00
pi pinact: 0.1.2 -> 0.1.3 2024-05-01 14:44:03 +09:00
pk
pl Merge branch 'master' into staging-next 2024-05-01 09:37:47 +03:00
pm
pn
po Merge pull request #295652 from TomaSajt/portablemc 2024-05-10 14:44:25 +08:00
pp/ppsspp ppsspp: refactor 2024-05-01 22:12:47 -03:00
pq
pr Merge pull request #310584 from NixOS/pmd_102 2024-05-10 23:39:49 +02:00
ps/ps_mem ps_mem: migrate to by-name 2024-05-10 05:39:49 +02:00
pt ptyxis: init at 46.1 2024-05-05 00:02:59 +08:00
pu pupdate: 3.10.1 -> 3.10.2 2024-05-03 13:51:01 +00:00
pv/pvsneslib
pw Merge master into staging-next 2024-04-29 12:01:15 +00:00
px/pxder
py pyprland: 2.2.16 -> 2.2.17 2024-05-08 23:44:15 +00:00
pz/pzip
qa/qadwaitadecorations
qc/qcm
qd/qdirstat
qg/qgrep
qp/qpoases
qr qrtool: 0.10.9 -> 0.10.10 2024-04-28 00:59:34 +00:00
qs
qt/qtractor
qu quickemu: 4.9.2 -> 4.9.4 2024-05-10 00:06:13 +01:00
r1/r10k
ra Merge pull request #309050 from lorenzleutgeb/radicle 2024-05-10 04:49:03 +00:00
rc rclip: 1.8.8 -> 1.8.10 2024-05-07 22:33:36 +00:00
rd/rdwatool
re Merge pull request #294110 from Naxdy/work/add-retrospy 2024-05-08 19:59:50 +08:00
ri river-bnf: unstable-2023-10-10 -> 0-unstable-2023-10-10 2024-05-04 19:44:27 +02:00
rk
rl/rl_json
rm Merge master into staging-next 2024-05-03 06:01:07 +00:00
rn/rnd-name
ro rosa: 1.2.36 -> 1.2.38 (#308534) 2024-05-04 05:49:56 +03:00
rp/rpcs3 rpcs3: 0.0.31-16377-08c3a38b6 -> 0.0.31-16391-39e946630 2024-04-30 21:47:53 +00:00
rq/rqbit treewide: adopt orphaned packages 2024-04-28 20:43:06 +02:00
rs
rt rtaudio_6: Modernise 2024-04-29 15:59:35 +02:00
ru
rw/rwpspread rwpspread: 0.2.5 -> 0.2.6 (#305629) 2024-05-03 19:11:59 +00:00
ry
s0/s0ix-selftest-tool s0ix-selftest-tool: move to by-name 2024-05-05 18:46:50 -04:00
s3
sa sabnzbd: 4.3.0 -> 4.3.1 2024-05-08 21:42:12 +00:00
sb/sbom-utility
sc screenly-cli: 0.2.5 -> 0.2.6 2024-05-10 10:13:11 +01:00
sd SDL2_mixer: migrate to by-name 2024-05-03 00:04:32 -03:00
se seabird: 0.2.2 -> 0.3.2 2024-05-06 11:26:22 +02:00
sg/sgfutils
sh showmethekey: 1.13.0 -> 1.13.1 2024-05-08 21:25:10 +08:00
si simdutf: 5.2.6 -> 5.2.8 2024-05-08 06:34:32 +00:00
sk sketchybar-app-font: 2.0.17 -> 2.0.18 2024-05-08 18:58:24 +00:00
sl slumber: fix darwin build 2024-05-07 17:25:08 +02:00
sm
sn snapcraft: 8.2.1 -> 8.2.5 2024-05-07 09:24:41 +00:00
so
sp Merge pull request #301730 from momeemt/spectral-language-server/init 2024-05-08 22:35:34 +09:00
sq
sr
ss
st stackit-cli: 0.3.0 -> 0.4.0 2024-05-07 07:28:24 +00:00
su surrealdb: 1.3.1 → 1.4.2 2024-05-01 15:59:31 +04:00
sv
sw swww: cleanup using nixfmt-rfc-style, use lib explicitly where required 2024-05-04 12:25:26 +05:30
sx
sy Merge pull request #310654 from r-ryantm/auto-update/systemctl-tui 2024-05-10 22:51:30 +02:00
t-/t-rex
ta Merge pull request #307441 from adamcstephens/tabby 2024-05-08 20:25:57 -04:00
tc/tcsh
td Merge pull request #307698 from malt3/tdnf-init 2024-05-02 14:47:33 +02:00
te tenki: 1.8.0 -> 1.9.0 2024-05-09 14:55:50 +00:00
tg/tgpt
th various: remove eclairevoyant from meta.maintainers 2024-05-09 16:51:37 +02:00
ti Merge master into staging-next 2024-05-02 18:01:05 +00:00
tk
tl tlrc: 1.9.1 -> 1.9.2 2024-04-29 17:20:11 +02:00
tm/tmuxifier
to tootik: 0.10.3 -> 0.10.4 2024-05-04 16:23:22 +00:00
tp tplay: use rustPlatform.bindgenHook 2024-04-30 09:34:16 -04:00
tr Merge master into staging-next 2024-05-02 18:01:05 +00:00
tt tt: init at v0.4.2 2024-05-03 10:45:50 +02:00
tu Merge pull request #307508 from Sigmanificient/tuifi-experimental-dnd 2024-05-11 07:15:27 +10:00
tw Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
tx/txr
ty typos-lsp: add comment 2024-05-04 23:00:26 +02:00
uc uclibc: 1.0.47 -> 1.0.48 2024-05-05 04:46:12 +00:00
ud
ue ueviewer: init at 0-unstable-2024-02-23 2024-04-29 16:08:25 +02:00
ug
uh/uhttpmock_1_0
ui uiua: fix darwin build 2024-04-29 12:08:06 +02:00
um/umpire
un Merge pull request #310148 from r-ryantm/auto-update/unciv 2024-05-09 09:31:51 -04:00
up Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
us ustr: migrate to by-name 2024-05-10 04:33:52 +02:00
ut
uu/uuu uuu: 1.5.179 -> 1.5.181 2024-05-04 23:02:06 +00:00
uv/uv uv: 0.1.39 -> 0.1.42 2024-05-09 12:43:53 +00:00
uw/uwhoisd
ux/uxn uxn: unstable-2024-04-15 -> 1.0-unstable-2024-05-06 2024-05-07 09:08:58 +00:00
va varia: 2024.3.20 -> 2024.5.7 2024-05-07 22:14:59 +09:00
vc vcpkg: 2024.03.25 -> 2024.04.26 2024-05-01 21:35:06 +00:00
vd/vdhcoapp vdhcoapp: init at 2.0.19 2024-05-02 10:17:33 +02:00
ve vencord: 1.8.0 -> 1.8.2 2024-05-09 23:04:30 +02:00
vg/vgm2x
vi vis: migrate to by-name 2024-05-02 13:26:14 +04:00
vl
vo/voidmap
vu vunnel: 0.22.0 -> 0.22.2 2024-05-06 08:56:19 +00:00
vv/vvvvvv
wa Merge pull request #308863 from lucperkins/move-into-by-name 2024-05-06 22:56:00 +08:00
wb wbg: move to pkgs/by-name 2024-05-04 23:44:12 +02:00
we Merge pull request #309726 from r-ryantm/auto-update/weasis 2024-05-09 20:38:30 +02:00
wh whistle: 2.9.68 -> 2.9.70 2024-05-01 08:42:55 +00:00
wi Merge pull request #237972 from mibmo/pkg/windows10-icons 2024-05-06 18:49:25 +02:00
wl Merge pull request #309789 from r-ryantm/auto-update/wlr-layout-ui 2024-05-08 22:18:21 +08:00
wo workout-tracker: 0.14.1 -> 0.14.2 2024-04-29 02:38:07 +00:00
wp wpaperd: 0.3.0 -> 1.0.1 & mv to by-name 2024-05-03 12:36:30 +12:00
ws
wt
wy/wyoming-satellite
x1/x16
x5/x509-limbo
xa/xarcan
xc Merge branch 'master' into staging-next 2024-04-28 17:33:27 +02:00
xd
xe xemu: 0.7.120 -> 0.7.121 2024-05-07 04:31:23 +00:00
xf/xfs-undelete
xh/xhosts nss-xhosts: init at unstable-2023-12-30 2024-05-02 15:20:30 +00:00
xi treewide: adopt orphaned packages 2024-04-28 20:43:06 +02:00
xl/xlights Merge pull request #308102 from kashw2/xlights 2024-05-01 00:29:28 +02:00
xm xml-tooling-c: adopt, migrate to by-name, refactor 2024-05-08 18:34:49 +02:00
xn/xnlinkfinder xnlinkfinder: init at 6.0 2024-05-02 20:01:14 +02:00
xo
xp xplr: 0.21.7 -> 0.21.8 2024-05-06 01:38:13 +00:00
xr/xr-hardware
xs
xw/xwayland-run
ya yamlscript: 0.1.57 -> 0.1.58 2024-04-28 09:25:20 +00:00
yc/ycmd
ye
yg/yggdrasil
yj/yj
yo yofi: init at 0.2.2 2024-05-04 11:57:31 +10:00
ys/ysfx
yt Merge pull request #306630 from codebam/ytermusic 2024-05-08 19:59:31 +08:00
yu
za zapzap: 5.3 -> 5.3.1 2024-04-29 17:36:28 +00:00
zb/zbus-xmlgen
zc/zcfan
ze zed-editor: 0.133.7 -> 0.134.4 2024-05-10 16:39:40 +02:00
zi
zl/zluda
zo/zola
zp
zs
zu/zug
zw/zwave-js-server
zx
README.md

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 package name and so is the lowercased 2-letter prefix of the package 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. Please hold off migrating your maintained packages to this directory.

  1. An automated migration for the majority of packages is being worked on. In order to save on contributor and reviewer time, packages should only be migrated manually afterwards if they couldn't be migrated automatically.

  2. Manual migrations should only be lightly encouraged if the relevant code is being worked on anyways. For example with a package update or refactoring.

  3. Manual migrations should not remove definitions from all-packages.nix with custom arguments. 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-check-by-name tool.

You can locally emulate the CI check using

$ ./maintainers/scripts/check-by-name.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;
}