nixpkgs/pkgs/by-name
2024-11-02 13:33:57 +01:00
..
_0
_1 1fps: add darwin support (#351731) 2024-11-01 18:04:58 +01:00
_2/_2ship2harkinian
_4
_6/_64gram _64gram: 1.1.39 -> 1.1.43 2024-10-29 10:59:42 +00: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 Merge master into staging-next 2024-10-26 12:05:46 +00:00
ad Merge remote-tracking branch 'origin/master' into staging-next 2024-10-26 21:05:47 +03:00
ae aerospace: 0.14.2-Beta -> 0.15.2-Beta (#349798) 2024-10-24 16:14:53 +02:00
af affine: 0.17.0 -> 0.17.5 2024-10-31 09:12:51 +01: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 alioth: 0.5.0 -> 0.6.0 (#352375) 2024-10-31 22:50:06 +01:00
am amazon-ssm-agent: 3.3.859.0 -> 3.3.987.0 (#349994) 2024-11-01 18:17:29 +01:00
an antora-lunr-extension: init at 1.0.0-alpha.8 (#332341) 2024-11-01 08:51:23 -07:00
ao/aocl-utils aocl-utils: apply nixfmt 2024-10-12 11:30:44 +02:00
ap apkeditor: init at 1.4.1 (#349470) 2024-11-01 13:29:53 +01:00
aq/aquamarine aquamarine: 0.4.1 -> 0.4.3 2024-10-14 16:27:37 +01:00
ar armitage: patch for Gradle 8 2024-10-30 05:46:00 +00:00
as ascii-draw: 0.4.0 -> 1.0.0 (#345662) 2024-11-01 11:15:02 +08:00
at atproto-goat: 0-unstable-2024-10-08 -> 0-unstable-2024-10-29 (#352383) 2024-10-30 19:43:57 +00:00
au audacity: migrate to apple-sdk_11 2024-10-31 11:03:47 +01:00
av avro-tools: 1.11.3 -> 1.12.0 2024-10-29 13:26:44 +00:00
aw awscli2: 2.17.64 -> 2.18.15 2024-10-30 20:14:51 +01:00
ax axis2: copy lib to $out/lib 2024-10-25 22:09:05 +02:00
ay ayatana-indicator-messages: substitute --replace with --replace-fail (#337279) 2024-10-23 00:35:56 +02:00
az azure-cli-extensions: cleanup old scripts 2024-10-31 18:08:24 +01:00
b3/b3sum
ba Merge master into staging-next 2024-10-29 06:05:06 +00: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 beekeeper-studio: 4.6.2 -> 4.6.8 (#343622) 2024-10-24 17:14:44 -04:00
bi binsider: 0.2.0 -> 0.2.1 2024-10-31 22:54:07 +00:00
bk/bk
bl blobdrop: init at 2.1 (#346632) 2024-10-28 23:22:45 +08: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 boxbuddy: 2.2.13 -> 2.3.1 2024-11-01 21:54:46 +00:00
bp
bq/bqn
br brave: 1.71.118 -> 1.71.121 2024-10-31 22:42:32 +00:00
bs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
bt
bu bunbun: 1.4.0 -> 1.5.0 2024-10-30 09:34:33 +01:00
by
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- c-intro-and-ref: init at 0.0-unstable-2024-08-31 2024-10-30 18:18:02 +08:00
ca Merge master into staging-next 2024-10-30 12:05:37 +00: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
ce certdump: refactor maintainer 2024-10-31 13:17:12 -07:00
cf cfn-nag: moved to by-name 2024-10-02 15:16:17 +09:00
cg
ch chezmoi: 2.52.3 -> 2.53.1 (#352968) 2024-11-02 10:45:59 +00:00
ci cider-2: init at 2.5.0 2024-10-30 21:32:21 +01:00
cj/cjs cjs: Fix build with gobject-introspection 1.82.0 2024-10-14 20:54:16 +08:00
cl clerk: migrate to by-name 2024-11-01 20:07:03 -03:00
cm cmake: do in fact use the Darwin SDK in the setup hook 2024-10-10 16:23:00 -04:00
cn
co coc-css: migrate from nodePackages (#323474) 2024-11-01 15:47:24 +01:00
cp mpiCheckPhaseHook: disable openmpi's ssh plugin (#351473) 2024-11-02 13:33:57 +01:00
cq/cq
cr crystal-dock: 2.5 -> 2.7 (#351631) 2024-10-27 14:43:18 +00:00
cs csvtk: install shell completions 2024-11-01 23:28:36 +04:00
ct ctune: init at 1.3.2 2024-10-30 20:15:58 +01:00
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 dart-sass: 1.77.6 -> 1.80.5 2024-10-29 23:32:31 +00:00
db dbeaver: allow custom java -Xmx value 2024-11-01 17:56:06 +01:00
dc treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
dd
de dependabot-cli: 1.41.0 -> 1.57.0, pin image dependencies (#352866) 2024-11-01 17:38:13 +01:00
dg
dh/dhcpig
di disko: 1.8.2 -> 1.9.0 2024-10-29 03:03:43 +00:00
dj/djent
dm dmenu-rs: refactor to add variant with enabled plugins 2024-10-28 23:50:16 -05:00
dn dnsdiag: init at 2.5.0 (#348593) 2024-10-20 00:23:22 +02:00
do dotnet-repl: init at 0.1.216 (#299834) 2024-10-28 23:29:32 +08:00
dp dpp: 10.0.31 -> 10.0.32 2024-10-20 05:49:41 +00:00
dq/dq dq: migrate to by-name 2024-10-28 14:38:56 +04:00
dr drone-scp: 1.6.14 -> 1.7.0 2024-10-28 18:11:16 +00:00
ds dsda-doom: add nix-update-script 2024-10-25 16:54:10 +02:00
dt
du duckstation-bin: init at 0.1-7294 (#336021) 2024-10-30 17:06:33 +08:00
dv
dw dwlb: add lonyelon as maintainer 2024-10-19 23:22:58 +02: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 easyeda2kicad: init at 0.8.0 2024-11-01 08:07:21 +01:00
eb
ec ecapture: 0.8.7 -> 0.8.8 2024-10-25 21:56:45 +08:00
ed edopro: Fixups 2024-11-01 16:56:12 +01: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.6 -> 0.10.8 2024-10-28 10:17:46 +00:00
ej ejabberd.src: switch to github 2024-10-25 10:42:34 +08: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 treewide: move tcl libraries under tclPackages 2024-10-26 16:23:15 +00:00
en ente-auth: fix icon path 2024-11-01 16:21:55 +01:00
eo/eog eog: 47.beta → 47.0 2024-10-14 20:54:12 +08:00
ep Merge master into staging-next 2024-10-29 12:06:00 +00:00
eq equibop: init at 2.0.9 2024-10-21 07:32:59 +03:00
er eris-go: 20240920 -> 20241028 2024-10-28 12:54:16 +00: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 evillimiter: modernize 2024-11-01 20:58:03 +01:00
ew treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ex exo: 0-unstable-2024-10-21 -> 0-unstable-2024-10-28 2024-10-29 15:43:55 +01:00
ey/eyewitness
ez/eza eza: 0.20.5 -> 0.20.6 2024-10-31 14:51:19 +01:00
f2/f2fs-tools
fa factorio: 2.0.11 -> 2.0.13 (#352137) 2024-11-02 07:43:07 +00:00
fb/fbset
fc fcitx5-mcbopomofo: 2.7 -> 2.8 (#351664) 2024-10-28 12:03:21 +08:00
fd/fdroidserver fdroidserver: provide setuptools for build step 2024-10-22 02:49:32 +02:00
fe fedimint: 0.4.3 -> 0.4.4 2024-10-28 07:29:34 +00:00
ff fflogs: 8.14.0 -> 8.14.21 2024-10-27 12:47:49 +00:00
fg/fgqcanvas
fi fittrackee: 0.8.9 → 0.8.10 (#349074) 2024-11-01 22:04:37 +04:00
fj/fjo treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
fl flexget: 3.11.48 -> 3.11.49 (#350509) 2024-10-29 18:19:37 +08:00
fm
fn/fnott
fo forgejo-lts: 7.0.9 -> 7.0.10 2024-10-28 18:34:15 +01:00
fr fretboard: v7.1 -> v8.0 (#352678) 2024-10-31 21:17:32 +01:00
fs fsuae-launcher: fix build 2024-10-23 14:19:12 -07:00
ft Merge master into staging-next 2024-10-10 12:05:39 +00:00
fu fulcio: 1.6.4 -> 1.6.5 2024-10-30 13:52:38 +00:00
fv
fw/fwupd fwupd: 1.9.24 -> 1.9.25 2024-09-25 14:59:25 +02:00
fx/fx
fy fyne: 2.5.1 -> 2.5.2 2024-10-15 10:04:56 -05:00
fz fzf-make: 0.36.0 -> 0.37.0 2024-10-29 18:19:42 +00:00
g3/g3kb-switch
g-/g-wrap g-wrap: migrate to by-name 2024-10-04 13:09:18 -03:00
ga gale: init at 0.8.11 (#348901) 2024-10-28 23:21:50 +08:00
gb
gc gcs: 5.21.0 -> 5.27.0 2024-09-28 00:37:32 +02:00
gd openvpn3: v20 -> v23 (#326623) 2024-11-01 21:27:18 +01:00
ge geis: fix build 2024-10-30 06:53:31 +08: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-chain: init at 0-unstable-2024-08-09 (#342850) 2024-10-28 23:24:54 +05:30
gk/gk-cli
gl glom: fix build (#346684) 2024-11-02 00:38:52 +08:00
gm gmic: 3.4.2 -> 3.4.3 2024-10-30 21:40:57 +00:00
gn gnome-sudoku: 47.0 → 47.1.1 2024-10-31 23:11:54 +08:00
go go-blueprint: init at 0.8.1 2024-11-01 08:18:51 +01:00
gp gpsprune: 24.2 -> 24.5 (#348713) 2024-11-01 13:13:48 +01:00
gr gr-framework: 0.73.7 -> 0.73.8 (#350626) 2024-11-01 17:45:55 +01:00
gs gsan: init at 5.0.0 2024-10-28 14:24:48 +01:00
gt gtuber: init at 0-unstable-2024-10-11 2024-10-22 18:13:03 +05:30
gu gui-for-clash: init at 1.8.9 (#351924) 2024-10-30 17:08:41 +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.1 -> 4.13.2 2024-10-31 14:52:24 +01: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
he Merge master into staging-next 2024-10-31 00:14:46 +00:00
hi hiddify-app: init at 2.5.7-unstable-2024-10-30 2024-10-30 19:49:35 +08:00
hj/hjson-go
hn/hn-text
ho host-spawn: init at 1.6.0 (#349674) 2024-10-26 15:05:20 +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: 0.18.0 -> 0.18.1 (#351140) 2024-11-01 18:07:43 +01:00
hu hugo: 0.135.0 -> 0.136.4 2024-10-23 11:19:16 -07:00
hv/hvm
hw/hwinfo hwinfo: patch shebangs for perl 2024-10-25 21:40:07 +02:00
hx/hxtools
hy hydra: 2024-10-08 -> 2024-10-24 (#351970) 2024-10-31 18:29:06 -04:00
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.11 -> 0.11.12 2024-10-30 14:09:55 +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 iio-hyprland: 0-unstable-2024-07-24 -> 0-unstable-2024-09-29 2024-10-06 11:32:05 +00:00
ij ijhttp: 241.14494.240 -> 242.21829.56 2024-10-13 18:29:21 +00:00
im immich: 1.119.0 -> 1.119.1 2024-10-29 11:03:00 -07:00
in intiface-central: 2.6.0 -> 2.6.4 (#351191) 2024-10-27 05:59:09 +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 irpf: 2024-1.4 -> 2024-1.5 2024-10-06 04:03:05 +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
iv ivyterm: fix hash 2024-10-30 11:56:51 +01: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 jankyborders: switch to apple-sdk_11 2024-10-31 10:08:04 -05: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 jellyfin: 10.9.11 -> 10.10.0 (#351966) 2024-11-01 22:30:48 -07: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 journalist: 1.0.0-unstable-2024-06-15 -> 1.0.1 2024-10-20 14:58:10 +08: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 jreleaser-cli: 1.14.0 -> 1.15.0 2024-10-31 14:14:22 +00:00
js treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
jt jtbl: init at 1.6.0 2024-10-26 21:20:40 +01:00
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 k8sgpt: 0.3.30 -> 0.3.41 2024-10-24 17:10:23 -07:00
ka kanidm: remove trailing slash 2024-11-01 10:58:21 -04: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 kdlfmt: init at 0.0.3 2024-10-27 13:51:30 +09:00
ke keepass: 2.57 -> 2.57.1 (#348635) 2024-11-01 13:22:59 +01:00
kg/kgeotag treewide: remove qt5.mkDerivation usage (trivial cases) (#348577) 2024-10-18 11:40:19 +02:00
ki kitsas: add qtwayland build input for linux 2024-10-29 10:39:59 +01:00
kl klog-rs: 0.0.3 -> 0.1.0 2024-10-31 03:54:13 +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: 1.76 -> 1.77 2024-11-01 16:37:09 +00: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 kubent: add meta.changelog 2024-10-14 12:21:29 -03:00
kv/kvmarwaita
kw/kwok kwok: 0.6.0 -> 0.6.1 2024-10-29 14:17:33 +00:00
kx
ky treewide: add meta.changelog (#346488) 2024-10-04 22:35:12 +03:00
la latexminted: 0.2.0 -> 0.3.0 (#352346) 2024-11-01 08:56:29 -03: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: adopt and rewrite (master) (#350981) 2024-10-28 11:24:51 +08:00
lg/lgogdownloader lgogdownloader: use finalAttrs.finalPackage 2024-09-24 23:28:55 +02:00
li libedgetpu: init at 0-unstable-2024-03-14 (#343786) 2024-11-01 10:55:27 +08: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 loupe: 47.0 → 47.1 2024-10-31 23:11:54 +08:00
lp treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
lr/lrcget lrcget: 0.4.0 -> 0.5.0 2024-10-21 23:13:36 +02: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 luminous-ttv: init at 0.5.7 (#335481) 2024-10-29 16:05:06 +08:00
lv/lv_font_conv
lw
lx lxgw-wenkai-tc: 1.500 -> 1.501 2024-11-01 01:19:21 +00:00
lz treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
m1/m1ddc
m2
ma maestro: 1.38.1 -> 1.39.0 (#351528) 2024-11-01 23:07:25 +09:00
mb mbuffer: 20240929 -> 20241007 2024-10-30 08:31:56 +00: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
mg mgitstatus: remove with lib; expressions 2024-11-01 13:49:11 +04:00
mi mieru: init at 3.7.0 (#295634) 2024-11-01 10:56:13 +08: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
mm mmdbctl: use native way to refer the mmdb path (#352356) 2024-10-31 15:11:23 +08:00
mo mongosh: 2.3.2 -> 2.3.3 2024-11-01 11:47:53 +00:00
mp mpc: 0.34 -> 0.35 2024-11-01 20:07:03 -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-31 00:14:46 +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-29 12:06:00 +00:00
nb nbdkit: init at 1.40.4 2024-10-09 17:08:41 +02:00
nc ncspot: 1.2.0 -> 1.2.1 2024-11-01 10:42:27 +02:00
nd ndn-tools: move to by-name 2024-10-01 18:00:05 +02:00
ne neovim: improve lpeg patch for darwin 2024-11-01 08:59:54 +01:00
nf nf-test: 0.9.0 -> 0.9.1 2024-10-24 04:12:09 +00:00
ng ngrok: add version test 2024-10-26 16:50:08 +02:00
nh nhost-cli: 1.24.0 -> 1.24.5 2024-10-20 18:05:30 +08:00
ni nicotine-plus: 3.3.4 -> 3.3.5 (#345427) 2024-11-01 03:24:01 +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 nomad-pack: 0.1.2 -> 0.2.0 (#349071) 2024-10-29 18:12:54 +08: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: switch to apple-sdk_11 2024-10-31 10:09:43 -05:00
nv nvrh: 0.1.13 -> 0.1.14 2024-10-21 23:51:56 +02:00
nw nwjs-ffmpeg-prebuilt: 0.92.0 -> 0.93.0 (#351749) 2024-10-28 05:42:19 +00:00
nx/nxengine-evo
ny/nym nym: 2024.10-caramello -> 2024.12-aero 2024-10-25 22:25:19 +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 objfw: use clang stdenv 2024-10-29 07:53:09 +00:00
oc octoscan: 0.1.1 -> 0.1.2 2024-10-28 13:45:28 +01:00
od odoo: update script for all versions 2024-10-23 10:22:22 +05:30
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 offat: relax tenacity constraint 2024-10-26 04:54:41 +02:00
og/oguri treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
oh oh-my-posh: 23.15.0 -> 23.20.3 2024-10-25 19:14:44 +00: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 omnisharp-roslyn: drop .NET 7 test, refactor (#343690) 2024-10-31 12:07:17 -03:00
on onedrive: 1.5.1 -> 1.5.2 2024-10-03 16:08:46 +10:00
oo
op openvpn3: v20 -> v23 (#326623) 2024-11-01 21:27:18 +01:00
oq/oqs-provider oqs-provider: fix hash for retagged 0.7.0 2024-10-13 16:57:36 -06:00
or Merge master into staging-next 2024-10-31 00:14:46 +00:00
os oscar: 1.5.1 -> 1.5.3 (#349004) 2024-10-24 16:32:29 +08:00
ot otel-desktop-viewer: fix darwin build 2024-10-27 20:09:11 +01:00
ou outguess: modernize 2024-10-17 20:00:05 -03:00
ov overlayed: 0.5.0 -> 0.6.2 2024-10-26 10:44:18 +08: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 parpd: init 2.3.0 (#346418) 2024-10-29 11:10:26 +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.205 -> 2.1.231 2024-10-30 08:37:34 +00:00
pd Merge master into staging-next 2024-10-31 00:14:46 +00:00
pe mpiCheckPhaseHook: disable openmpi's ssh plugin (#351473) 2024-11-02 13:33:57 +01:00
pf
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 picom-pijulius: 8.2-unstable-2024-10-05 -> 8.2-unstable-2024-10-30 2024-10-31 13:31:12 +06:00
pk pkarr: init at v2.0.0 2024-10-17 11:18:25 -07:00
pl plattenalbum: 2.1.1 -> 2.2.0 (#345239) 2024-11-01 11:17:41 +08:00
pm pmtiles: 1.22.0 -> 1.22.1 2024-10-25 09:00:26 +00:00
pn
po Merge master into staging-next 2024-10-31 00:14:46 +00:00
pp/ppsspp
pq pqiv: 2.13.1 -> 2.13.2 2024-10-31 16:55:15 +00:00
pr proxmox-auto-install-assistant: init at 8.2.6 (#348351) 2024-11-01 23:54:58 +01:00
ps
pt ptyxis: 46.6 -> 47.2 2024-10-16 17:18:08 +09:00
pu puffin: init at 1.7.1 2024-10-28 00:36:07 +01:00
pv pv: 1.8.12 -> 1.8.14 2024-10-16 22:37:17 +02:00
pw pwncat: modernize 2024-10-24 21:00:19 +02:00
px/pxder
py pyamlboot: init at 1.0.0 (#352028) 2024-11-01 10:56:35 +08:00
pz/pzip
q2/q2pro q2pro: init at r3510 2024-10-28 13:49:23 +01:00
qa/qadwaitadecorations
qb/qbittorrent-enhanced
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.27 -> 3.2.13-2024.10.23 2024-10-25 21:44:12 +08:00
qr qrtool: 0.11.5 -> 0.11.6 2024-10-30 09:52:23 +00:00
qs treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
qt qtractor: 1.1.1 -> 1.3.0 2024-10-18 12:38:49 +00:00
qu quill-log: 7.2.2 -> 7.3.0 2024-10-05 21:29:18 +00:00
qw/qwerty-fr
r0/r0vm treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
r1/r10k
ra raycast: move to pkgs/by-name 2024-10-31 15:24:04 +02:00
rc treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
rd/rdwatool
re redmine: Update vulnerable gems where possible (#352106) 2024-10-30 09:26:43 +01: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 rofi-games: init at 1.10.2 (#301397) 2024-10-28 23:23:32 +08:00
rp rpcs3: 0.0.33-16999-938306a7b -> 0.0.33-17070-8b8396b94 2024-10-30 00:22:26 +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 rsop: init at 0.3.9 (#344650) 2024-10-26 21:06:04 +02:00
rt rtorrent: fix updateScript eval 2024-10-05 11:34:00 +10:00
ru rush-parallel: 0.5.6 -> 0.5.7 (#352916) 2024-11-02 10:29:54 +00:00
rw/rwpspread
rx/rxvt
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 salt-lint: init at 0.9.2 (#351946) 2024-11-01 10:57:22 +08:00
sb
sc Merge master into staging-next 2024-10-30 00:14:27 +00:00
sd Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
se Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 16:10:56 -06: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 shortwave: 3.2.0 -> 4.0.1, move to by-name (#352786) 2024-11-02 16:26:21 +08:00
si mpiCheckPhaseHook: disable openmpi's ssh plugin (#351473) 2024-11-02 13:33:57 +01:00
sk skhd: add versionCheckHook 2024-10-31 20:52:05 -05:00
sl sly: init at 0.4.0 2024-11-02 05:44:15 +08:00
sm smartcat: 1.4.1 -> 1.7.1 2024-10-21 23:06:14 +00:00
sn snoop: 0.4 -> 0.4.1 2024-10-26 10:48:11 +08:00
so sonar-scanner-cli: 4.7.0.2747 -> 6.2.1.4610 (#329764) 2024-10-29 22:52:21 +01:00
sp sphinxygen: init at 1.0.4 (#351219) 2024-10-28 20:12:37 +08:00
sq sql-studio: init at 0.1.27 (#341807) 2024-10-29 16:03:12 +08:00
sr srgn: 0.13.2 -> 0.13.3 2024-10-19 17:28:08 +00:00
ss sshified: init at 1.2.1 (#351532) 2024-10-27 20:53:13 +08:00
st stardust-xr-server: init at 0.44.1 (#324375) 2024-11-01 09:04:55 +08:00
su sunvox: 2.1.1c -> 2.1.2 (#349298) 2024-11-01 11:35:07 -04:00
sv svdtools: 0.3.18 -> 0.3.19 (#349619) 2024-10-19 05:39:02 +03:00
sw Revert "NixOS apply script" 2024-11-01 20:18:09 -04:00
sx
sy syncstorage-rs: 0.17.9 -> 0.17.12 (#350176) 2024-10-31 01:12:05 +01:00
t-/t-rex treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ta tailscale: 1.76.1 -> 1.76.3 2024-10-31 03:48:58 +01:00
tb/tbump
tc/tcsh treewide: move tcl libraries under tclPackages 2024-10-26 16:23:15 +00:00
td treewide: move tcl libraries under tclPackages 2024-10-26 16:23:15 +00:00
te telegram-bot-api: 7.10 -> 7.11 (#352843) 2024-11-02 00:44:42 +01:00
tf/tflint tflint: moved to by-name 2024-09-23 11:46:50 +09:00
tg
th theattyr: remove leading indefinite article in description 2024-10-29 09:47:59 +01:00
ti tinysparql: Mark as broken on darwin 2024-10-31 23:11:54 +08:00
tk tkey-ssh-agent: add updateScript and testVersion (#336939) 2024-10-31 17:28:01 +08:00
tl tlsinfo: init at 0.1.41 2024-10-20 08:49:16 +00:00
tm
to tomlplusplus: disable broken tests on darwin (#352316) 2024-11-01 22:42:50 +01:00
tp tpnote: 1.24.8 -> 1.24.9 2024-10-30 07:07:28 +00:00
tr Merge master into staging-next 2024-10-30 00:14:27 +00:00
ts tsukimi: add nix-update-script to passthru 2024-10-31 12:46:05 +01:00
tt ttop: format with nixfmt 2024-10-13 23:22:33 +02:00
tu turbocase: init 1.8.0 (#347257) 2024-10-29 14:57:06 +08: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 tygo: init at 0.2.17 2024-10-29 08:27:29 -04: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
ue treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
ug ugit: init at 5.8 2024-10-02 14:12:16 +02:00
uh/uhttpmock_1_0 uhttpmock_1_0: 0.10.0 → 0.11.0 2024-10-14 20:46:06 +08:00
ui uiua: 0.13.0-dev.1 -> 0.13.0 2024-10-23 23:02:27 +02:00
um/umpire
un Merge remote-tracking branch 'origin/master' into staging-next 2024-10-27 23:56:04 -06:00
up uplosi: 0.3.0 -> 0.3.1 2024-10-23 08:51:28 +02:00
ur
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
uv/uv uv: 0.4.28 → 0.4.29 2024-10-31 07:36:30 +01:00
uw uwsm: 0.20.0 -> 0.20.1 2024-10-26 00:20:40 +00:00
ux uxn: 1.0-unstable-2024-09-20 -> 1.0-unstable-2024-10-19 2024-10-26 12:02:27 +00:00
va vapoursynth: 69 -> 70 (#342668) 2024-11-01 03:36:35 +01:00
vc vcpkg: 2024.08.23 -> 2024.09.30 2024-10-04 06:38:19 +00:00
vd/vdhcoapp
ve versatiles: 0.12.10 -> 0.13.0 2024-10-31 05:35:05 +00:00
vf/vfkit
vg
vi viddy: 1.1.5 -> 1.2.0 2024-10-31 08:46:29 +05:30
vk vkd3d: 1.12 -> 1.13 2024-10-15 06:59:06 +00:00
vl Merge branch 'master' into staging-next 2024-09-25 06:05:01 +03:00
vm vms-empire: 1.17 -> 1.18 2024-10-14 19:25:41 +00:00
vn
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 vunnel: relax more deps 2024-11-02 00:02:45 +01:00
vv/vvvvvv treewide: replace stdenv.is with stdenv.hostPlatform.is 2024-09-25 00:04:37 +03:00
vw/vwsfriend
vy vym: migrate to by-name 2024-10-13 11:41:05 -03:00
vz/vzic
wa warp-terminal: 0.2024.10.23.14.49.stable_00 -> 0.2024.10.29.08.02.stable_02 (#352879) 2024-11-02 09:14:40 +05:30
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-28 21:46:13 +03: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 whistle: 2.9.80 -> 2.9.86 (#349253) 2024-11-01 14:23:12 +01:00
wi wiremock: 3.9.1 -> 3.9.2 (#351728) 2024-10-28 06:17:55 +00:00
wl wlink: init at 0.0.9 2024-10-03 14:34:36 -05:00
wo
wp wprs: add sanity test. 2024-10-29 09:01:17 -07:00
wr treewide: update pnpmDeps hashes 2024-10-19 23:50:41 +02:00
ws wstunnel: 10.1.3 -> 10.1.5 2024-10-25 09:37:38 -07: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
x4/x4 x4: init at 0.1.0 (#346736) 2024-10-29 15:15:15 +08: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 treewide: move tcl libraries under tclPackages 2024-10-26 16:23:15 +00:00
xh/xhosts
xi treewide: replace webkitgtk to webkitgtk_4_0 2024-10-11 17:23:43 -06:00
xl
xm xmoji: 0.5.1 -> 0.8 2024-10-03 04:36:48 -04:00
xn/xnlinkfinder
xo xortool: modernize 2024-10-24 21:05:42 +02:00
xp xpar: init at 0.5 2024-10-29 18:51:34 -04:00
xr xrgears: unstable-2021-06-19 -> 1.0.1-unstable-2024-07-09 (#320650) 2024-10-28 21:22:14 +01:00
xs xschem: move to name based directory 2024-10-21 14:01:30 +02: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
xw xwayland-satellite: use binary wrapper 2024-10-16 20:08:39 -04:00
ya yaffshiv: init at 0-unstable-2024-08-30 (#348180) 2024-11-01 21:46:22 +01: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 your_spotify: 1.10.1 -> 1.11.0 (#350978) 2024-10-26 17:03:38 +02:00
yp/ypbind-mt
ys/ysfx
yt ytdl-sub: 2024.10.26 -> 2024.10.27.post5 2024-10-28 02:38:43 +00:00
yu yutto: 2.0.0-beta.43 -> 2.0.0-rc.4 2024-10-17 14:40:33 +08:00
za zapret: 0-unstable-2024-08-01 -> 67 (#348160) 2024-11-01 21:27:36 +00: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.159.6 -> 0.159.7 2024-11-01 11:07:58 -04:00
zf zfp: fix build 2024-10-30 22:35:30 +08:00
zi zip2hashcat: init at 1.0 2024-10-27 01:25:24 -04:00
zl/zluda
zm/zmkBATx
zo zoom-us: 6.2.3.2056 -> 6.2.5.2440 2024-10-27 06:22:14 +00:00
zp zpaqfranz: 60.6 -> 60.7 2024-10-09 01:43:41 +00: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 zxtune: 5072 -> 5075 2024-10-06 00:33:47 +00: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;
}