nixpkgs/pkgs/by-name
2024-02-24 23:44:55 +01:00
..
_4/_4th
_9/_9base
a4/a4
aa aaaaxy: 1.4.160 -> 1.5.6 2024-02-20 07:36:59 +00:00
ab/aba
ac action-validator: 0.5.4 -> 0.6.0 2024-02-23 07:36:14 +00:00
ad ad-miner: fix typo 2024-02-18 17:06:09 +01:00
ae
af afterglow-cursors-recolored: init at 0-unstable-2023-10-04 2024-02-10 17:27:18 +01:00
ai
al alsa-ucm-conf: drop conflicting upstream patch 2024-02-16 21:43:57 +00:00
am amphetype: add desktop item 2024-02-09 11:54:59 +00:00
an anytype: 0.37.3 -> 0.38.0 (#284895) 2024-01-31 13:19:05 +01:00
ao/aocl-utils
ap api-linter: add meta.mainProgram 2024-02-24 05:43:07 +08:00
ar Merge pull request #288421 from r-ryantm/auto-update/arxiv-latex-cleaner 2024-02-19 23:59:59 +09:00
as ast-grep: 0.19.1 -> 0.19.2 2024-02-23 09:30:35 +05:30
at atuin: backport fix for bash-preexec 2024-02-24 11:58:18 +09:00
au authentik: Fix logo path for email stage 2024-02-19 18:34:25 +00:00
av/avr-sim
aw aws-gate: fix missing and outdated requirements 2024-02-04 19:05:56 +01:00
ax/axmldec
ay ayatana-indicator-session: Re-enable test-service test 2024-02-24 11:57:22 +01:00
ba baresip: 3.8.1 -> 3.9.0 2024-02-09 11:32:45 +00:00
bc/bc-ur
be
bi Merge pull request #284623 from SuperSandro2000/bitwarden-directory-connector 2024-02-09 12:02:03 +01:00
bk/bk
bl Merge master into staging-next 2024-02-04 18:01:14 +00:00
bm/bmake bmake: 20240108 -> 20240212 2024-02-19 06:22:31 +00:00
bn/bngblaster bngblaster: 0.8.34 -> 0.8.35 (#286006) 2024-02-03 12:45:16 +01:00
bo boxed-cpp: 1.2.2 -> 1.3.0 2024-02-11 09:27:25 +00:00
br breeze-hacked-cursor-theme: init at unstable-2024-1-28 2024-01-28 17:41:38 -05:00
bs/bsync
bu Merge pull request #282418 from krloer/master 2024-01-29 14:13:39 +01:00
by/bytecode-viewer
c- Merge pull request #282375 from sikmir/c-periphery 2024-01-28 19:17:07 +01:00
c2 c2fmzq: 0.4.17 -> 0.4.18 2024-01-28 13:55:17 +00:00
ca Merge pull request #285967 from zendo/upd/cavalier 2024-02-24 00:25:32 +01:00
cb/cbmbasic
cc/ccache ccache: 4.9 -> 4.9.1 2024-02-09 12:01:03 +00:00
cd
ce Merge pull request #276299 from TomaSajt/certificate-ripper 2024-02-16 23:20:11 +01:00
cg/cgl
ch
ci Merge pull request #279127 from katexochen/ci-edit/init 2024-02-05 00:35:34 +01:00
cl Merge pull request #284185 from r-ryantm/auto-update/clzip 2024-02-04 20:23:32 +01:00
cm cmake: fix patch for darwin 2024-02-16 13:23:03 +03:00
cn/cntb
co cosmic-icons: unstable-2024-02-07 -> unstable-2024-02-22 2024-02-23 04:54:26 +00:00
cp
cr Merge pull request #284038 from TomaSajt/cringify 2024-02-23 06:23:49 +01:00
cs csvkit: 1.3.0 -> 1.4.0 2024-02-14 12:03:01 +01:00
ct/ctx
cu/cursewords cursewords: init at 1.1 2024-02-17 00:59:22 -08:00
cy
cz/czkawka czkawka: 6.1.0 -> 7.0.0 2024-02-19 22:36:46 +00:00
da das: 0.3.8 -> 1.0.3 2024-02-19 22:36:02 +08:00
db/dbus-cpp
dc/dc3dd
dd/ddns-updater ddns-updater: init at 2.6.0 2024-02-22 20:44:17 +00:00
de delfin: 0.3.0 -> 0.4.0 2024-02-21 13:25:13 +00:00
di dim: init at unstable-2023-12-29 2024-02-17 14:53:40 -03:00
dj/djent
dm dmitry: init at 1.3a-unstable-2020-06-22 2024-02-10 18:25:04 +01:00
dn/dns2tcp dns2tcp: init at 0.5.2 2024-02-20 18:44:09 +01:00
do doublecmd: 1.1.9 -> 1.1.10 2024-02-21 19:44:43 +00:00
dp/dpp dpp: init at 10.0.29 2024-01-28 19:23:53 -08:00
dr/drone-scp
ds Merge pull request #281250 from Gliczy/dsda-launcher 2024-02-13 19:28:16 +01:00
dt/dtcmp
du dunst: 1.9.2 -> 1.10.0 2024-02-20 15:45:56 +13:00
dv/dvb-apps
dx
dy Merge pull request #279251 from martinjlowm/chore/dynamodb-local-use-jre-minimal 2024-01-30 10:30:57 +01:00
ea/easyeasm easyeasm: init at 1.0.6 2024-01-28 18:16:03 +01:00
eb
ec
ed/eduvpn-client eduvpn-client: 4.2.0 -> 4.2.1 2024-02-13 10:50:29 +01:00
ei eigenlayer: 0.6.1 -> 0.6.2 2024-02-19 01:44:08 +00:00
ek/eksctl eksctl: 0.171.0 -> 0.172.0 2024-02-23 04:30:47 +00:00
el elvish: 0.20.0 -> 0.20.1 2024-02-15 15:29:04 +00:00
em Merge pull request #276376 from lolbinarycat/emacsclient-commands 2024-02-20 18:21:30 +01:00
en envio: 0.5.0 -> 0.5.1 2024-02-17 06:26:14 +00:00
er Merge pull request #278951 from sund3RRR/errands-init 2024-02-20 10:46:15 +01:00
es cargo-espflash: rename to espflash (#286386) 2024-02-09 11:50:17 -05:00
eu
ex ext3grep: init at 0.10.2 2024-02-12 22:06:21 +01:00
ez/eza eza: 0.18.3 -> 0.18.4 2024-02-22 06:35:34 +01:00
fa fastcdr: 2.1.3 -> 2.2.0 2024-02-23 11:11:09 +01:00
fb/fbset fbset: init at 2.1 2024-01-30 07:00:55 +01:00
fc
fe
ff
fi files-cli: 2.12.37 -> 2.12.38 2024-02-23 22:37:13 +00:00
fl flottbot: init at 0.13.0 2024-02-20 12:26:22 +01:00
fm
fn/fnott
fo Merge pull request #254526 from panicgh/foonathan-memory 2024-02-07 14:23:40 +01:00
fr freefilesync: 13.3 -> 13.4 2024-02-18 21:34:31 +01:00
fu/fuchsia-cursor fuchsia-cursor: init at 2.0.0 2024-01-28 18:08:44 +01:00
fw/fwupd fwupd: 1.9.12 -> 1.9.13 2024-02-09 16:45:09 +01:00
fy/fypp fypp: move python application out of python-modules, refactor 2024-02-05 23:08:15 +01:00
ga galleta: add darwin support 2024-02-18 20:47:40 +01:00
gb/gbar
gc Merge pull request #286810 from wegank/gcli-platforms 2024-02-08 01:26:32 +01:00
ge gerbolyze: init at v3.1.7 2024-02-17 01:22:36 -05:00
gh ghunt: 2.0.1 -> 2.1.0 2024-02-20 21:12:18 +01:00
gi gickup: 0.10.26 -> 0.10.27 2024-02-21 09:57:58 +00:00
gl glauth: 2.3.1 -> 2.3.2 2024-02-19 07:31:38 +00:00
gm/gmic
gn/gnucap gnucap: move to by-name 2024-02-23 12:01:37 +01:00
go goldwarden: 0.2.12 -> 0.2.13 2024-02-23 16:25:20 +00:00
gp gpt4all-chat: 2.7.0 -> 2.7.1 2024-02-22 08:54:35 +01:00
gr graphite-cli: 1.1.5 -> 1.2.3 2024-02-23 19:16:39 +00:00
gt gtt: 8 -> 9 2024-02-11 18:12:18 +01:00
gu Merge pull request #275493 from chitochi/guile-chickadee 2024-01-30 17:23:00 +01:00
h8/h8mail
ha hare: unstable-2024-02-08 -> 0.24.0 2024-02-21 16:36:41 -03:00
hd/hdrop
he helix-gpt: 0.25 -> 0.27 2024-02-09 20:39:55 -05:00
hi/hifile
hj/hjson-go
ho hoppscotch: init at 23.12.5 2024-02-22 20:32:34 +01:00
ht scitoken-cpp -> scitokens-cpp (#288390) 2024-02-13 16:12:20 -05:00
hu/hugo hugo: 1.123.2 -> 1.123.3 2024-02-24 11:21:17 +01:00
hy hypridle: init at 0.1.0 2024-02-21 11:05:01 -07:00
i3
ia
ic
id/idsk
if/ifrextractor-rs
ig ignite-cli: 28.1.1 -> 28.2.0 2024-02-07 05:39:58 +00:00
ii
im immersed-vr: 9.6 -> 9.10 2024-02-17 11:37:22 -05:00
in influxdb-cxx: init at 0.7.2 2024-02-23 04:45:38 +04:00
ir/ironbar ironbar: 0.14.0 -> 0.14.1 2024-02-11 09:48:04 +00:00
ja Merge pull request #286668 from r-ryantm/auto-update/jasper 2024-02-19 19:07:17 +01:00
jd/jdt-language-server
ji
jj/jj
jn/jnr-posix jnr-posix: init at 3.1.18 2024-02-02 10:00:33 +13:00
jo jogl: refactor 2024-02-10 22:18:16 +01:00
js/jsoncons jsoncons: init at 0.173.4 2024-02-14 00:27:58 +04:00
ju/justbuild
ka
kc kchat: init at 2.4.0 2024-02-24 13:46:06 +01:00
kd/kdsingleapplication
ke Merge pull request #289946 from peterablehmann/Package--keepassxc-go 2024-02-20 17:36:11 +01:00
kg/kgeotag
ki Merge pull request #282429 from fabaff/killerbee 2024-02-19 23:55:37 +01:00
kl/klog-time-tracker
km/kmsvnc kmsvnc: 0.0.5 -> 0.0.6 2024-02-06 05:06:18 +00:00
kn/knossosnet knossosnet: init at 1.0.0 2024-02-14 21:09:29 -05:00
ko kor: 0.3.4 -> 0.3.5 2024-02-20 12:38:25 +00:00
kp/kplex
ks/kseexpr
kt
ku
kx/kxstitch
la
lc/lcab
le Merge pull request #284332 from r-ryantm/auto-update/lefthook 2024-02-05 21:02:58 +01:00
li Merge pull request #290571 from benley/mixxx-2.4.0 2024-02-23 14:00:39 -05:00
ll llama-cpp: 2212 -> 2249 2024-02-23 15:04:25 +00:00
ln/lngen
lo Merge pull request #289701 from kylechui/feat/update-logiops 2024-02-24 00:26:41 +01:00
ls/lshw
lu lubelogger: init at 1.2.1 2024-02-21 13:28:08 -08:00
lw/lwgrp
lz lzlib: 1.13 -> 1.14 2024-02-09 11:09:15 +00:00
m2
ma Merge pull request #267461 from KUD-00/init-marcel 2024-02-13 03:19:54 -08:00
mc mcomix: 3.0.0 -> 3.1.0 2024-02-04 18:00:25 -05:00
md Merge pull request #288305 from nix-julia/add-mdbook-pdf-outline 2024-02-12 17:42:16 +01:00
me Merge master into staging-next 2024-02-23 18:01:06 +00:00
mf/mfoc-hardnested
mg/mgitstatus
mi miru: init at 4.5.10 2024-02-15 16:58:05 +01:00
mk
ml/mlx42
mo monophony: 2.6.0 -> 2.6.1 2024-02-23 15:42:00 +00:00
mp/mpifileutils
mq/mqttx mqttx: 1.9.8 -> 1.9.9 2024-02-08 15:18:49 +01:00
ms msolve: 0.6.3 -> 0.6.4 2024-02-11 04:15:02 +01:00
mu
my mystmd: 1.1.42 -> 1.1.43 2024-02-23 05:41:04 +00:00
n2/n2
na namespace-cli: 0.0.341 -> 0.0.345 2024-02-23 23:11:32 +00:00
nb/nbtscan nbtscan: init at 1.7.2-unstable-2022-10-29 2024-02-17 16:00:40 +01:00
nc/ncdc
ne Merge master into staging-next 2024-02-23 12:01:18 +00:00
nf/nfft
nh nhentai: move to pkgs/by-name 2024-02-22 13:03:51 +13:00
ni nimlangserver: add missing newline 2024-02-22 11:20:45 +00:00
nl
nm/nmap-parse nmap-parse: init at 0-unstable-2022-09-26 2024-02-03 23:51:00 +01:00
nn/nncp
no Merge pull request #290491 from DataHearth/add/app/nosql-workbench-3.11.0 2024-02-24 01:02:41 +01:00
np np: init at 0.11.0 2024-02-03 23:19:06 +01:00
nr nrr: 0.5.0 -> 0.5.2 2024-02-14 08:14:49 +08:00
ns
nu numbat: 1.9.0 -> 1.10.1 2024-02-13 13:19:16 +01:00
nv nvidia-container-toolkit: move to by-name structure 2024-02-21 22:17:11 +01:00
nw nwg-hello: init at 0.1.6 2024-02-01 08:11:03 -06:00
oa oam-tools: init at 0.1.2 2024-01-28 18:15:25 +01:00
ob obs-do: 0.1.0 -> 0.1.1 2024-02-11 13:55:17 +01:00
oc ocenaudio: fix url 2024-02-09 14:09:22 +00:00
oe/oelint-adv oelint-adv: 4.3.0 -> 4.3.1 2024-02-21 03:34:45 +00:00
of/offpunk offpunk: 2.1 -> 2.2 2024-02-12 22:47:52 +01:00
oh/oh-my-fish
oi oil: add myself as maintainer 2024-02-08 10:19:10 +01:00
on onlyoffice-bin, onlyoffice-bin_latest: move to pkgs/by-name 2024-02-05 16:38:53 -05:00
op Merge pull request #290937 from r-ryantm/auto-update/opensnitch 2024-02-24 23:29:34 +01:00
or ory: 0.3.2 -> 0.3.4 2024-02-11 10:04:21 +00:00
os osm2pgsql: migrate to by-name 2024-02-23 15:12:06 +04:00
ot oterm: fix build 2024-02-11 11:30:10 +08:00
ou/outputcheck
ov
ow/owncloud-client
pa Merge pull request #290224 from patka-123/paratest-7.4.3 2024-02-20 18:38:29 +01:00
pd Merge pull request #289632 from marsam/add-pdfannots 2024-02-18 17:00:34 -05:00
pe Merge pull request #282470 from raspher/peergos 2024-02-08 01:29:32 +00:00
pf/pfft
pg pgagroal: migrato to by-name 2024-02-23 04:20:00 +00:00
ph Merge pull request #290969 from patka-123/phpunit-11.0.3 2024-02-23 22:53:30 +01:00
pi Merge pull request #288667 from thiagokokada/cleanup-picom 2024-02-15 10:31:16 +00:00
pk/pkcrack
pl plumber: 2.5.3 -> 2.5.4 2024-02-22 02:41:56 +00:00
pm pmtiles: 1.14.1 -> 1.17.0 2024-02-15 21:15:07 +00:00
pn/pnfft
po powerhub: init at 2.0.7 2024-02-20 22:04:32 +01:00
pp/ppsspp ppsspp: 1.17 -> 1.17.1 2024-02-05 07:12:45 +00:00
pr prowler: relax pydantic constraint 2024-02-23 18:46:01 +01:00
pt ptunnel: init at 0.72 2024-02-18 21:39:15 +01:00
pu purescm: init at 1.8.2 2024-02-20 15:58:48 +07:00
pw
px/pxder
py pyprland: 1.10.2 -> 2.0.3 2024-02-21 02:53:11 +03:00
pz/pzip
qa/qadwaitadecorations
qc/qcm qcm: init at 1.0.2 2024-02-09 00:42:18 +08:00
qg/qgrep
qr qrtool: 0.10.4 -> 0.10.5 2024-02-19 00:59:41 +00:00
qs qsreplace: use buildGoModule 2024-02-06 23:08:55 +08:00
qt/qtractor
qu Merge pull request #251015 from TomaSajt/quark-goldleaf 2024-02-16 23:15:06 +01:00
ra raft-cowsql: 0.19.1 -> 0.22.0 2024-02-11 15:52:21 +00:00
rc rclip: 1.7.24 -> 1.7.26 2024-02-19 08:42:07 +08:00
re Merge pull request #290640 from SomeoneSerge/fix/rerun-wayland 2024-02-23 14:28:20 +00:00
ri
rl/rl_json
rm/rmg rmg: Fix licensing 2024-01-28 22:33:51 +01:00
ro Merge pull request #285645 from konradmalik/roslyn-ls 2024-02-17 21:12:08 +01:00
rp/rpcs3 rpcs3: add deps for wayland support 2024-02-21 02:28:23 +02:00
rq/rqbit
rs
rt/rtl-sdr-osmocom
ru rustdesk-flutter: unstable-2024-02-03 -> 1.2.3-unstable-2024-02-11 2024-02-12 17:00:40 +01:00
rw/rwpspread rwpspread: 0.1.9 -> 0.2.1 2024-02-19 18:47:37 +00:00
s3 s3proxy: init 2024-02-22 22:03:13 +00:00
sa Merge pull request #290918 from r-ryantm/auto-update/satty 2024-02-24 23:44:55 +01:00
sc Merge pull request #289934 from jnsgruk/scrutiny 2024-02-23 00:43:55 +01:00
sd sdcc: 4.2.0 -> 4.4.0 2024-02-13 12:47:11 +01:00
se seclists: 2023.4 -> 2024.1 2024-02-16 19:04:16 +00:00
sg/sgfutils
sh shopware-cli: 0.4.23 -> 0.4.24 2024-02-21 19:51:23 +00:00
si simplex-chat-desktop: 5.4.4 -> 5.5.5 2024-02-23 15:06:26 +01:00
sl
sm smag: init at 0.7.0 2024-02-17 03:46:10 +01:00
sn snicat: set ldflags 2024-02-06 23:17:47 +08:00
so
sp Merge pull request #290326 from r-ryantm/auto-update/spicetify-cli 2024-02-21 10:17:40 -05:00
sq/sqlite-vss
sr Merge pull request #271324 from nessdoor/sourcehut/tests 2024-02-17 20:58:22 +01:00
ss
st steamguard-cli: 0.12.5 -> 0.12.6 2024-02-19 23:13:18 +00:00
su
sv svndumpsanitizer: init at 2.0.7 (#282398) 2024-02-24 00:39:45 +01:00
sw Merge pull request #282067 from michaelgrahamevans/switcheroo 2024-02-03 17:26:55 +01:00
sx
sy syn2mas: 0.7.0 -> 0.8.0 2024-02-10 10:56:06 +00:00
ta tailscale-nginx-auth: 1.58.0 -> 1.58.2 2024-01-27 23:40:34 +00:00
tc/tcsh
td/tdl tdl: 0.15.1 -> 0.16.0 2024-02-15 16:42:20 +04:00
te Merge pull request #286147 from gangaram-tii/pr/tetragon 2024-02-06 15:29:05 +01:00
th
ti tigerbeetle: 0.14.179 -> 0.14.180 2024-02-21 06:46:15 +00:00
tk/tkdiff
tl tlmi-auth: enable cross-compliation by correctly classifying dependencies 2024-02-03 12:13:37 +01:00
tm/tmuxifier
to
tp
tr treedome: 0.3.3 -> 0.4 2024-02-18 19:17:31 +07:00
tt/ttop
tu tuxclocker: 1.4.0 -> 1.5.0 2024-01-31 15:40:32 +02:00
tx/txr
ty typst-preview: 0.10.5 -> 0.10.8 2024-02-20 15:35:18 +01:00
uc
ud
ue uefisettings: init at unstable-2024-02-20 2024-02-21 09:01:18 +01:00
ui uiua: 0.7.1 -> 0.8.0 2024-01-31 18:19:23 +01:00
um/umpire umpire: 2023.06.0 -> 2024.02.0 2024-02-23 08:45:58 +00:00
un Merge pull request #287629 from D3vil0p3r/patch-8 2024-02-24 04:53:01 +01:00
up updatecli: 0.70.0 -> 0.72.0 2024-02-11 04:50:35 +00:00
us/usql
ut/ut
uu/uuu
uv/uv uv: 0.1.8 -> 0.1.9 2024-02-23 09:08:24 +01:00
ux/uxn uxn: unstable-2024-02-14 -> unstable-2024-02-15 2024-02-18 18:10:06 +00:00
va/valijson
vc vcpkg: 2024.01.12 -> 2024.02.14 2024-02-16 22:48:06 +00:00
ve vesktop: use stdenv instead of gcc13Stdenv 2024-02-13 21:29:43 +00:00
vg/vgm2x
vi vibrantlinux: fix revision to contain v prefix 2024-02-11 11:50:12 +00:00
vu/vulkan-volk
wa wayland-pipewire-idle-inhibit: init at 0.4.5 2024-02-20 19:44:55 -03:00
wb/wb32-dfu-updater
we weasis: 4.2.1 -> 4.3.0 2024-02-21 09:42:38 +00:00
wh whistle: 2.9.63 -> 2.9.64 2024-02-01 04:49:14 +00:00
wi wiremock: 3.4.0 -> 3.4.1 2024-02-22 11:13:59 +00:00
wl
wo
wp/wp-cli
ws/wslay
wt/wtfis wtfis: 0.7.1 -> 0.8.0 2024-02-20 04:57:55 +00:00
x1/x16
xa/xarcan
xc/xcbeautify xcbeautify: init at 1.4.0 2024-02-13 13:42:32 +05:30
xd xdg-desktop-portal-cosmic: set meta.mainProgram 2024-02-19 19:50:07 +01:00
xf/xfs-undelete
xi xiu: init at 0.10.0 2024-02-13 04:20:00 +00:00
xm
xo xonsh: 0.14.0 -> 0.14.4 (#282368) 2024-02-04 23:06:22 +01:00
xp/xplr
xs Add appres to the path for xscreensaver 2024-02-01 18:03:37 +13:00
xw/xwayland-run
ya yazi: use wrapper to avoid rebuild 2024-02-19 00:21:06 +08:00
ye
yg/yggdrasil yggdrasil: 0.5.4 -> 0.5.5 2024-01-29 18:48:36 +00:00
yj/yj
yo youtrack: 2023.3.23390 -> 2023.3.24329 2024-02-11 08:33:46 +00:00
ys/ysfx ysfx: init at 0-unstable-2022-07-31 2024-02-10 22:53:41 +00:00
yt
yu/yunfaavatar
za/zapzap zapzap: 5.1.3 -> 5.2 2024-02-17 18:15:29 +01:00
zb/zbus-xmlgen
zc/zcfan
ze/zesarux
zi zigpy-cli: init at 1.0.4 (#289805) 2024-02-20 23:03:01 +01:00
zo/zola
zp zpaqfranz: 59.1 -> 59.2 2024-02-23 22:36:34 +00:00
zs/zs
zu/zug
zw/zwave-js-server
zx zxtune: 5055 -> 5056 2024-02-20 06:31:27 +00:00
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

$ ./pkgs/test/nixpkgs-check-by-name/scripts/run-local.sh master

See here for more info.