nixpkgs/pkgs/by-name
2024-10-14 11:48:52 +02:00
..
_0 treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
_1 treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +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: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
aa aaaaxy: 1.5.202 -> 1.5.208 2024-10-07 19:02:40 +02:00
ab ab-av1: 0.7.17 -> 0.7.18 2024-10-04 13:23:11 +00:00
ac treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ad adcskiller: init at 0-unstable-2024-05-19 (#344732) 2024-10-11 00:24:06 +02:00
ae aerospace: init at 0.14.2-Beta (#344015) 2024-10-12 11:38:46 +01:00
af affine: 0.16.0 -> 0.17.0 2024-09-24 12:56:53 -03:00
ag agebox: move to by-name 2024-10-04 13:56:37 +02:00
ai aider-chat: 0.57.0 -> 0.59.0 2024-10-11 15:59:42 +08:00
al Merge remote-tracking branch 'origin/master' into staging-next 2024-10-12 21:08:11 +03:00
am treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
an ansible-navigator: 24.7.0 -> 24.9.0 2024-09-27 04:37:44 +00:00
ao/aocl-utils
ap Merge staging-next into staging 2024-10-12 12:05:39 +00:00
aq/aquamarine aquamarine: 0.4.0 -> 0.4.1 2024-09-08 07:32:41 +00:00
ar Merge master into staging-next 2024-10-12 12:05:08 +00:00
as astro-language-server: 2.14.2 -> 2.15.0 (#347261) 2024-10-09 21:06:36 +02:00
at Merge master into staging-next 2024-10-10 12:05:39 +00:00
au Merge staging-next into staging 2024-10-14 06:05:43 +00:00
av avml: use OpenSSL from Nixpkgs 2024-09-28 17:34:20 +02:00
aw treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06: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 azure-cli: override azure-mgmt-billing 2024-10-12 08:47:45 +02:00
b3/b3sum
ba bakelite: unstable-2022-02-12 → unstable-2023-03-30 (#347555) 2024-10-11 16:56:46 +01:00
bc bcachefs-tools: 1.11.0 -> 1.13.0 2024-10-11 12:16:49 +02:00
bd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
be bee: 2.1.0 -> 2.2.0 2024-09-26 23:29:54 +02:00
bi biglybt: 3.6.0.0 -> 3.7.0.0 (#346682) 2024-10-10 17:32:10 +00:00
bk/bk
bl Merge master into staging-next 2024-10-09 00:14:24 +00:00
bm pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
bn/bngblaster bngblaster: 0.9.7 -> 0.9.8 2024-10-09 04:49:05 +00:00
bo boxbuddy: 2.2.12 -> 2.2.13 (#346165) 2024-10-13 00:12:49 +08:00
bp
bq/bqn
br bruno: 1.30.1 -> 1.32.1 2024-10-07 22:08:41 +00:00
bs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bt
bu buf: 1.42.0 -> 1.44.0 2024-10-06 11:26:38 +00:00
by byedpi: 0.13.1 -> 0.14.1 2024-09-22 00:34:29 +03:00
c2 c2patool: 0.9.9 -> 0.9.10 2024-10-08 00:51:02 +00:00
c3/c3-lsp c3-lsp: init at 0.3.2 2024-09-22 18:12:10 -03:00
c-
ca caido: 0.41.0 -> 0.42.0 2024-10-12 20:24:25 +02:00
cb treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cc cctools: move libtool to its own output 2024-10-10 16:23:07 -04:00
cd cdecl: 18.3 -> 18.4.1 2024-09-14 13:34:40 +00:00
ce treewide: use lowdown-unsandboxed where appropriate 2024-10-07 04:26:56 +01:00
cf cfn-nag: moved to by-name 2024-10-02 15:16:17 +09:00
cg treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
ch treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
ci treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
cj/cjs
cl clean-css-cli: 5.6.2 -> 5.6.3 (#346160) 2024-10-14 01:36:16 +02:00
cm cmake: do in fact use the Darwin SDK in the setup hook 2024-10-10 16:23:00 -04:00
cn cntb: fix darwin 2024-09-15 12:23:03 +02:00
co corerad: 1.3.0 -> 1.3.1, refactors (#347280) 2024-10-13 13:07:41 -06:00
cp cpplint: 1.7.0 -> 2.0.0 2024-10-11 23:49:34 +02:00
cq/cq
cr crow: init at 1.2 2024-10-13 07:42:53 +02:00
cs csv-tui: 1.1 -> 1.2 2024-10-02 22:28:18 +00:00
ct/ctx
cu cups-idprt-{barcode,mt888,mt890,sp900,tspl}: Fix missing attribute on aarch64-linux 2024-09-26 03:48:21 +03:00
cv/cvemap
cw/cwe-client-cli
cy cyme: 1.8.3 -> 1.8.4 2024-09-28 09:55:01 +00:00
cz/czkawka czkawka: add versionCheckHook 2024-10-12 22:03:02 +02:00
da darcs-to-git: 0-unstable-2024-02-20 -> 0-unstable-2024-09-30 (#346980) 2024-10-10 19:17:50 -04:00
db treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
dc treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
dd
de treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
dg treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
dh/dhcpig
di Merge master into staging-next 2024-10-13 00:15:27 +00:00
dj/djent
dm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dn
do treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
dp dpp: 10.0.30 -> 10.0.31 2024-09-22 00:44:07 +00:00
dr druid: use mirror url 2024-10-09 12:03:59 +02:00
ds treewide: move packages maintained by aaronjheng to by-name (#346765) 2024-10-07 07:38:59 +01:00
dt
du dumbpipe: 0.17.0 -> 0.18.0 2024-10-01 23:57:39 -04:00
dv Merge remote-tracking branch 'origin/staging-next' into staging 2024-09-17 09:07:34 +03:00
dw treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03: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: fix changelog url 2024-10-06 04:17:38 +02:00
ea easytier: 2.0.0 -> 2.0.3 2024-10-13 21:52:28 +08:00
eb pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ec ecapture: 0.8.6 -> 0.8.7 2024-10-07 12:40:10 +00:00
ed edk2: use openssl 3.0 for now 2024-10-07 10:37:28 +02:00
ee/eepers
ef eflite: add bot-wxt1221 as maintainers; fix build 2024-09-28 10:33:45 +08:00
eg/eg25-manager
ei eiwd: 2.16-1 -> 2.22-1 2024-10-09 12:35:49 +00:00
ej ejs: 3.1.9 -> 3.1.10 2024-09-23 14:06:39 +09:00
ek treewide: migrate packages maintained by ivankovnatsky to by-name 2024-10-04 16:31:04 +03:00
el elvis: modernize 2024-09-19 22:00:06 -03:00
em emplace: fix build 2024-09-28 09:43:28 +08:00
en treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
eo/eog treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ep treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
er errands: 46.2.4 -> 46.2.5 2024-10-05 11:30:30 +02:00
es eslint_d: Move to pkgs/by-name/ folder 2024-10-13 16:45:17 +02:00
et
eu eudev.meta.pkgConfigModules: init 2024-10-13 11:49:07 +02:00
ev treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ew treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ex exo: 0-unstable-2024-10-06 -> 0-unstable-2024-10-09 2024-10-09 18:54:01 +02:00
ey/eyewitness
ez/eza eza: 0.20.1 -> 0.20.2 2024-10-09 09:50:07 +02:00
f2/f2fs-tools f2fs-tools: enable parallel building 2024-09-16 17:35:46 +02:00
fa treewide: switch to moltenvk from darwin.moltenvk 2024-10-10 01:06:41 -04:00
fb/fbset
fc maintainers: rename oo-infty to oosquare 2024-09-30 15:35:17 +08:00
fd/fdroidserver fdroidserver: move to by-name 2024-09-13 19:55:04 +08:00
fe Merge master into staging-next 2024-10-06 12:05:15 +00:00
ff fflogs: 8.13.5 -> 8.14.0 (#344409) 2024-10-01 17:15:20 +00:00
fg/fgqcanvas pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
fi figma-linux: 0.11.4 -> 0.11.5 2024-10-10 18:10:26 -03:00
fj/fjo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fl fluxcd: 2.3.0 -> 2.4.0 (#345690) 2024-10-09 10:27:12 +02: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 webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
fr freeplane: disable parallel building 2024-10-09 22:36:11 +07:00
fs fscryptctl: 1.0.0 -> 1.2.0 (#338344) 2024-09-16 15:17:26 +02:00
ft Merge master into staging-next 2024-10-10 12:05:39 +00:00
fu treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fv
fw/fwupd fwupd: 1.9.24 -> 1.9.25 2024-09-25 14:59:25 +02:00
fx/fx
fy treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fz
g3/g3kb-switch pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
g-/g-wrap g-wrap: migrate to by-name 2024-10-04 13:09:18 -03:00
ga nixos/gatus: init module (#294469) 2024-10-02 11:08:14 +02:00
gb
gc gcs: 5.21.0 -> 5.27.0 2024-09-28 00:37:32 +02:00
gd treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ge gerrit: 3.10.1 -> 3.10.2 2024-10-11 22:59:34 +02:00
gf treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
gg/gg Revert "gg-jj: init at 0.20.0" 2024-10-11 02:25:22 +01:00
gh treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
gi treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
gk/gk-cli
gl glab: 1.45.0 -> 1.47.0 2024-10-09 19:45:00 +02:00
gm gmic{,-qt}: enable OpenCV, OpenMP (Clang) and X11 (#340855) 2024-10-03 18:12:03 +02:00
gn gnome-settings-daemon: add withSystemd option 2024-10-13 11:51:39 +02:00
go gomanagedocker: init at 1.4 (#347300) 2024-10-12 13:24:59 +02:00
gp treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
gr greenmask: 0.1.14 -> 0.2.0 2024-10-10 04:18:59 +00:00
gs/gscan2pdf gscan2pdf: migrate to pkgs/by-name overlay 2024-09-18 19:51:00 +02:00
gt pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
gu treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
gv/gvisor
gx treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
gz/gzdoom gzdoom: 4.12.2 -> 4.13.0 2024-10-12 12:33:52 +02:00
h2/h2
h5/h5utils
h8/h8mail
ha Merge remote-tracking branch 'origin/master' into staging-next 2024-10-12 21:08:11 +03:00
hb/hb-honeypot
hc/hclfmt
hd hdr10plus_tool: 1.6.0 -> 1.6.1 (#342279) 2024-09-16 20:28:00 +05:30
he Merge staging-next into staging 2024-10-12 12:05:39 +00:00
hi treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
hj/hjson-go
hn/hn-text
ho homebox: 0.13.0 -> 0.15.2 2024-10-10 20:48:07 +02:00
hp hpcg: apply nixfmt 2024-09-26 22:32:41 +02:00
hr/hred hred: 1.5.0 -> 1.5.1 2024-09-27 16:30:48 -04:00
ht httplib: remove aidalgol from maintainers 2024-10-04 19:29:48 -03:00
hu hugo: 0.134.3 -> 0.135.0 2024-10-03 10:58:48 +00:00
hv/hvm
hw/hwinfo
hx/hxtools
hy hydra: 0-unstable-2024-09-24 -> 0-unstable-2024-10-08 (#347872) 2024-10-13 14:51:07 +02:00
i2/i2p treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
i3 i3bar-river: 1.0.0 -> 1.0.1 2024-10-08 02:13:43 +00:00
ia treewide: migrate packages maintained by ivankovnatsky to by-name 2024-10-04 16:31:04 +03:00
ic
id treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
if
ig treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ii
ij
im immersed-vr: rename to immersed 2024-10-08 11:38:51 -07:00
in treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
io treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ip ipxe: 1.21.1-unstable-2024-09-13 -> 1.21.1-unstable-2024-09-27 2024-09-27 17:06:49 +00:00
ir irust: 1.71.23 -> 1.71.24 2024-09-28 22:38:00 +00:00
is isponsorblocktv: init at 2.2.1 (#343585) 2024-09-29 17:18:16 +01:00
it itch: implement NIXOS_OZONE_WL (#329503) 2024-09-25 18:32:53 +02:00
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: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ja Merge master into staging-next 2024-10-06 06:04:33 +00:00
jc/jcli treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
jd/jdt-language-server jdt-language-server: 1.39.0 -> 1.40.0 2024-10-02 03:09:24 +00:00
je jextract: pin JDK 23, mark as broken 2024-09-26 16:46:04 +01:00
ji jira-cli-go: 1.5.1 -> 1.5.2 2024-10-01 10:56:14 +00:00
jj/jj
jn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
jo josm: 19207 → 19230 2024-10-10 21:25:07 +02:00
jp/jp-zip-codes jp-zip-codes: 0-unstable-2024-09-01 -> 0-unstable-2024-10-01 2024-10-01 02:07:27 +00:00
jq jq: merge output "lib" into "out" 2024-09-30 02:45:37 -04:00
jr jrl-cmakemodules: set platforms 2024-09-17 15:41:55 +02:00
js treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
jt/jtdx
ju just: 1.35.0 -> 1.36.0 2024-10-07 23:43:30 +00:00
jw/jwasm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
k8/k8s-manifest-sigstore
ka katawa-shoujo-re-engineered: 1.4.7 -> 1.4.8 2024-10-07 14:24:45 +03:00
kb/kbld kbld: init at 0.44.1 2024-09-24 10:01:37 +02:00
kc kcl: 0.9.8 -> 0.10.0 (#345613) 2024-10-10 10:27:57 +02:00
kd
ke keyguard: 1.6.1 -> 1.6.2 (#347050) 2024-10-14 01:36:57 +02:00
kg/kgeotag
ki treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
kl klong: init at 20221212 2024-09-20 22:28:43 +00:00
km kmod-blacklist-ubuntu: 30+20230519-1ubuntu3 -> 31+20240202-2ubuntu8 2024-10-11 15:32:17 +02:00
kn knossosnet: 1.2.3 -> 1.2.4 2024-10-09 06:10:02 +00:00
ko koboldcpp: add meta.homepage 2024-10-12 12:49:52 +03:00
kp/kplex
kr treewide: migrate packages maintained by ivankovnatsky to by-name 2024-10-04 16:31:04 +03:00
ks
kt ktor-cli: init at 0.2.1 2024-10-05 17:17:46 +03:00
ku kubectl-gadget: 0.32.0 -> 0.33.0 2024-10-07 14:22:47 +00:00
kv/kvmarwaita
kw/kwok kwok: init at 0.6.0 2024-09-10 21:26:27 +08:00
kx
ky treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
la lazyjj: 0.4.0 -> 0.4.2 2024-10-08 07:19:39 +00:00
lb treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lc
ld ld64: adopt source release private headers pattern 2024-10-10 16:23:07 -04:00
le legcord: init at 1.0.0 2024-10-11 16:59:38 -05:00
lg/lgogdownloader lgogdownloader: use finalAttrs.finalPackage 2024-09-24 23:28:55 +02:00
li libarchive: 3.7.4 -> 3.7.6 (#341705) 2024-10-14 11:44:04 +02:00
lk/lk-jwt-service
ll llama-cpp: 3829 -> 3887 2024-10-05 23:09:18 +00:00
lm lmstudio: 0.3.3 -> 0.3.4 2024-10-13 13:36:17 -05:00
ln/lngen
lo local-ai: 2.20.1 -> 2.21.1 (#346080) 2024-10-11 01:34:44 +02:00
lp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lr/lrcget treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
ls lsp-ai: init at 0.7.1 (#343184) 2024-10-01 18:57:13 +10:00
lt/ltris treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lu luakit: hammer 2024-10-13 12:12:05 -03: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-wenkai-screen: 1.330 -> 1.501 2024-10-11 06:03:21 +00:00
lz treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
m1/m1ddc
m2
ma Merge staging-next into staging 2024-10-09 00:14:47 +00:00
mb mbtileserver: migrate to by-name 2024-10-03 10:59:35 +04:00
mc Merge master into staging-next 2024-09-28 00:13:56 +00:00
md mdbook-alerts: 0.6.6 -> 0.6.7 2024-10-06 16:39:34 +00:00
me Merge master into staging-next 2024-10-13 00:15:27 +00:00
mf pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
mg
mi misskey: 2024.5.0 -> 2024.10.0 (#343505) 2024-10-13 13:16:06 +02:00
mk
ml/mlx42 mlx42: format and clean up 2024-09-25 00:13:08 +02:00
mo Merge remote-tracking branch 'origin/staging-next' into staging 2024-10-13 15:36:55 +02: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 treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
mt mtxclient: move to by-name and reformat 2024-10-11 12:40:38 +02:00
mu Merge master into staging-next 2024-10-10 18:04:46 +00:00
my mycelium: 0.5.5 -> 0.5.6 2024-10-09 13:27:37 +00:00
n2/n2
n8/n8n n8n: 1.60.1 -> 1.61.0 2024-09-30 20:44:37 +00:00
n9/n98-magerun2
na nak: init at 0.7.6 2024-10-05 18:23:53 +03:00
nb nbdkit: init at 1.40.4 2024-10-09 17:08:41 +02:00
nc nchat: 3.67 -> 5.2.11, move to by-name, add luftmensch-luftmensch to maintainers 2024-10-02 13:12:22 +03:00
nd ndn-tools: move to by-name 2024-10-01 18:00:05 +02:00
ne Merge staging-next into staging 2024-10-12 12:05:39 +00:00
nf nf-test: ensure makeWrapper is restricted to nativeBuildInputs 2024-10-02 11:22:41 +02:00
ng ngrok: 3.14.0 -> 3.16.0 2024-09-26 22:09:03 +02:00
nh nheko: move to by-name and reformat 2024-10-11 12:40:39 +02:00
ni Merge master into staging-next 2024-10-12 12:05:08 +00:00
nl
nm treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
nn treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
no notmuch-mailmover: 0.3.0 -> 0.4.0 (#345530) 2024-10-14 01:40:26 +02: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 numbat: 1.12.0 -> 1.13.0 (#341128) 2024-10-10 10:09:27 +02:00
nv nvrh: 0.1.12 -> 0.1.13 2024-10-13 17:23:28 +02:00
nw nwg-hello: 0.2.2 -> 0.2.4 (#344620) 2024-10-07 11:09:52 +09:00
nx/nxengine-evo
ny/nym nym: 1.1.21 -> 2024.10-caramello; add bot-wxt1221 as maintainers 2024-10-03 23:00:20 +08:00
nz nzbhydra2: 7.6.0 -> 7.7.0 2024-10-03 13:31:53 +00:00
oa oath-toolkit: 2.6.11 -> 2.6.12 2024-10-05 07:33:02 +02:00
ob {staruml, figma-linux, infracost, obsidian, scaleway-cli, netbeans}: migrate to by-name (#332171) 2024-10-05 21:36:16 +02:00
oc octoscan: 0.1.0 -> 0.1.1 2024-09-26 10:57:53 +02:00
od treewide: remove empty build inputs 2024-10-04 19:03:59 +02:00
oe/oelint-adv oelint-adv: 6.0.0 -> 6.1.0, fetch source from github, enable tests 2024-09-30 09:32:00 -04:00
of treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
og/oguri treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
oh oh-my-posh: 23.14.1 -> 23.15.0 2024-10-01 12:26:28 +00:00
oi oink: 1.3.0 -> 1.3.1 2024-10-12 23:02:03 -07:00
ok okteto: 2.31.0 -> 3.0.0 2024-10-04 16:57:07 +00:00
ol ollama: only set updateScript for ollama, not ollama-{rocm,cuda} (#345375) 2024-10-02 19:39:18 -04:00
om omnom: init at 0-unstable-2024-08-29 (#339846) 2024-09-26 14:13:40 +02:00
on onedrive: 1.5.1 -> 1.5.2 2024-10-03 16:08:46 +10:00
oo
op open62541: 1.4.4 -> 1.4.6 (#346691) 2024-10-14 01:19:46 +02:00
oq/oqs-provider oqs-provider: 0.6.1 -> 0.7.0 2024-10-08 10:10:17 -06:00
or orchard: 0.23.2 -> 0.24.0 2024-09-28 03:14:33 +00:00
os osu-lazer-bin: fix hash for the second time 2024-10-10 21:05:09 +02:00
ot
ou pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ov treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
ow treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
p3/p3x-onenote p3x-onenote: 2023.4.117 -> 2024.10.110 2024-10-07 15:22:00 -05:00
pa treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
pb/pb treewide: move packages maintained by aaronjheng to by-name 2024-10-07 01:15:33 +00:00
pc pcsx2: 2.1.102 -> 2.1.127 2024-09-11 11:48:41 -03:00
pd hdf5: 1.14.4.3 -> 1.14.5 (#345946) 2024-10-08 13:37:10 +03:00
pe pest: 2.34.7 -> 3.3.1 (#347922) 2024-10-13 10:23:27 +02:00
pf treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
pg pgmoneta: 0.14.0 -> 0.14.1 2024-10-01 18:06:17 +00:00
ph phpunit: 11.3.1 -> 11.3.6 (#344880) 2024-09-28 22:43:27 +02:00
pi picom: v12.1 -> v12.2 2024-10-10 17:03:19 +02:00
pk
pl plasticity: 24.2.3 -> 24.2.4 (#345696) 2024-10-07 10:21:42 -04:00
pm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pn
po treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
pp/ppsspp
pq
pr pretix: add patch for fakeredis 0.25.x compat 2024-10-13 11:09:57 +02:00
ps
pt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pu pupdate: 3.15.0 -> 3.18.0 2024-09-28 15:04:29 +00:00
pv treewide: migrate packages maintained by ivankovnatsky to by-name 2024-10-04 16:31:04 +03:00
pw Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
px/pxder
py pylyzer: 0.0.64 -> 0.0.65 (#346842) 2024-10-06 12:33:05 +02:00
pz/pzip
qa/qadwaitadecorations
qb/qbittorrent-enhanced qbittorrent-enhanced: 4.6.6.10 -> 4.6.7.10 2024-09-20 23:13:23 +00:00
qc/qcm
qd qdiskinfo: refactor themes 2024-10-10 23:03:16 +01:00
qe/qemu_xen qemu_xen: move to by-name 2024-10-06 20:24:29 +00:00
qg treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qm hyperhdr: init at 20.0.0.0 (#306321) 2024-10-04 02:24:50 +02:00
qn/qnial
qo/qodem
qp/qpoases
qq/qq qq: 3.2.12-2024.9.2 -> 3.2.12-2024.9.27 2024-09-28 07:32:54 +00:00
qr qrq: fix sourceRoot 2024-10-06 15:27:18 +01: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 quill-log: 7.2.2 -> 7.3.0 2024-10-05 21:29:18 +00: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 rasm: 2.2.7 -> 2.2.8 2024-10-09 05:33:08 +00:00
rc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rd/rdwatool
re redocly: 1.18.1 -> 1.25.5 2024-10-12 00:28:50 +02:00
rf/rfdump
rh rhsrvany: init at 1.1 2024-10-08 07:48:38 +02:00
ri ride: refactor and improve electron usage 2024-10-06 12:47:05 +02: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 roddhjav-apparmor-rules: 0-unstable-2024-09-27 -> 0-unstable-2024-10-06 2024-10-08 03:22:34 +00:00
rp rpcs3: 0.0.33-16959-60b5adab6 -> 0.0.33-16999-938306a7b 2024-10-02 16:27:56 +00: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 rtorrent: fix updateScript eval 2024-10-05 11:34:00 +10:00
ru rustic: 0.8.1 -> 0.9.1 (#346508) 2024-10-08 12:07:39 +02:00
rw/rwpspread
rx/rxvt treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
ry ryujinx: archive.org tarball mirror 2024-10-05 19:08:00 +02:00
s0/s0ix-selftest-tool s0ix-selftest-tool: 0-unstable-2024-08-20 -> 0-unstable-2024-09-22 2024-09-27 00:17:40 +00:00
s3 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sa saucectl: init at 0.183.0 (#336737) 2024-10-09 13:33:25 +02:00
sb treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
sc Merge staging-next into staging 2024-10-10 07:55:12 +00:00
sd Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
se selenium-manager: 4.24.0 -> 4.25.0 2024-10-13 11:09:48 +02: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 shopify-cli: 3.63.2 -> 3.67.1 (#343980) 2024-10-06 18:08:58 +02:00
si sioyek: 2.0.0 -> 2.0.0-unstable-2024-09-29 (#283813) 2024-10-07 02:06:48 +02:00
sk treewide: move packages maintained by aaronjheng to by-name (#346765) 2024-10-07 07:38:59 +01:00
sl slskd: disable flaky test 2024-10-06 21:32:19 -04:00
sm smbclient-ng: 2.1.5 -> 2.1.6 2024-10-05 13:42:42 +00:00
sn snapweb: init at 0.8.0 (#347536) 2024-10-14 07:14:23 +02:00
so soplex: 7.1.0 -> 7.1.1 (#342870) 2024-09-27 02:43:02 +02:00
sp spotube: 3.8.2 -> 3.8.3 2024-10-09 18:40:45 +02:00
sq treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
sr srgn: 0.13.1 -> 0.13.2 2024-09-29 03:13:23 -04:00
ss treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
st stalwart-mail,stalwart-mail.webadmin: 2024-10-06 (#346737) 2024-10-07 20:49:19 -04:00
su supermariowar: Fix GUI applications wrapping (#346941) 2024-10-14 01:38:15 +02:00
sv svt-av1-psy: 2.2.1-A -> 2.2.1-B 2024-10-11 06:03:27 +00:00
sw treewide: migrate packages maintained by ivankovnatsky to by-name (#345512) 2024-10-05 01:08:54 +02:00
sx
sy syft: 1.13.0 -> 1.14.0 2024-10-09 05:51:50 +00:00
t-/t-rex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ta treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
tb/tbump
tc
td tdl: 0.17.4 -> 0.17.5 2024-10-04 07:30:49 +00:00
te telegraf: 1.32.0 -> 1.32.1 2024-10-12 17:54:53 +10:00
tg
th thumbdrives: 0.3.1 -> 0.3.2 (#343964) 2024-09-25 10:41:35 +02:00
ti tinymist: 0.11.28 -> 0.11.32 2024-10-09 21:40:40 +02: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 tomato-c: 2023-8-21 → 2024-4-19 (#347360) 2024-10-14 01:44:06 +02:00
tp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tr treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
ts tslib: init at 1.23 (#345302) 2024-10-07 12:56:50 +02:00
tt ttop: 1.2.8 -> 1.5.2 2024-10-10 10:44:20 +01:00
tu turtle: 0.9 -> 0.10 2024-09-27 01:13:34 +08:00
tw twitch-cli: move to by-name 2024-10-08 12:02:09 +02:00
tx
ty typos: 1.25.0 -> 1.26.0 (#347171) 2024-10-08 08:55:29 +02:00
u-/u-config
ub ubridge: add anthonyroussel to maintainers 2024-09-22 20:21:33 +02:00
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 maintainers: rename oo-infty to oosquare 2024-09-30 15:35:17 +08:00
uh/uhttpmock_1_0
ui treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
um/umpire
un unbound: 1.21.0 -> 1.21.1 (#346614) 2024-10-14 11:48:52 +02:00
up upbound: 0.33.0 -> 0.34.0 2024-10-09 01:59:28 +00:00
ur treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
us userborn: 0.2.0 -> 0.3.0 (#347952) 2024-10-12 11:17:23 +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 uv: 0.4.11 -> 0.4.20 2024-10-13 17:57:06 +02:00
uw uwsm: 0.19.1 -> 0.20.0 2024-10-01 16:20:59 +00:00
ux uxplay: 1.69 -> 1.70 2024-10-09 21:13:00 +00:00
va vault-bin: 1.17.6 -> 1.18.0 2024-10-09 01:33:31 -04:00
vc vcpkg: 2024.08.23 -> 2024.09.30 2024-10-04 06:38:19 +00:00
vd/vdhcoapp
ve vencord: 1.10.3 -> 1.10.4 2024-10-09 08:14:18 +00:00
vf/vfkit
vg pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
vi viddy: migrate to pkgs/by-name 2024-10-01 23:51:08 +05:30
vk
vl Merge branch 'master' into staging-next 2024-09-25 06:05:01 +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 vpp: init at 24.06 2024-10-12 16:30:19 +02:00
vr/vrcadvert vrcadvert: init at 1.0.0 2024-09-05 17:49:32 +02:00
vs vscode-js-debug: 1.93.0 -> 1.94.0 2024-09-30 01:41:14 +00:00
vu vulkan-volk: 1.3.290.0 -> 1.3.296.0 2024-10-08 20:19:11 +03: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
vy/vyxal vyxal: init at 3.4.9 (#257860) 2024-10-06 15:33:57 +02:00
vz/vzic
wa warp-terminal: 0.2024.10.08.08.02.stable_01 -> 0.2024.10.08.08.02.stable_02 2024-10-12 12:57:10 +03:00
wb
wc wchisp: init at 0.3.0 2024-10-03 21:20:54 -05:00
we weblate: fix version constraints 2024-10-13 17:30:40 +02:00
wf/wf-touch
wg/wg-access-server Revert "wgpu: init at 22.1.0" 2024-10-11 02:33:47 +01:00
wh whatsie: 4.15.5 -> 4.16.0 2024-10-09 16:33:42 +02:00
wi wike: fix cross compilation (#338807) 2024-10-06 17:28:47 +02:00
wl wlink: init at 0.0.9 2024-10-03 14:34:36 -05:00
wo workout-tracker: add assets 2024-09-16 21:13:47 +04:00
wp
wr/wrangler wrangler: 3.72.1 -> 3.80.1 2024-10-07 19:11:35 -06:00
ws wstunnel: 10.1.1 -> 10.1.3 2024-10-03 10:17:33 +02:00
wt treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
wu/wush wush: 0.2.1 -> 0.3.0 2024-10-04 08:47:48 +00:00
wv
wx/wxc
wy/wyoming-satellite treewide: replace passthru.optional-dependencies with optional-dependencies 2024-09-29 20:37:23 -07:00
x1/x16 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
x5/x509-limbo
xa xar: 498 -> 501 2024-10-10 16:23:16 -04:00
xc xcbuild: 0.1.2-pre -> 0.1.1-unstable-2019-11-20 2024-10-10 16:23:03 -04:00
xd xdg-user-dirs: make sure libiconv is linked 2024-10-10 01:07:11 -04:00
xe Merge staging-next into staging 2024-10-07 06:05:43 +00: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 webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
xl xlights: 2024.15 -> 2024.16 2024-09-19 03:37:42 +00:00
xm xmoji: 0.5.1 -> 0.8 2024-10-03 04:36:48 -04: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 treewide: assign maintainership of the Xen-related packages to the Xen Project Hypervisor Team 2024-09-28 14:53:59 +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 yamlscript: 0.1.76 -> 0.1.79 (#346633) 2024-10-07 07:38:32 +02: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 treewide: migrate packages maintained by ivankovnatsky to by-name 2024-10-04 16:31:04 +03:00
yp/ypbind-mt
ys/ysfx
yt ytdownloader: 3.18.2 -> 3.18.3 2024-10-11 08:51:36 +00:00
yu yutto: 2.0.0-beta.40 -> 2.0.0-beta.43 2024-09-28 18:17:55 +02:00
za zabbix-cli: add anthonyroussel to maintainers 2024-10-05 22:15:52 +02:00
zb/zbus-xmlgen
zc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ze zegrapher: migrate to by-name (#347631) 2024-10-11 18:24:09 +08:00
zf/zfind
zi treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
zl/zluda
zm/zmkBATx
zo zoom-us: 6.2.0.1855 -> 6.2.3.2056 (#345819) 2024-10-05 18:21:22 +02:00
zp treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
zs zsh-wd: 0.8.0 -> 0.9.0 2024-09-23 04:11:36 +00:00
zu treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
zv/zvbi zvbi: init at 0.2.42 2024-10-10 17:47:08 +02:00
zw/zwave-js-server zwave-js-server: 1.36.0 -> 1.38.0 2024-09-05 04:07:41 +00:00
zx treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
zy/zydis treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
zz/zziplib treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
README.md doc/by-name: explain better callPackage and xWithY=x.override transition 2024-09-30 11:56:51 +03: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 callPackage 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, in order to avoid the slightly superficial choice of directory / category in which the default.nix file was placed, but please keep the definition in all-packages.nix using callPackage. See also changing implicit attribute defaults.

Definitions like the following however, can be transitioned:

# all-packages.nix
fooWithBaz = foo.override {
  bar = baz;
};
# turned into pkgs/by-name/fo/fooWithBaz/package.nix with:
{
  foo,
  baz,
}:

foo.override {
  bar = baz;
}

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;
}