nixpkgs/pkgs/by-name
2024-10-24 19:54:16 +01: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 aaphoto: fix src 2024-10-17 19:50:21 +02:00
ab abcmidi: 2024.08.13 -> 2024.10.10 2024-10-16 21:08:32 +00:00
ac accerciser: 3.42.0 → 3.44.1 2024-10-14 20:54:12 +08:00
ad adw-gtk3: formatting 2024-10-16 09:43:28 +02:00
ae aerospace: 0.14.2-Beta -> 0.15.2-Beta (#349798) 2024-10-24 16:14:53 +02: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.59.0 -> 0.60.0 2024-10-23 21:00:47 -04:00
al Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
am amdvlk: workaround glslang 14 issue 2024-10-17 11:52:26 +02:00
an open{jdk{8,11,17,21,23},jfx{17,21,23}}: deduplicate (#350736) 2024-10-24 17:33:45 +01:00
ao/aocl-utils aocl-utils: apply nixfmt 2024-10-12 11:30:44 +02:00
ap Merge master into staging-next 2024-10-23 18:04:32 +00:00
aq/aquamarine aquamarine: 0.4.1 -> 0.4.3 2024-10-14 16:27:37 +01:00
ar archivemount: 0.9.1 -> 1 (#344990) 2024-10-19 05:21:52 +02:00
as astro-language-server: 2.15.0 -> 2.15.3 2024-10-21 15:22:27 -04:00
at athens: 0.15.2 -> 0.15.3 2024-10-23 08:08:05 +02:00
au Merge master into staging-next 2024-10-21 18:04:46 +00:00
av avml: use OpenSSL from Nixpkgs 2024-09-28 17:34:20 +02:00
aw awscli2: prevent propagating inputs 2024-10-22 20:06:58 +00:00
ax axis2: migrate to pkgs/by-name, format with nixfmt-rfc-style 2024-09-17 22:02:47 +02:00
ay ayatana-indicator-messages: substitute --replace with --replace-fail (#337279) 2024-10-23 00:35:56 +02:00
az azpainter: add darwin bundle 2024-10-15 18:46:24 +04:00
b3/b3sum
ba Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
bc maintainers: add ryan4yin 2024-10-24 14:24:31 +08:00
bd treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
be bear: move to pkgs/by-name 2024-10-17 14:59:48 +03:00
bi bitcomet: init at 2.10.0 (#344824) 2024-10-20 00:39:21 +08:00
bk/bk
bl bluespec: Move package definition into by-name structure 2024-10-21 13:31:41 -05:00
bm Revert "bmake: 20240808 -> 20240921" 2024-10-21 17:13:00 +02:00
bn/bngblaster bngblaster: 0.9.7 -> 0.9.8 2024-10-09 04:49:05 +00:00
bo treewide: remove usages of aliases {build,host,target}Platform 2024-10-23 22:40:32 +03: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 bundletool: 1.17.1 -> 1.17.2 2024-10-23 02:28:53 +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 castxml: fix darwin build (#350853) 2024-10-24 19:54:16 +01:00
cb treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
cc Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
cd cdecl: 18.3 -> 18.4.1 2024-09-14 13:34:40 +00:00
ce certinfo-go: init at 0.1.36 2024-10-23 22:15:04 +11: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 charmcraft: 3.2.1 -> 3.2.2 2024-10-23 03:10:05 +00:00
ci cimg: 3.4.2 -> 3.4.3 (#348693) 2024-10-17 00:43:08 +00:00
cj/cjs cjs: Fix build with gobject-introspection 1.82.0 2024-10-14 20:54:16 +08:00
cl clang-uml: fix --version output (#350575) 2024-10-24 15:22:21 +08: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 code-cursor: 0.41.3 -> 0.42.3 2024-10-23 15:21:16 +02:00
cp cpplint: 1.7.0 -> 2.0.0 2024-10-11 23:49:34 +02:00
cq/cq
cr crabfit-api: change tests to attrset 2024-10-20 13:11:32 +02:00
cs csvlens: 0.10.0 -> 0.10.1 2024-10-18 00:35:02 +08:00
ct/ctx
cu cue: 0.10.0 -> 0.10.1 2024-10-23 01:56:27 +00:00
cv/cvemap
cw/cwe-client-cli
cy cyrus-imapd: init at 3.10.0 2024-10-19 23:53:09 +08:00
cz/czkawka czkawka: add versionCheckHook 2024-10-12 22:03:02 +02:00
da dataexplorer: make it launch by using swt built with jdk17 2024-10-14 12:07:50 +03:00
db swt: 4.5 -> 4.33 & more (#347022) 2024-10-20 20:02:32 +03:00
dc treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
dd
de Merge master into staging-next 2024-10-23 00:14:18 +00:00
dg treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
dh/dhcpig
di displaycal: 3.9.12 → 3.9.14 2024-10-16 15:01:18 +07:00
dj/djent
dm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
dn dnsdiag: init at 2.5.0 (#348593) 2024-10-20 00:23:22 +02:00
do treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
dp dpp: 10.0.31 -> 10.0.32 2024-10-20 05:49:41 +00:00
dr druid: use mirror url 2024-10-09 12:03:59 +02:00
ds dsp: fix build with ffmpeg7 2024-10-14 20:41:18 +03:00
dt
du dune3d: 1.1.0 -> 1.2.0 2024-10-23 01:34:09 +00: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 eask-cli: 0.10.0 -> 0.10.1 2024-10-14 13:50:31 +00: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 edopro: init at 40.1.4 (#342365) 2024-10-23 17:53:38 +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: use stdenv.buildPlatform.canExecute 2024-10-21 11:34:18 +02:00
ej ejs: 3.1.9 -> 3.1.10 2024-09-23 14:06:39 +09:00
ek eksctl: 0.191.0 -> 0.193.0 2024-10-20 06:42:20 +00:00
el elektroid: 3.0.1 -> 3.1 2024-10-07 01:21:10 +00:00
em emplace: fix build 2024-09-28 09:43:28 +08:00
en Merge master into staging-next 2024-10-21 00:14:52 +00:00
eo/eog eog: 47.beta → 47.0 2024-10-14 20:54:12 +08:00
ep Merge master into staging-next 2024-10-22 06:05:03 +00:00
eq equibop: init at 2.0.9 2024-10-21 07:32:59 +03:00
er errands: 46.2.5 -> 46.2.6 2024-10-12 10:32:12 +02:00
es espflash: 3.1.1 -> 3.2.0 2024-10-18 12:04:56 +02:00
et
eu eudev.meta.pkgConfigModules: init 2024-10-13 11:49:07 +02:00
ev evolution-data-server: 3.53.2 → 3.54.0 2024-10-14 20:54:13 +08:00
ew treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ex exo: 0-unstable-2024-10-09 -> 0-unstable-2024-10-21 2024-10-21 12:52:11 +02:00
ey/eyewitness
ez/eza eza: 0.20.2 -> 0.20.4 2024-10-18 16:08:09 +02:00
f2/f2fs-tools f2fs-tools: enable parallel building 2024-09-16 17:35:46 +02:00
fa Merge master into staging-next 2024-10-24 18:04:38 +00:00
fb/fbset
fc fcitx5-pinyin-moegirl: 20240909 -> 20241009 2024-10-20 09:32:34 -04:00
fd/fdroidserver fdroidserver: provide setuptools for build step 2024-10-22 02:49:32 +02:00
fe feishin: 0.11.0 -> 0.11.1 2024-10-16 01:57:22 +01: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 fireplace: nix-darwin bugfix 2024-10-21 12:00:11 +00:00
fj/fjo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fl flexget: 3.11.46 -> 3.11.48 2024-10-17 16:18:07 +02:00
fm pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
fn/fnott
fo folio: 24.11 -> 24.12 2024-10-22 08:49:12 +00:00
fr freecad: work around https://github.com/FreeCAD/FreeCAD/issues/10514 (#346740) 2024-10-19 19:02:36 +03: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 furnace: unpin fmt 2024-10-20 19:00:40 +02: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 gat: 0.18.0 -> 0.19.1 2024-10-15 11:54:30 +00:00
gb
gc gcs: 5.21.0 -> 5.27.0 2024-09-28 00:37:32 +02:00
gd gdm: 47.alpha → 47.0 2024-10-14 20:54:16 +08:00
ge gersemi: 0.15.1 -> 0.16.2 2024-10-16 14:25:10 +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 git-spice: install shell completions for bash, zsh, and fish (#350351) 2024-10-22 15:27:42 +02:00
gk/gk-cli
gl treewide: use stdenv.buildPlatform.canExecute (#350195) 2024-10-23 13:05:50 -07:00
gm gmrun: 0.9.2 -> 1.4w 2024-10-21 16:17:01 +08:00
gn Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
go got: 0.103 -> 0.104 2024-10-22 22:50:04 +02:00
gp Merge branch 'master' into staging-next 2024-10-20 19:28:48 +03:00
gr grimblast: patch shebang in .grimblast-wrapped (#350782) 2024-10-24 05:49:00 +03:00
gs/gscan2pdf gscan2pdf: migrate to pkgs/by-name overlay 2024-09-18 19:51:00 +02:00
gt gtuber: init at 0-unstable-2024-10-11 2024-10-22 18:13:03 +05:30
gu guile-goblins: 0.13.0 -> 0.14.0 (#348495) 2024-10-24 16:29:20 +08:00
gv/gvisor
gw/gweled gweled: unstable-2021-02-11 -> 1.0-beta1 2024-10-21 15:52:03 +08:00
gx treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
gz/gzdoom gzdoom: 4.13.0 -> 4.13.1 2024-10-20 16:48:45 +02:00
h2/h2
h5/h5utils
h8/h8mail
ha halo: 2.19.3 -> 2.20.5 (#349934) 2024-10-21 09:55:28 -04: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 master into staging-next 2024-10-23 12:05:38 +00:00
hi highs: 1.7.2 -> 1.8.0 2024-10-18 06:37:08 +00:00
hj/hjson-go
hn/hn-text
ho home-manager: 0-unstable-2024-09-26 -> 0-unstable-2024-10-20 (#350020) 2024-10-21 01:14:26 +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 httpie-desktop: add aarch64-linux support (#343532) 2024-10-19 16:28:52 +08:00
hu hugo: 0.134.3 -> 0.135.0 2024-10-03 10:58:48 +00:00
hv/hvm
hw/hwinfo
hx/hxtools
hy treewide: add khaneliman maintainer (#350847) 2024-10-24 11:30:54 +05:30
i2/i2p i2p: 2.6.1 -> 2.7.0 2024-10-15 23:24:45 +00: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 ice-bar: 0.11.9 -> 0.11.11 2024-10-20 14:50:42 +00:00
id ida-free: fix hash mismatchin of icon 2024-10-18 02:34:38 +00:00
if
ig treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
ii
ij
im imhex: unpin fmt (#350057) 2024-10-23 21:36:27 +08:00
in inspector: init at 0.2.0 (#349656) 2024-10-21 23:00:11 +02: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 isc-cron: fix substituteAll usage 2024-10-20 18:53:25 +03: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 janus-gateway: fix build, 1.2.3 -> 1.2.4 (#350103) 2024-10-23 19:53:12 +02: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 Fixing JOE, the fully functional text editor, on macOS (#346118) 2024-10-19 06:17:12 +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: 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 junest: 7.4.9 -> 7.4.10 2024-10-17 21:30:08 +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 kanidm: fix build with Rust 1.82 2024-10-24 14:43:16 +03:00
kb/kbld kbld: init at 0.44.1 2024-09-24 10:01:37 +02:00
kc kclvm_cli: 0.10.0 -> 0.10.3 2024-10-19 23:55:13 +00:00
kd
ke keyguard: 1.6.2 -> 1.6.3 2024-10-19 17:42:57 +00:00
kg/kgeotag treewide: remove qt5.mkDerivation usage (trivial cases) (#348577) 2024-10-18 11:40:19 +02:00
ki kid3: migrate to by-name (#348264) 2024-10-20 22:22:21 +08: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 knxd: 0.14.61 -> 0.14.63 2024-10-14 15:30:17 +00:00
ko koboldcpp: fix metal support (#350307) 2024-10-24 17:22:27 +05:30
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 kubent: add meta.changelog 2024-10-14 12:21:29 -03:00
kv/kvmarwaita
kw/kwok
kx
ky treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
la lazygit: add khaneliman maintainer 2024-10-23 23:52:09 -05: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 less: 661 -> 668 2024-10-24 23:26:03 +11:00
lg/lgogdownloader lgogdownloader: use finalAttrs.finalPackage 2024-09-24 23:28:55 +02:00
li Merge master into staging-next 2024-10-23 12:05:38 +00: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 Merge branch 'master' into staging-next 2024-10-19 09:09:13 +03: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 lug-helper: 2.18 -> 3.0.1 (#348191) 2024-10-21 00:03:03 +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-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 remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03: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 md-tui: 0.8.6 -> 0.8.7 2024-10-18 17:23:00 +02:00
me Merge master into staging-next 2024-10-21 18:04:46 +00:00
mf pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
mg
mi miracle-wm: 0.3.6 -> 0.3.7 2024-10-23 01:11:09 +02:00
mj/mjmap mjmap: init at 0.1.0-unstable-2023-11-13 2024-10-07 01:44:05 +01:00
mk mkuimage: init at 0-unstable-2024-02-28 2024-10-18 09:07:02 +02:00
ml/mlx42 mlx42: 2.3.4 -> 2.4.0 2024-10-16 14:56:31 +00:00
mo mpv: clean‐ups and Darwin improvements (#350674) 2024-10-24 13:24:46 +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 msedgedriver: init at 130.0.2849.1 (#348821) 2024-10-23 14:39:13 +05:30
mt mtdutils: use stdenv.buildPlatform.canExecute 2024-10-21 11:34:21 +02:00
mu Merge master into staging-next 2024-10-17 18:04:30 +00:00
my mycelium: 0.5.5 -> 0.5.6 2024-10-09 13:27:37 +00:00
n2/n2
n8/n8n treewide: update pnpmDeps hashes 2024-10-19 23:50:41 +02:00
n9/n98-magerun2
na Merge master into staging-next 2024-10-17 00:14:14 +00:00
nb nbdkit: init at 1.40.4 2024-10-09 17:08:41 +02:00
nc ncspot: add getchoo as maintainer 2024-10-16 20:00:58 -04:00
nd ndn-tools: move to by-name 2024-10-01 18:00:05 +02:00
ne Merge master into staging-next 2024-10-23 18:04:32 +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 nixpkgs-openjdk-updater: init at 0.1.0 2024-10-24 15:04:56 +01: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 nomacs: 3.19.0 -> 3.19.1 2024-10-15 17:24:52 +00:00
np
nr treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ns nstool: 1.9.1 -> 1.9.2 2024-10-19 06:23:00 +00:00
nt ntpstat: init at 0.6 2024-10-16 21:32:45 -07:00
nu nufmt: modernize; add update script; unstable-2023-09-25 -> 0-unstable-2024-10-15 (#348627) 2024-10-15 19:17:42 +02:00
nv nvrh: 0.1.13 -> 0.1.14 2024-10-21 23:51:56 +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 nzbget: 24.2 -> 24.3 2024-10-12 16:05:14 -05:00
oa oath-toolkit: 2.6.11 -> 2.6.12 2024-10-05 07:33:02 +02:00
ob obs-cmd: 0.17.8 -> 0.17.9 2024-10-19 20:00:49 +00:00
oc octoscan: 0.1.0 -> 0.1.1 2024-09-26 10:57:53 +02:00
od odin: 0-unstable-2024-08-05 -> 0-unstable-2024-10-12 (#348138) 2024-10-19 06:05:10 +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-fish: fix substituteAll usage 2024-10-20 18:53:30 +03:00
oi oils-for-unix: 0.22.0 -> 0.23.0 2024-10-22 13:32:16 +02:00
ok okteto: 2.31.0 -> 3.0.0 2024-10-04 16:57:07 +00:00
ol odin: 0-unstable-2024-08-05 -> 0-unstable-2024-10-12 (#348138) 2024-10-19 06:05:10 +02:00
om naja, omnom, taler-depolymerization, taler-wallet-core: update maintainers 2024-09-26 16:24:45 +02:00
on onedrive: 1.5.1 -> 1.5.2 2024-10-03 16:08:46 +10:00
oo
op open{jdk{8,11,17,21,23},jfx{17,21,23}}: deduplicate (#350736) 2024-10-24 17:33:45 +01:00
oq/oqs-provider oqs-provider: fix hash for retagged 0.7.0 2024-10-13 16:57:36 -06:00
or Merge remote-tracking branch 'origin/master' into staging-next 2024-10-24 09:28:51 +03:00
os oscar: 1.5.1 -> 1.5.3 (#349004) 2024-10-24 16:32:29 +08:00
ot
ou outguess: modernize 2024-10-17 20:00:05 -03:00
ov ovn: 24.09.0 -> 24.09.1 (#349687) 2024-10-22 09:05:56 -04: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 patch-package: migrate from nodePackages (#323295) 2024-10-24 16:38:22 +08:00
pb/pb treewide: move packages maintained by aaronjheng to by-name 2024-10-07 01:15:33 +00:00
pc pcsx2-bin: 2.1.136 -> 2.1.205 2024-10-14 18:21:34 +01:00
pd Merge master into staging-next 2024-10-23 00:14:18 +00:00
pe perf_data_converter: 0-unstable-2024-07-25 -> 0-unstable-2024-10-14 2024-10-22 08:48:33 -07:00
pf treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
pg treewide: update pnpmDeps hashes 2024-10-19 23:50:41 +02:00
ph phpunit: 11.3.1 -> 11.3.6 (#344880) 2024-09-28 22:43:27 +02:00
pi pipeline: init at 2.0.2 2024-10-23 22:29:37 +08:00
pk pkarr: init at v2.0.0 2024-10-17 11:18:25 -07:00
pl plasma-panel-colorizer: enable strictDeps 2024-10-17 19:15:56 -03:00
pm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
pn
po Merge master into staging-next 2024-10-24 12:05:54 +00:00
pp/ppsspp
pq
pr Merge master into staging-next 2024-10-24 12:05:54 +00:00
ps
pt ptyxis: 46.6 -> 47.2 2024-10-16 17:18:08 +09:00
pu splice.nix: remove toplevel {build,host,target}Platform in __splicedPackages (#350299) 2024-10-24 15:19:21 +08:00
pv pv: 1.8.12 -> 1.8.14 2024-10-16 22:37:17 +02:00
pw Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
px/pxder
py pychess: init at 1.0.5 (#344387) 2024-10-24 23:13:07 +08: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 qcm: 1.0.5 -> 1.1.2 2024-10-19 17:27:04 +08:00
qd qdirstat: use stdenv.mkDerivation 2024-10-15 08:06:41 +00: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 raspberrypi-eeprom: Add flashrom to path (#343718) 2024-10-19 06:06:18 +03:00
rc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rd/rdwatool
re reco: init at 5.0.2, live-chart: init at 1.10.0, ryokucha: init at 0.3.1 (#335307) 2024-10-21 18:37:44 +08:00
rf/rfdump
rh rhsrvany: init at 1.1 2024-10-08 07:48:38 +02:00
ri river-bsp-layout: init at 2.1.0 2024-10-19 16:42:43 -04: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 rockcraft: 1.5.3 -> 1.6.0 2024-10-24 13:16:22 +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: update pnpmDeps hashes 2024-10-19 23:50:41 +02:00
rt rtorrent: fix updateScript eval 2024-10-05 11:34:00 +10:00
ru rustdesk: 1.3.0 -> 1.3.1 (#349891) 2024-10-23 14:12:32 +02:00
rw/rwpspread
rx/rxvt treewide: migrate packages maintained by AndersonTorres to by-name 2024-09-16 14:26:47 -03:00
ry Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06: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 sarasa-gothic: 1.0.21 -> 1.0.22 2024-10-19 16:22:08 +02:00
sb treewide: remove unused inputs 2024-09-18 01:00:07 +02:00
sc Merge master into staging-next 2024-10-23 18:04:32 +00:00
sd Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
se Merge master into staging-next 2024-10-23 18:04:32 +00:00
sf sfcgal: 1.5.2 -> 2.0.0 2024-10-14 01:51:10 +00:00
sg/sgfutils treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
sh shanggu-fonts: make installPhase more readable (#350414) 2024-10-22 11:18:49 +02:00
si sioyek: add qtwayland to buildInputs (#350027) 2024-10-21 11:38:36 +08:00
sk skypeforlinux: 8.129.0.202 -> 8.130.0.205 (#349373) 2024-10-21 00:03:58 +02: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 snipaste: 2.9.2-Beta -> 2.10.2 + add update script (#349305) 2024-10-21 14:50:21 +02:00
so solo5: 0.8.1 -> 0.9.0 2024-10-18 11:15:10 +00:00
sp spirit: 0.5.0 -> 0.6.0 2024-10-22 02:04:57 +00:00
sq Use recommended version check 2024-10-17 23:02:52 +08:00
sr srgn: 0.13.2 -> 0.13.3 2024-10-19 17:28:08 +00:00
ss sscep: init at 0.10.0 (#336812) 2024-10-20 23:41:01 +08:00
st stalwart-mail: 0.10.3 -> 0.10.5 2024-10-22 22:40:49 +00:00
su treewide: update pnpmDeps hashes 2024-10-19 23:50:41 +02:00
sv svdtools: 0.3.18 -> 0.3.19 (#349619) 2024-10-19 05:39:02 +03:00
sw switch-to-configuration-ng: improve user experience (#349834) 2024-10-23 23:47:11 -04:00
sx
sy pnpm: 9.12.1 -> 9.12.2 (#349093) 2024-10-20 20:27:37 +02:00
t-/t-rex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ta tabby: 0.11.1 -> 0.18.0 (#350323) 2024-10-23 02:21:30 +02:00
tb/tbump
tc
td tdf: 0-unstable-2024-05-29 -> 0-unstable-2024-10-09 (#349345) 2024-10-19 23:12:28 +02:00
te teams-for-linux: 1.11.0 -> 1.11.2 (#350497) 2024-10-23 18:34:15 +02:00
tg
th thrift-ls: 0.2.1 -> 0.2.2 2024-10-18 19:02:36 +00:00
ti Merge master into staging-next 2024-10-20 00:15:48 +00:00
tk pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
tl tlsinfo: init at 0.1.41 2024-10-20 08:49:16 +00:00
tm pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
to tootik: 0.11.4 → 0.12.6 2024-10-21 21:41:50 +04:00
tp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
tr Merge master into staging-next 2024-10-23 12:05:38 +00:00
ts tslib: init at 1.23 (#345302) 2024-10-07 12:56:50 +02:00
tt ttop: format with nixfmt 2024-10-13 23:22:33 +02:00
tu trivial: make symlinkJoin support pname+version alone (#344645) 2024-10-23 14:09:11 -07:00
tw twitch-cli: move to by-name 2024-10-08 12:02:09 +02:00
tx txr: 295 -> 296 2024-10-15 09:28:22 +00:00
ty typstyle: 0.11.35 -> 0.12.0 2024-10-19 11:12:49 +02:00
u- u-root: add minimal kernel in passthru for local testing 2024-10-18 09:07:02 +02:00
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 uhttpmock_1_0: 0.10.0 → 0.11.0 2024-10-14 20:46:06 +08:00
ui uiua: add webcamSupport option 2024-10-18 12:00:58 +02:00
um/umpire
un Merge staging-next into staging 2024-10-14 12:06:08 +00:00
up uplosi: 0.3.0 -> 0.3.1 2024-10-23 08:51:28 +02: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.20 -> 0.4.25 2024-10-21 15:11:52 -07:00
uw uwsm: 0.19.1 -> 0.20.0 2024-10-01 16:20:59 +00:00
ux uxplay: fix build on darwin 2024-10-10 11:11:41 +08:00
va vapoursynth: Simplify plugin loading (#332800) 2024-10-24 10:39:26 +02:00
vc vcpkg: 2024.08.23 -> 2024.09.30 2024-10-04 06:38:19 +00:00
vd/vdhcoapp
ve velero: use stdenv.buildPlatform.canExecute 2024-10-21 11:34:21 +02:00
vf/vfkit
vg pkgs/by-name: Convert hashes to SRI format 2024-09-15 11:24:31 +02:00
vi maintainers: add ryan4yin 2024-10-24 14:24:31 +08:00
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 vpl-gpu-rt: 24.2.5 -> 24.3.3 2024-10-15 08:51:10 +00:00
vr/vrcadvert
vs vscode-js-debug: 1.93.0 -> 1.94.0 2024-09-30 01:41:14 +00:00
vt/vt323 vt323: init at 2.0 2024-10-15 10:14:07 +02:00
vu Merge master into staging-next 2024-10-18 00:14:07 +00: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 vym: migrate to by-name 2024-10-13 11:41:05 -03:00
vz/vzic
wa wayfreeze: 0-unstable-2024-05-23 -> 0-unstable-2024-09-20 2024-10-24 14:40:00 +02:00
wb
wc wchisp: init at 0.3.0 2024-10-03 21:20:54 -05:00
we Merge remote-tracking branch 'origin/master' into staging-next 2024-10-22 09:14:28 -06:00
wf/wf-touch
wg wgpu-utils: 0.16.1 -> 22.1.0, move to pkgs/by-name 2024-10-11 14:39:58 +02:00
wh whatsie: 4.16.0 -> 4.16.1 2024-10-22 10:44:43 +02:00
wi windmill: 1.333.2 -> 1.410.3 (#350049) 2024-10-20 17:06:49 -04: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 treewide: update pnpmDeps hashes 2024-10-19 23:50:41 +02: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
xa xar: 498 -> 501 2024-10-10 16:23:16 -04:00
xc Merge master into staging-next 2024-10-23 00:14:18 +00:00
xd Merge master into staging-next 2024-10-17 00:14:14 +00:00
xe Merge master into staging-next 2024-10-23 12:05:38 +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 xwayland-satellite: use binary wrapper 2024-10-16 20:08:39 -04:00
ya yazi-unwrapped: add khaneliman maintainer 2024-10-23 23:53:06 -05: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 yggdrasil: 0.5.8 -> 0.5.9 2024-10-20 08:00:28 +00:00
yj/yj
yo youtrack: 2024.2.41254 -> 2024.3.47197 2024-10-20 08:01:01 +00:00
yp/ypbind-mt
ys/ysfx
yt yt-dlp: 2024.10.7 -> 2024.10.22 2024-10-22 12:56:49 +03:00
yu yutto: 2.0.0-beta.43 -> 2.0.0-rc.4 2024-10-17 14:40:33 +08: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 zed-editor: fix incorrect manual merge 2024-10-24 09:55:39 +01:00
zf/zfind
zi treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
zl/zluda
zm/zmkBATx
zo zoom-us: add conditional webview fix 2024-10-06 20:35:17 +02:00
zp treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
zs appimageupdate: init at 2.0.0-alpha-1-20230526; zsync2: init at 2.0.0-alpha-1-20230304 (#329104) 2024-10-23 12:51:41 +08: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
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 zziplib: 0.13.74 -> 0.13.78 2024-10-16 06:16:12 +00: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;
}