nixpkgs/pkgs/by-name
2024-10-04 18:02:14 -07: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 actionlint: 1.7.2 -> 1.7.3 2024-10-02 22:07:48 +00:00
ad adcli: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:49 +02:00
ae aerogramme: fix build (#344205) 2024-09-25 17:26:24 +02:00
af affine: 0.16.0 -> 0.17.0 2024-09-24 12:56:53 -03:00
ag treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ai aiken: 1.1.3 -> 1.1.4 2024-10-03 12:32:35 +00:00
al alpaca: 2.0.3 -> 2.0.5 (#345070) 2024-10-04 10:36:13 +05:30
am amber-lang: 0.3.3-alpha -> 0.3.5-alpha, passthru.updateScript (#340439) 2024-09-27 16:20:31 +02:00
an ansible-navigator: 24.7.0 -> 24.9.0 2024-09-27 04:37:44 +00:00
ao/aocl-utils
ap application-title-bar: 0.7.2 -> 0.7.3 2024-09-29 06:03:59 +00:00
aq/aquamarine aquamarine: 0.4.0 -> 0.4.1 2024-09-08 07:32:41 +00:00
ar arti: add rapiteanu as maintainer 2024-09-28 23:46:22 +03:00
as asm-lsp: add support for darwin (#344556) 2024-10-01 20:16:36 +02:00
at atlas: 0.27.0 -> 0.28.0 2024-10-03 08:09:35 +00:00
au autotrash: move to pkgs/by-name and include manpage (#343855) 2024-09-29 10:17:02 +09:00
av avml: use OpenSSL from Nixpkgs 2024-09-28 17:34:20 +02:00
aw awscli2: 2.17.42 -> 2.17.56; unpin python; nixfmt-rfc-style (#343221) 2024-09-26 16:42:44 -04: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: only alias removed extensions if allowed 2024-10-01 14:11:53 +02:00
b3/b3sum
ba backrest: fix darwin build (#345546) 2024-10-04 15:03:32 +02: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 bee: 2.1.0 -> 2.2.0 2024-09-26 23:29:54 +02:00
bi bibletime: migrate to by-name (#344546) 2024-10-03 19:37:50 +02:00
bk/bk
bl bluemap: 3.21 -> 5.4 (#332245) 2024-09-29 14:05:29 +02: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 bower2nix: init at 3.2.0-unstable-2024-06-25 2024-10-01 16:23:59 -07:00
bp
bq/bqn
br brainflow: 5.13.3 -> 5.14.0 2024-10-02 14:27:12 +00:00
bs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bt
bu buildkite-agent: 3.77.0 -> 3.82.1 (#342847) 2024-10-02 16:54:43 +02: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
c3/c3-lsp c3-lsp: init at 0.3.2 2024-09-22 18:12:10 -03:00
c-
ca cargo-make: 0.37.18 -> 0.37.20 2024-10-04 05:09:58 +00: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: drop explicitly added pythonRelaxDepsHook (#341842) 2024-09-27 01:13:09 +02: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 chatd: fix darwin build (#345548) 2024-10-04 14:48:45 +02:00
ci cinny-desktop: use cargo-tauri.hook 2024-09-30 20:13:14 -04:00
cj/cjs
cl clang-uml: 0.5.4 -> 0.5.5 2024-10-03 06:35:34 +00: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 cope: init at 0-unstable-2024-03-27 (#304918) 2024-10-03 18:43:09 +03:00
cp cpuinfo: 0-unstable-2024-09-11 -> 0-unstable-2024-09-26 2024-09-29 10:10:04 +00:00
cq/cq
cr cryptpad: 2024.6.1 -> 2024.9.0 2024-10-03 05:56:53 +00: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 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
da dablin: move to pkgs/by-name 2024-09-26 23:35:04 +02: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 deno: prefer badPlatforms over broken for macos (#345440) 2024-10-04 16:03:41 +02:00
dg treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
dh/dhcpig
di diffedit3: 0.4.0 -> 0.5.0 2024-10-02 02:39:44 +00:00
dj/djent
dm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dn
do dooit: Fix textual version (#345228) 2024-10-01 09:41:56 +10: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 dumbpipe: 0.17.0 -> 0.18.0 2024-10-01 23:57:39 -04:00
dv treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
dw dwlb: init at 0-unstable-2024-05-16 2024-09-27 16:56:25 +08: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 easytier: 1.2.3 -> 2.0.0 2024-10-01 21:33:21 +00:00
eb pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ec ecapture: init at 0.8.6 2024-09-25 16:16:11 +08:00
ed treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ee/eepers
ef eflite: add bot-wxt1221 as maintainers; fix build 2024-09-28 10:33:45 +08:00
eg/eg25-manager
ei eigenlayer: 0.10.4 -> 0.10.6 2024-10-02 09:46:34 +00:00
ej ejs: 3.1.9 -> 3.1.10 2024-09-23 14:06:39 +09:00
ek eksctl: 0.190.0 -> 0.191.0 2024-09-27 03:14:36 +00: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 envision-unwrapped: 0-unstable-2024-09-21 -> 0-unstable-2024-09-28 2024-10-02 05:38:55 +00: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 eris-go: 20240826 -> 20240920 2024-09-26 16:16:14 +00: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 exo: init at 0-unstable-2024-10-03 2024-10-03 09:35:03 +02:00
ey/eyewitness
ez/eza eza: 0.20.0 -> 0.20.1 2024-10-03 08:31:11 +02:00
f2/f2fs-tools f2fs-tools: enable parallel building 2024-09-16 17:35:46 +02:00
fa fastfetch: 2.26.0 -> 2.26.1 2024-09-29 09:50:36 -05: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 fedimint: 0.4.2 -> 0.4.3 2024-09-28 03:47:19 +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 firefoxpwa: 2.12.4 -> 2.12.5 (#345250) 2024-09-29 07:41:50 -04:00
fj/fjo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fl flarectl: 0.104.0 -> 0.105.0 (#345756) 2024-10-01 20:53:18 +00: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 0.7.0 -> 0.7.2 2024-10-02 09:53:48 +02:00
fr fragment-mono: init at 1.21 (#337557) 2024-10-01 01:33:38 +02:00
fs fscryptctl: 1.0.0 -> 1.2.0 (#338344) 2024-09-16 15:17:26 +02:00
ft {ftjam,jam}: migrate to by-name (#343849) 2024-10-01 12:51:25 +01: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: 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-jj: init at 0.20.0 2024-10-02 20:36:17 +08:00
gh gh-dash: 4.5.4 -> 4.7.0 2024-10-03 06:23:19 +00:00
gi gimoji: 1.1.0 -> 1.1.1 (#345765) 2024-10-01 23:19:13 +02:00
gk/gk-cli
gl glfw3: don't depend on extra-cmake-modules 2024-10-02 01:29:30 +03:00
gm gmic{,-qt}: enable OpenCV, OpenMP (Clang) and X11 (#340855) 2024-10-03 18:12:03 +02:00
gn gnome-pomodoro 0.24.1 -> 0.26.0 (#345165) 2024-10-01 01:23:46 +02:00
go go-secdump: mark as Linux-only (#345349) 2024-10-04 14:49:33 +02:00
gp gpt4all: 3.2.1 -> 3.3.0 (#344001) 2024-09-26 18:48:00 -06:00
gr graphite-cli: 1.4.4 -> 1.4.5 (#345076) 2024-10-01 01:12:13 +02:00
gt pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
gu treewide: migrate guile-modules to by-name 2024-10-04 13:10:15 -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 harlequin: remove unecessary tests.version 2024-10-01 10:49:36 +02: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 hercules: 4.6 -> 4.7 2024-09-30 17:42:20 +02: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 home-manager: 0-unstable-2024-09-21 -> 0-unstable-2024-09-26 2024-09-30 20:54:17 +00: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 httm: 0.43.0 -> 0.43.2 (#344627) 2024-09-26 16:25:05 -04:00
hu hugo: 0.134.3 -> 0.135.0 2024-10-03 10:58:48 +00:00
hv/hvm
hw/hwinfo
hx/hxtools
hy hyperhdr: init at 20.0.0.0 (#306321) 2024-10-04 02:24:50 +02: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
im immersed-vr: 9.10 -> 10.5.0 (#343321) 2024-10-03 12:17:05 +02:00
in incus: 6.5.0 -> 6.6.0 (#346210) 2024-10-04 10:48:50 -04:00
io ios-webkit-debug-proxy: use finalAttrs.finalPackage 2024-09-24 23:28:55 +02: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: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ja {ftjam,jam}: migrate to by-name (#343849) 2024-10-01 12:51:25 +01: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 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 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-09-01 -> 0-unstable-2024-10-01 2024-10-01 02:07:27 +00:00
jq/jq-zsh-plugin
jr jrl-cmakemodules: set platforms 2024-09-17 15:41:55 +02:00
js
jt/jtdx
ju jujutsu: 0.21.0 → 0.22.0 2024-10-02 19:45:19 +02:00
jw/jwasm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
k8/k8s-manifest-sigstore
ka kas: 4.4 -> 4.5 (#344282) 2024-09-25 08:22:49 -04:00
kb/kbld kbld: init at 0.44.1 2024-09-24 10:01:37 +02:00
kc kchat: 3.3.1 -> 3.3.3 2024-09-25 09:50:45 +02:00
kd
ke treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
kg/kgeotag
ki kiwitalk: use cargo-tauri.hook 2024-09-30 20:13:15 -04:00
kl klong: init at 20221212 2024-09-20 22:28:43 +00:00
km
kn knossosnet: 1.2.0 -> 1.2.3 (#342647) 2024-10-01 01:20:30 +02: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 kty: init at 0.3.1 2024-09-26 15:56:21 +08:00
ku kubelogin-oidc: 1.30.0 -> 1.30.1 (#346100) 2024-10-03 11:44:57 -04: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 latexminted: 0.1.0 -> 0.2.0 2024-10-03 13:01:01 -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 lefthook: 1.7.16 -> 1.7.17 2024-10-01 18:21:33 +00:00
lg/lgogdownloader lgogdownloader: use finalAttrs.finalPackage 2024-09-24 23:28:55 +02:00
li rtorrent: 0.9.8-unstable -> 0.10.0 (#345364) 2024-10-03 07:18:01 +01:00
lk/lk-jwt-service
ll llama-cpp: 3772 -> 3829 2024-09-28 06:09:03 +00:00
lm lmstudio: 0.3.2 -> 0.3.3 2024-10-01 22:21:35 +02:00
ln/lngen
lo logiops: 0.3.4 -> 0.3.5 (#346065) 2024-10-03 15:59:06 -04: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 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 luckybackup: migrate to by-name (#344939) 2024-10-03 19:36:47 +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-wenkai-tc: 1.330 -> 1.500 2024-10-03 03:27:56 +00:00
lz treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
m1/m1ddc
m2
ma mangl: init at 1.1.5-unstable-2024-07-10 (#344480) 2024-10-04 09:35:30 +02:00
mb mbtileserver: migrate to by-name 2024-10-03 10:59:35 +04:00
mc mcdreforged: 2.13.1 -> 2.13.2 2024-09-27 10:36:02 +00:00
md hyperhdr: init at 20.0.0.0 (#306321) 2024-10-04 02:24:50 +02:00
me melonDS: 0.9.5-unstable-2024-09-18 -> 0.9.5-unstable-2024-09-29 2024-09-30 14:37:18 +00:00
mf pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
mg
mi misskey: fix darwin build (#336087) 2024-10-04 14:50:15 +02:00
mk
ml/mlx42 mlx42: format and clean up 2024-09-25 00:13:08 +02:00
mo mozillavpn: 2.24.0 → 2.24.1, add updateScript (#345790) 2024-10-03 19:56:21 +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 mscp: init at 0.2.1 2024-09-23 23:26:48 -04:00
mu musicpod: 1.11.0 -> 1.12.0 (#344101) 2024-09-27 10:38:26 +08:00
my mycelium: 0.5.4 -> 0.5.5 2024-09-30 10:33:11 +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 narsil: 1.3.0-187-g96d6b3bbd -> 1.3.0-234-g228c4f0cb 2024-09-30 19:04:54 +00:00
nb nbqa: add passthru.withTools 2024-09-23 11:47:42 -07: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 nextpnr: fix version display 2024-10-04 11:36:51 -05: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 treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ni nixos-facter: 0.1.0 -> 0.1.1 2024-10-01 10:09:48 +01: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 notcurses: 3.0.9 -> 3.0.11 2024-10-02 23:21:23 +00: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 nuclei-templates: 10.0.0 -> 10.0.1 2024-10-01 22:25:37 +02:00
nv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
nw nwg-panel: 0.9.39 -> 0.9.40 2024-10-02 03:08:38 +00:00
nx/nxengine-evo
nz nzbhydra2: 7.6.0 -> 7.7.0 2024-10-03 13:31:53 +00:00
oa treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ob oboete: 0.1.5 -> 0.1.6 2024-10-02 16:39:42 +02:00
oc octoscan: 0.1.0 -> 0.1.1 2024-09-26 10:57:53 +02:00
od treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03: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 oidc-agent: 5.2.1 -> 5.2.2 2024-09-26 09:25:21 +00:00
ok pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02: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: 2.5.0 -> 2.5.1 2024-09-27 08:22:39 +00:00
oo
op opencomposite: 0-unstable-2024-09-13 -> 0-unstable-2024-10-02 2024-10-02 20:43:15 +00:00
oq/oqs-provider
or orchard: 0.23.2 -> 0.24.0 2024-09-28 03:14:33 +00:00
os treewide: \xc2\xa0 -> (#345898) 2024-10-03 18:23:59 +02: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 paru: 2.0.3 -> 2.0.4 2024-09-29 23:34:12 +02:00
pc pcsx2: 2.1.102 -> 2.1.127 2024-09-11 11:48:41 -03:00
pd pdi: init at 1.7.1 2024-09-30 13:29:54 +02:00
pe peergos: 0.19.0 -> 0.20.0 2024-09-27 11:51:04 +00: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 pietrasanta-traceroute: 0.0.5-unstable-2024-06-11 -> 0.0.5-unstable-2024-09-06 (#345115) 2024-10-03 17:08:49 -04:00
pk
pl plasticity: 24.2.0 -> 24.2.3 (#343862) 2024-09-30 22:07:49 +09:00
pm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pn
po postmoogle: init at 0.9.21 (#338979) 2024-10-04 09:43:09 +02:00
pp/ppsspp
pq
pr nixos/privatebin: init module & privatebin: init at 1.7.4 (#344014) 2024-10-04 09:51:40 +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
pw treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
px/pxder
py pylyzer: 0.0.63 -> 0.0.64 2024-10-04 11:01:45 +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 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 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: init at 0.3.5 2024-09-29 01:16:16 +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 quarkus: 3.14.4 -> 3.15.1 (#345445) 2024-10-02 22:14:50 +02: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 railway: 3.14.1 -> 3.15.1 2024-10-01 19:04:05 +00:00
rc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rd/rdwatool
re renderdoc: 1.34 -> 1.35 (#344995) 2024-10-03 19:38:36 +02:00
rf/rfdump
rh/rHttp pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
ri ripunzip: 1.2.3 -> 2.0.0 2024-10-04 05:05:42 +00: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: update craft-* build tools (#346400) 2024-10-04 13:26:38 +01:00
rp rpcs3: 0.0.33-16930-d1648dd70 -> 0.0.33-16959-60b5adab6 2024-09-26 11:40:41 +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,libtorrent: replace unstableGitUpdater with gitUpdater 2024-10-02 21:10:17 +02:00
ru ruff: 0.6.8 -> 0.6.9 2024-10-04 16:13:00 +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: Include more necessary libraries 2024-09-30 15:12:53 +00: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 satellite: 0.4.3 -> 0.5.0 (#344069) 2024-09-30 20:16:35 +02:00
sb treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
sc screego: 1.10.5 -> 1.11.0 (#345892) 2024-10-04 18:32:50 +02:00
sd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
se sendme: 0.16.0 -> 0.17.0 2024-10-01 23:52:42 -04: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: drop explicitly added pythonRelaxDepsHook (#341842) 2024-09-27 01:13:09 +02:00
si siyuan: 3.1.6 -> 3.1.8 2024-09-30 14:37:45 +00:00
sk skypeforlinux: 8.127.0.200 -> 8.129.0.201 2024-09-27 05:50:52 +00:00
sl slweb: 0.9.0 -> 0.10.1 2024-10-03 14:11:35 +02:00
sm smtp4dev: 3.3.4 -> 3.6.1 (#345712) 2024-10-02 09:51:48 +05:30
sn snapcraft: 8.3.3 -> 8.4.1 2024-10-04 11:39:00 +01:00
so soplex: 7.1.0 -> 7.1.1 (#342870) 2024-09-27 02:43:02 +02:00
sp spotube: 3.8.1 -> 3.8.2 (#345551) 2024-10-01 00:21:59 -04:00
sq sqlite-vec: 0.1.2 -> 0.1.3 2024-09-26 17:26:08 +00: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: Add pandapip1 as maintainer 2024-10-04 18:02:14 -07:00
su superfile: 1.1.4 -> 1.1.5 2024-10-04 01:58:47 +00:00
sv svp: 4.5.210-2 -> 4.6.263 (#344152) 2024-09-25 10:30:51 +02:00
sw switch-to-configuration-ng: update rust-ini to support multi-line INI… (#343145) 2024-10-02 16:04:20 +01:00
sx
sy syshud: 0-unstable-2024-08-27 -> 0-unstable-2024-09-26 2024-09-29 15:04:09 +00: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.4 -> 0.17.5 2024-10-04 07:30:49 +00:00
te tex-fmt: 0.4.3 -> 0.4.4 (#346211) 2024-10-03 16:30:30 -04:00
tg
th thumbdrives: 0.3.1 -> 0.3.2 (#343964) 2024-09-25 10:41:35 +02:00
ti tile38: 1.33.2 -> 1.33.3 2024-10-04 01:59:33 +00: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 tor-browser: 13.5.4 -> 13.5.5 2024-09-28 11:07:49 +00:00
tp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tr trealla: 2.56.15 -> 2.56.19 2024-09-30 01:11:58 +00:00
ts tsm-client: 8.1.23.0 -> 8.1.24.0 2024-09-28 08:48:41 +02:00
tt treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
tu turtle: 0.9 -> 0.10 2024-09-27 01:13:34 +08:00
tw twm: 0.10.2 -> 0.11.0, move to pkgs/by-name (#345159) 2024-10-01 01:52:45 +02:00
tx
ty typos: move to by-name and formatting 2024-10-01 15:16:37 +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 undetected-chromedriver: use finalAttrs.finalPackage 2024-09-24 23:28:57 +02:00
up uppaal: init at 5.0.0 (#345571) 2024-10-01 20:55:20 +02:00
ur treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
us usage: init at 0.3.1 2024-09-24 13:31:45 +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.1 -> 0.20.0 2024-10-01 16:20:59 +00:00
ux treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
va valkey: 7.2.6 -> 7.2.7 2024-10-03 20:52:36 +02:00
vc
vd/vdhcoapp
ve verapdf: init at 1.26.2 (#342508) 2024-09-30 19:25:53 +02: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 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 vunnel: 0.27.0 -> 0.28.0 2024-09-26 20:26: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 waagent: 2.11.1.4 -> 2.11.1.12 (#345203) 2024-10-03 17:06:38 -04:00
wb
wc wchisp: init at 0.3.0 2024-10-03 21:20:54 -05:00
we werf: 2.10.6 -> 2.10.7 2024-09-28 18:52:11 +00:00
wf/wf-touch
wg wgpu: init at 22.1.0 2024-10-02 16:41:28 +08:00
wh whatsie: init at 4.15.5 (#333700) 2024-09-14 19:26:28 +08:00
wi winbox4: add migration script 2024-10-02 22:10:35 +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
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 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 teams: create the Xen Project Team and rename instances of Xen to Xen Project. (#344314) 2024-09-28 15:57:32 +01: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 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.75 -> 0.1.76 2024-09-27 07:13:20 +00: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 youki: fix cross compilation 2024-09-29 09:37:27 -04:00
yp/ypbind-mt
ys/ysfx
yt yt-dlp: 2024.8.6 -> 2024.9.27 2024-09-28 17:05:42 +08:00
yu yutto: 2.0.0-beta.40 -> 2.0.0-beta.43 2024-09-28 18:17:55 +02: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 zed-editor: 0.154.4 -> 0.155.2 2024-10-03 08:12:18 +02:00
zf/zfind
zi treewide: remove unused inputs (#342672) 2024-09-19 20:36:18 +02:00
zl/zluda
zm/zmkBATx
zo zoekt: 3.7.2-2-unstable-2024-09-19 -> 3.7.2-2-unstable-2024-10-01 (#345757) 2024-10-02 10:47:06 +00:00
zp python312Packages.zpp, zpp: init at 1.1.0 2024-09-30 13:29:54 +02:00
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 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;
}