Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump technote-space/get-diff-action from v2.0.2 to v4 #7

Open
wants to merge 234 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
234 commits
Select commit Hold shift + click to select a range
6693dad
pop-gtk: 2020-04-22 -> 2020-06-30
Jul 31, 2020
a5667be
python3Packages.ftfy: remove outdated comment about version 4 vs 5
danieldk Jul 31, 2020
d337469
ndi: 4.5.1 -> 4.5.3
bbigras Jul 31, 2020
0802861
resilio-sync: 2.7.1 -> 2.7.2
danieldk Jul 22, 2020
59bf582
temporary delete github actions
Mic92 Jul 31, 2020
d3fd6f6
Revert "temporary delete github actions"
Mic92 Jul 31, 2020
0f2c709
simplenote: 1.19.0 -> 1.20.0
r-ryantm Jul 31, 2020
ca01f47
pythonPackages.qds_sdk: 1.12.0 -> 1.15.2
tinahbu Jul 31, 2020
453b987
maintainers: add KarlJoad
KarlJoad Jul 27, 2020
810658b
tor-browser-bundle-bin: 9.5 -> 9.5.3
KarlJoad Jul 27, 2020
788a44f
python3Packages.pyphotonfile: init at 0.2.1
cab404 Jul 24, 2020
2b7e625
sl1-to-photon: init at 0.1.3
cab404 Jul 25, 2020
cbbb5bc
python37Packages.opt-einsum: 3.2.1 -> 3.3.0
r-ryantm Jul 26, 2020
45ebfde
plexamp: init at 3.0.3
killercup Mar 21, 2020
d535594
plexamp: 3.0.3 -> 3.1.1
killercup Jul 21, 2020
c1935f8
plexamp: fix icon
killercup Jul 23, 2020
7b56fd7
python3Packages.pytorch: 1.5.1 -> 1.6.0
danieldk Jul 29, 2020
43ecf2f
ugrep: 2.4.1 -> 2.5.0
r-ryantm Jul 31, 2020
ac490f4
cargo-expand: 0.6.4 -> 1.0.0
xrelkd Jul 31, 2020
1006ad9
liblinear: 2.30 -> 2.40
danieldk Jul 24, 2020
d68daa4
linux: enable io cost and io latency block group controller
symphorien Jul 18, 2020
6c13c36
blender: 2.83.1 -> 2.83.3
r-ryantm Jul 31, 2020
b2d3715
tig: Don't install the broken ZSH completion
primeos Jul 31, 2020
6f5230b
LTS Haskell 16.7
peti Jul 31, 2020
b225c37
hackage-packages.nix: automatic Haskell package set update
peti Jul 25, 2020
1009a6b
hackage2nix: build the package set for the proper compiler version
peti Jul 31, 2020
4cf983b
hackage2nix: update list of broken packages to fix evaluation
peti Jul 31, 2020
ea9e607
haskellPackages.hasql-migration unbroken
piq9117 Jul 27, 2020
05933a1
haskellPackages.haskeline_0_8_0_0: add dontCheck
sorki Jul 27, 2020
11817b9
haskellPackages.zre: use repline_0_4_0_0
sorki Jul 27, 2020
4c97a48
bytebuild: disable test suite
Jul 29, 2020
a16fe53
ip: disable test suite
Jul 29, 2020
9aebf3b
haskellPackages.hnix: fix build for ghc-8.10 by adding repline
sorki Jul 29, 2020
bbf5968
haskellPackages.haskell-language-server+hls-ide: fix lsp-test override
sorki Jul 30, 2020
b5910e4
haskell-streaming-commons: drop obsolete version override
peti Jul 31, 2020
46598fa
all-cabal-hashes: update to Hackage at 2020-07-30T22:14:54Z
peti Jul 31, 2020
046989d
bambootracker: init at 0.4.3
OPNA2608 Jul 31, 2020
10c8cd1
mattermost: 5.15.0 -> 5.25.0
ali-abrar Jul 17, 2020
a4cebe8
python3Packages.sh: 1.12.14 -> 1.13.1
siriobalmelli Jul 20, 2020
9356f81
slack: 4.4.3 -> 4.7.0 (linux), 4.6.0 -> 4.8.0 (darwin)
sikmir Jul 31, 2020
92a2c91
cheat: 4.0.0 -> 4.0.2
r-ryantm Jul 31, 2020
479fecc
python3Packages.west: init at 0.7.2
siriobalmelli Jul 1, 2020
7e855de
cryptpad: 3.13.0 -> 3.20.1 (#94255)
xeji Jul 31, 2020
e000439
wrapNeovim: Rewrite
doronbehar May 19, 2020
3e9bc13
home-assistant: revert back to python3.8
mweinelt Jul 31, 2020
e6ab980
gplates: 2.0.0 -> 2.2.0, unbreak
kmicklas Jul 28, 2020
371bb6a
eksctl: 0.22.0 -> 0.24.0 (#94391)
r-ryantm Aug 1, 2020
f81e78f
dijo: 0.1.5 -> 0.2.2
r-ryantm Aug 1, 2020
302167c
ccache: 3.7.10 -> 3.7.11
r-ryantm Jul 31, 2020
02a3e7c
edukai: Init at 4.0
ShamrockLee Jun 29, 2020
89898b2
edusong: Init at 1.0
ShamrockLee Jul 28, 2020
7c0c3d0
eduli: Init at 3.0
ShamrockLee Jul 28, 2020
1e2bdbe
Add siraben to maintainer-list
siraben Jul 29, 2020
a85b364
scas: init at 0.4.6
siraben Jul 29, 2020
3fd6a60
maintainer: add artturin
Artturin Jul 30, 2020
469d354
autotiling: init at 1.1
Artturin Jul 30, 2020
3772404
oneDNN: disable tests to avoid illegal instructions
danieldk Jul 30, 2020
d27cc91
git-quick-stats: 2.1.2 -> 2.1.3
r-ryantm Aug 1, 2020
4cced21
lzfse: enable Darwin build
danieldk Jul 31, 2020
41850f3
intel-gmmlib: 20.2.2 -> 20.2.3
r-ryantm Aug 1, 2020
5020931
fping: 4.3 -> 4.4
r-ryantm Aug 1, 2020
293031f
humioctl: 0.25.0 -> 0.26.0 (#94411)
Aug 1, 2020
f6adaef
broot: 0.18.1 -> 0.19.3
r-ryantm Jul 31, 2020
0563c91
dolt: 0.18.0 -> 0.18.1 (#94393)
r-ryantm Aug 1, 2020
7c2a737
shattered-pixel-dungeon: 0.8.1 -> 0.8.1a
r-ryantm Jul 31, 2020
35bb929
inform6: init at 6.34-6.12.2
ddelabru Jul 28, 2020
01075ff
thunderbird-bin: copy thunderbird-bin -> thunderbird-bin-68
taku0 Jul 27, 2020
3f62801
thunderbird-bin: 68.9.0 -> 78.0
taku0 Jul 15, 2020
1a5592a
thunderbird: copy thunderbird -> thunderbird-68
taku0 Jul 27, 2020
13bf997
thunderbird: 68.9.0 -> 78.0
taku0 Jul 15, 2020
762a159
thunderbird-bin: 78.0 -> 78.0.1
taku0 Jul 24, 2020
b7c1e00
thunderbird: 78.0 -> 78.0.1
taku0 Jul 24, 2020
2c9b4a6
thunderbird: make 68 as the default
taku0 Jul 27, 2020
fde34f5
thunderbird-bin: 78.0.1 -> 78.1.0
taku0 Jul 30, 2020
ee69bbd
thunderbird: fix update script
taku0 Jul 30, 2020
2ad4c4b
thunderbird: 78.0.1 -> 78.1.0
taku0 Jul 30, 2020
40c6906
gitAndTools.gitui: 0.8.1 -> 0.9.1
r-ryantm Aug 1, 2020
f7abadf
emplace: 0.3.5 -> 0.3.6
r-ryantm Aug 1, 2020
0b8f136
termius: 5.10.1 -> 6.1.1
r-ryantm Jul 7, 2020
fea3523
gem: init at 2020-03-26
raboof May 29, 2020
25ab2a3
eprover: 2.4 -> 2.5
r-ryantm Jul 31, 2020
dfae88d
tlp: use structured config to fix cpu governor
Mic92 Jul 27, 2020
a973f1f
alacritty: 0.4.3 -> 0.5.0
kimat Aug 1, 2020
117dbdd
abcmidi: 2020.06.30 -> 2020.07.28 (#94349)
r-ryantm Aug 1, 2020
8005a6a
perlPackages.CPANMini: init at 1.111016
stigtsp Jul 31, 2020
66c3d11
ghc 8.8.4/8.10.1: fix PEBKAC
domenkozar Aug 1, 2020
62150c7
jamulus: 3.5.8 -> 3.5.9
r-ryantm Aug 1, 2020
57d31f1
flow: 0.128.0 -> 0.130.0
r-ryantm Aug 1, 2020
026d02c
hashcat: 6.0.0 -> 6.1.1 (#94449)
r-ryantm Aug 1, 2020
423c031
liblinear: 2.40 -> 2.41
danieldk Jul 31, 2020
3294dd9
istioctl: bundle charts
nightkr Jul 29, 2020
e2bbc0d
istioctl: bundle release metadata
nightkr Jul 29, 2020
670615c
batsignal: 1.0.0 -> 1.1.2
r-ryantm Jul 31, 2020
3cb42d0
coqPackages.bignums: init at 8.12.0 for Coq 8.12
vbgl Jul 25, 2020
cf56742
opengrm-ngram: init at 1.3.11
Mic92 Aug 1, 2020
ed1c70b
phonetisaurus: init at 2020-07-31
Mic92 Aug 1, 2020
f1785f2
mautrix-telegram: add postgresql database driver
pacien Aug 1, 2020
1f22186
python3Packages.pyfritzhome: init at 0.4.2
mweinelt Jul 25, 2020
d576318
firefox-bin: 78.0.2 -> 79.0
taku0 Jul 27, 2020
1d9792a
firefox: 78.0.2 -> 79.0
taku0 Jul 27, 2020
a685cff
firefox-esr: 68.10.0esr -> 78.1.0esr
taku0 Jul 27, 2020
1e81d78
firefox-esr: 68.10.0.esr -> 68.11.0esr
taku0 Aug 1, 2020
d46d695
Revert "libreoffice*: fix build after nss update"
vcunat Aug 1, 2020
a67babd
eternal-terminal: 6.0.7 -> 6.0.9
r-ryantm Jul 31, 2020
4246ac7
checkstyle: 8.34 -> 8.35
r-ryantm Jul 31, 2020
e3c86f1
elinks: 0.12pre6 -> 0.13.2 (felinks fork)
iblech Jun 16, 2020
915e809
nixos/systemd-networkd-vrf: implement working TCP test on a 5.x kernel
Ma27 Jul 31, 2020
4452b01
openxr-loader: 1.0.9 -> 1.0.10
r-ryantm Jul 31, 2020
694b194
wayland-utils: init at 1.0.0 (#94471)
primeos Aug 1, 2020
4f55ce1
enlightenment.efl: do not default to openjpeg 1
romildo Jul 31, 2020
dc489d5
Backport zfs 5.8 compaitibility patch to zfs 0.8.4
rtreffer Jul 31, 2020
f763343
gloox: 1.0.23 -> 1.0.24
r-ryantm Aug 1, 2020
3f95b83
nixos/tinc: allow configuration of RSA key file
erictapen Apr 25, 2020
c0c7bf3
Fix typo in linkerd package name
kasimon Aug 1, 2020
6da0a52
doc: Fix missing callout in go.xml
matthewmazzanti Aug 1, 2020
228d9ce
elementary-planner: 2.4.5 -> 2.4.6
r-ryantm Aug 1, 2020
e7562f2
atom: Fix #92487
worldofpeace Jul 22, 2020
08b5674
xfce.xfce4-whiskermenu-plugin: 2.4.4 -> 2.4.6
romildo Aug 1, 2020
acbf7a3
xfce.xfce4-timer-plugin: 1.7.0 -> 1.7.1
romildo Aug 1, 2020
573374c
pythonPackages.vcver: init at 0.2.10
mweinelt Aug 1, 2020
7cb0038
python3Packages.deepmerge: init at 0.1.0
mweinelt Aug 1, 2020
b5911b3
python3Packages.pyipp: init at 0.10.1
mweinelt Aug 1, 2020
359e4a8
bazel-kazel: 0.0.7 -> 0.0.10 (#94470)
r-ryantm Aug 2, 2020
a0d6687
postfix: 3.5.4 -> 3.5.6
dotlambda Aug 1, 2020
885a9d1
python3Packages.python-didl-lite: init at 1.2.4
mweinelt Aug 1, 2020
96eefac
python3Packages.async-upnp-client: init at 0.14.14
mweinelt Aug 2, 2020
0583005
home-assistant: regenerate component packages
mweinelt Aug 2, 2020
4ced233
python3Packages.openwebifpy: init at 3.1.1
mweinelt Aug 2, 2020
eac9ed6
home-assistant: regenerate component packages
mweinelt Aug 2, 2020
43077e5
xfce.xfwm4: 4.14.2 -> 4.14.4
romildo Aug 1, 2020
6ad0747
boot.loader.grub: add theme option
mkg20001 Jul 5, 2020
a983911
Update default branch for tslime.vim
pseudomuto Jul 23, 2020
224ff92
aws-okta: 1.0.2 -> 1.0.4
r-ryantm Jul 31, 2020
29da7fe
bmake: 20200629 -> 20200710
r-ryantm Jul 31, 2020
4d23021
traefik: 2.2.4 -> 2.2.8
r-ryantm Jul 31, 2020
63c3c8a
maintainers: add mcwitt
mcwitt Aug 2, 2020
6285240
pythonPackages.vulture: init at 1.6
mcwitt Aug 2, 2020
fdb630b
lazpaint: init at 7.1.3
gnidorah Jul 4, 2020
9a29855
skim-vim: init at 2019-07-31
tsaeger Apr 1, 2020
d3e439e
gortr: 0.14.5 -> 0.14.6
r-ryantm Aug 2, 2020
62ddadd
gotestsum: 0.5.1 -> 0.5.2
r-ryantm Aug 2, 2020
7c74033
gromit-mpx: 1.3 -> 1.3.1
r-ryantm Aug 2, 2020
e4af824
gromit-mpx: add wrapGAppsHook
Mic92 Aug 2, 2020
94a63b7
helmfile: 0.119.1 -> 0.125.1
r-ryantm Aug 2, 2020
cef090c
kmon: 1.3.0 -> 1.3.5
r-ryantm Aug 2, 2020
22a5a97
dua: 2.8.1 -> 2.10.2
r-ryantm Aug 1, 2020
723204e
podman: 2.0.3 -> 2.0.4
zowoq Aug 1, 2020
7b01110
buildah: 1.15.0 -> 1.15.1
zowoq Aug 1, 2020
dff4033
mdbook: 0.4.0 -> 0.4.1
r-ryantm Aug 2, 2020
0a9f5dd
lite: 1.06 -> 1.11
r-ryantm Aug 2, 2020
f663339
dune_2: 2.6.1 -> 2.6.2
r-ryantm Aug 1, 2020
bd325a4
kondo: 0.3 -> 0.4
r-ryantm Aug 2, 2020
0a4c0d9
fzf: 0.21.1 -> 0.22.0
zowoq Aug 2, 2020
ff81a0f
lazygit: 0.20.6 -> 0.20.9
r-ryantm Aug 2, 2020
53873db
lean: 3.16.5 -> 3.18.4
r-ryantm Aug 2, 2020
add391f
.github/CODEOWNERS: add github actions
zowoq Jul 30, 2020
6bdd786
.github/workflows/editorconfig.yml: update
zowoq Jul 30, 2020
915fcd1
.github/workflows/editorconfig.yml: update to match wait-ofborg action
zowoq Jul 31, 2020
dd1c6f9
.github/CODEOWNERS: add editorconfig
zowoq Jul 31, 2020
1703688
k6: 0.27.0 -> 0.27.1
r-ryantm Aug 2, 2020
6261aa8
cava: 0.7.1 -> 0.7.2
r-ryantm Jul 31, 2020
d3422c5
drawio: 13.5.1 -> 13.5.7
r-ryantm Aug 1, 2020
a11a33c
liquibase: 3.10.1 -> 3.10.2
r-ryantm Aug 2, 2020
545048d
nfpm: 1.3.2 -> 1.5.0
r-ryantm Aug 2, 2020
8cabe88
kube-router: 1.0.0 -> 1.0.1
r-ryantm Aug 2, 2020
5078734
cargo-tarpaulin: 0.14.0 -> 0.14.2
r-ryantm Aug 1, 2020
da149f3
.editorconfig: add deps.nix
zowoq Aug 2, 2020
6853226
cargo-tarpaulin: disable aarch64 and i686 build
Ma27 Aug 2, 2020
1f3a6cc
libplacebo: allow for latest glslang (#94510)
jonringer Aug 2, 2020
a206341
i3: 4.18.1 -> 4.18.2
r-ryantm Aug 1, 2020
47ef6af
ocamlPackages.mdx: 1.6.0 → 1.7.0
vbgl Jul 26, 2020
0e5f4ff
timezonemap: init at 0.4.5
mkg20001 Apr 7, 2020
93d29b9
openjdk: 11.0.7 -> 11.0.8
asbachb Aug 2, 2020
e0fe9a6
dune-release: 1.3.3 → 1.4.0
sternenseemann Jul 15, 2020
737e9f4
quilter: 2.2.4 -> 2.5.0
r-ryantm Jul 24, 2020
981f8db
sd: 0.7.5 -> 0.7.6
r-ryantm Aug 2, 2020
e8c662e
kpt: 0.31.0 -> 0.32.0
r-ryantm Aug 2, 2020
7299b78
openbazaar-client: 2.4.6 -> 2.4.7
r-ryantm Aug 2, 2020
a89322c
pgmetrics: 1.9.2 -> 1.9.3
r-ryantm Aug 2, 2020
14fd29d
deno: 1.2.1 -> 1.2.2
06kellyjac Aug 2, 2020
f2bdf44
osm2pgsql: 1.2.2 -> 1.3.0
r-ryantm Aug 2, 2020
d4daee2
bjumblr: 0.2 -> 1.4.0
magnetophon Aug 1, 2020
87230c0
ettercap: 0.8.3 -> 0.8.3.1
r-ryantm Aug 1, 2020
a1120be
lib/strings: Add floatToString
infinisil Mar 7, 2020
1d4b603
lib/generators: Extend mkValueStringDefault with float support
infinisil Dec 12, 2019
86b5ab3
pkgs: Add pkgs-lib structure
infinisil Mar 26, 2020
c1dad87
pkgs-lib: Implement settings formats for JSON, INI, YAML and TOML
infinisil Mar 26, 2020
f1bcbf1
pkgs-lib: Add tests for formats
infinisil Mar 26, 2020
e141f62
nixos/docs: Add documentation for settings options
infinisil Mar 6, 2020
c08a97d
amfora: 1.3.0 -> 1.4.0
r-ryantm Aug 1, 2020
9c4bf9e
fluent-bit: 1.5.0 -> 1.5.2
r-ryantm Aug 1, 2020
81e8633
flyway: 6.5.0 -> 6.5.3
r-ryantm Aug 1, 2020
1784cad
nixos/snapserver: update module to work with snapcast 0.20
mweinelt Jul 28, 2020
69ae035
nixos/tests: add snapcast
mweinelt Jul 28, 2020
1fcc25c
jx: 2.1.90 -> 2.1.121
r-ryantm Aug 2, 2020
43114bc
jx: install completions
marsam Aug 2, 2020
17d6a77
jx: update ldflags
marsam Aug 2, 2020
d766be1
gosec: 2.3.0 -> 2.4.0
r-ryantm Aug 1, 2020
ef802ff
gosec: add ldflags
marsam Aug 2, 2020
47be64b
openjdk14: 14.0.1 -> 14.0.2
bachp Aug 2, 2020
39a35c9
ardour: 6.0 -> 6.2
magnetophon Aug 1, 2020
dfaf809
initrd-network: fix flushBeforeStage2
ju1m Aug 2, 2020
3451301
istioctl: 1.6.5 -> 1.6.6
r-ryantm Aug 1, 2020
7a0a32f
istioctl: install completions
marsam Aug 2, 2020
4060384
kfloppy: init at 20.04.3
freezeboy Jul 26, 2020
9011199
Options to add an extra disk in virtual box VM.
dfordivam Apr 23, 2019
9b8fce7
vale: 2.0.0 -> 2.2.2
KAction Feb 26, 2020
f17537c
vale: install documentation into $doc output
KAction Feb 26, 2020
25c56c4
vale: install styles provided by upstream
KAction Feb 26, 2020
0c4f067
acl2, acl2-minimal: build standard library, init
kini Feb 24, 2020
84f68b7
gambit-unstable: 2020-05-15 -> 2020-07-29
fare May 22, 2020
e7c8679
gerbil-unstable: 2020-05-17 -> 2020-08-02
fare May 22, 2020
6efa2a7
gerbilPackages-unstable.gerbil-utils: 2020-05-17 -> 2020-08-02
fare Jun 3, 2020
f448a7b
gerbilPackages-unstable.gerbil-crypto: init at 2020-08-01
fare Jun 16, 2020
94ca3bf
gerbilPackages-unstable.gerbil-poo: init at 2020-08-02
fare Jul 14, 2020
34cde82
gerbilPackages-unstable.gerbil-persist: init at 2020-08-02
fare Jul 14, 2020
1fbbe56
gerbilPackages-unstable.gerbil-ethereum: init at 2020-08-02
fare Jul 7, 2020
72c65ab
operator-sdk: 0.18.2 -> 0.19.2
r-ryantm Aug 2, 2020
81d8f4e
rss2email: 3.11 -> 3.12
Ekleog Aug 2, 2020
56ca606
rss2email: 3.12 -> 3.12.1
Ekleog Aug 2, 2020
1298115
oraclejdk8: update jce hash
Ma27 Aug 2, 2020
c018741
exoscale-cli: 1.14.0 -> 1.15.0
r-ryantm Aug 1, 2020
14e8d7c
picard-tools: 2.23.1 -> 2.23.3
r-ryantm Aug 2, 2020
6fe2333
xscreensaver: fix xscreensaver-demo build
7c6f434c Aug 2, 2020
9657583
hcxdumptool: 6.0.7 -> 6.1.0
r-ryantm Aug 2, 2020
67d638c
.editorconfig: add node-packages.nix
zowoq Aug 3, 2020
d20ef07
pkgs/top-level: add x86_64-redox
aaronjanse Jul 26, 2020
743a232
coq_8_5: fix build (use gnumake 4.2)
vbgl Jul 27, 2020
acfc79a
swift: fix cflags for finding C++ headers
mroi Jul 28, 2020
7f23f29
chibi: 0.8 -> 0.9
r-ryantm Aug 2, 2020
433393d
build(deps): bump technote-space/get-diff-action from v2.0.2 to v2.0.3
dependabot[bot] Aug 3, 2020
9f87778
.github/workflows/editorconfig.yml: full fetch
zowoq Aug 3, 2020
8362843
python27Packages.autopep8: 1.5.3 -> 1.5.4
r-ryantm Aug 2, 2020
fdd16d0
build(deps): bump technote-space/get-diff-action from v2.0.2 to v4
dependabot[bot] Oct 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,15 @@ end_of_line = unset
[*.lock]
indent_size = unset

[deps.nix]
insert_final_newline = unset

[gemset.nix]
insert_final_newline = unset

[node-packages.nix]
insert_final_newline = unset

[pkgs/applications/editors/emacs-modes/recipes-archive-melpa.json]
indent_size = unset

Expand Down
6 changes: 6 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
# This file
/.github/CODEOWNERS @edolstra

# GitHub actions
/.github/workflows @Mic92 @zowoq

# EditorConfig
/.editorconfig @Mic92 @zowoq

# Libraries
/lib @edolstra @nbp @infinisil
/lib/systems @nbp @ericson2314 @matthewbauer
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/editorconfig.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
name: actions
name: "Checking EditorConfig"

on:
pull_request:
branches:
- master

jobs:
editorconfig:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v2.0.2
- name: editorconfig check
with:
fetch-depth: 0
- uses: technote-space/get-diff-action@v4
- name: Checking EditorConfig
env:
VERSION: "2.0.4"
VERSION: "2.1.0"
OS: "linux"
ARCH: "amd64"
run: |
Expand Down
4 changes: 3 additions & 1 deletion doc/languages-frameworks/go.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ pet = buildGoModule rec {

subPackages = [ "." ]; <co xml:id='ex-buildGoModule-2' />

runVend = true; <co xml:id='ex-buildGoModule-3' />

meta = with lib; {
description = "Simple command-line snippet manager, written in Go";
homepage = "https://github.com/knqyf263/pet";
Expand All @@ -66,7 +68,7 @@ pet = buildGoModule rec {
</callout>
<callout arearefs='ex-buildGoModule-3'>
<para>
<varname>runVend</varname> runs the vend command to generate the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build.
<varname>runVend</varname> runs the vend command to generate the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build.
</para>
</callout>
</calloutlist>
Expand Down
6 changes: 4 additions & 2 deletions lib/generators.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ rec {
else if isAttrs v then err "attrsets" v
# functions can’t be printed of course
else if isFunction v then err "functions" v
# let’s not talk about floats. There is no sensible `toString` for them.
else if isFloat v then err "floats" v
# Floats currently can't be converted to precise strings,
# condition warning on nix version once this isn't a problem anymore
# See https://github.com/NixOS/nix/pull/3480
else if isFloat v then libStr.floatToString v
else err "this value is" (toString v);


Expand Down
16 changes: 16 additions & 0 deletions lib/strings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,22 @@ rec {
*/
fixedWidthNumber = width: n: fixedWidthString width "0" (toString n);

/* Convert a float to a string, but emit a warning when precision is lost
during the conversion

Example:
floatToString 0.000001
=> "0.000001"
floatToString 0.0000001
=> trace: warning: Imprecise conversion from float to string 0.000000
"0.000000"
*/
floatToString = float: let
result = toString float;
precise = float == builtins.fromJSON result;
in if precise then result
else lib.warn "Imprecise conversion from float to string ${result}" result;

/* Check whether a value can be coerced to a string */
isCoercibleToString = x:
builtins.elem (builtins.typeOf x) [ "path" "string" "null" "int" "float" "bool" ] ||
Expand Down
30 changes: 30 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,12 @@
githubId = 135230;
name = "Aycan iRiCAN";
};
artturin = {
email = "artturin@artturin.com";
github = "artturin";
githubId = 56650223;
name = "Artturi N";
};
b4dm4n = {
email = "fabianm88@gmail.com";
github = "B4dM4n";
Expand Down Expand Up @@ -1930,6 +1936,12 @@
githubId = 14032;
name = "Daniel Brockman";
};
ddelabru = {
email = "ddelabru@redhat.com";
github = "ddelabru";
githubId = 39909293;
name = "Dominic Delabruere";
};
dduan = {
email = "daniel@duan.ca";
github = "dduan";
Expand Down Expand Up @@ -4151,6 +4163,12 @@
github = "karantan";
githubId = 7062631;
};
KarlJoad = {
email = "karl@hallsby.com";
github = "KarlJoad";
githubId = 34152449;
name = "Karl Hallsby";
};
karolchmist = {
email = "info+nix@chmist.com";
name = "karolchmist";
Expand Down Expand Up @@ -5175,6 +5193,12 @@
githubId = 13689192;
name = "Nguyễn Gia Phong";
};
mcwitt = {
email = "mcwitt@gmail.com";
github = "mcwitt";
githubId = 319411;
name = "Matt Wittmann";
};
mdaiter = {
email = "mdaiter8121@gmail.com";
github = "mdaiter";
Expand Down Expand Up @@ -7480,6 +7504,12 @@
githubId = 2770647;
name = "Simon Vandel Sillesen";
};
siraben = {
email = "bensiraphob@gmail.com";
github = "siraben";
githubId = 8219659;
name = "Siraphob Phipathananunth";
};
siriobalmelli = {
email = "sirio@b-ad.ch";
github = "siriobalmelli";
Expand Down
179 changes: 179 additions & 0 deletions nixos/doc/manual/development/settings-options.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
version="5.0"
xml:id="sec-settings-options">
<title>Options for Program Settings</title>

<para>
Many programs have configuration files where program-specific settings can be declared. File formats can be separated into two categories:
<itemizedlist>
<listitem>
<para>
Nix-representable ones: These can trivially be mapped to a subset of Nix syntax. E.g. JSON is an example, since its values like <literal>{"foo":{"bar":10}}</literal> can be mapped directly to Nix: <literal>{ foo = { bar = 10; }; }</literal>. Other examples are INI, YAML and TOML. The following section explains the convention for these settings.
</para>
</listitem>
<listitem>
<para>
Non-nix-representable ones: These can't be trivially mapped to a subset of Nix syntax. Most generic programming languages are in this group, e.g. bash, since the statement <literal>if true; then echo hi; fi</literal> doesn't have a trivial representation in Nix.
</para>
<para>
Currently there are no fixed conventions for these, but it is common to have a <literal>configFile</literal> option for setting the configuration file path directly. The default value of <literal>configFile</literal> can be an auto-generated file, with convenient options for controlling the contents. For example an option of type <literal>attrsOf str</literal> can be used for representing environment variables which generates a section like <literal>export FOO="foo"</literal>. Often it can also be useful to also include an <literal>extraConfig</literal> option of type <literal>lines</literal> to allow arbitrary text after the autogenerated part of the file.
</para>
</listitem>
</itemizedlist>
</para>
<section xml:id="sec-settings-nix-representable">
<title>Nix-representable Formats (JSON, YAML, TOML, INI, ...)</title>
<para>
By convention, formats like this are handled with a generic <literal>settings</literal> option, representing the full program configuration as a Nix value. The type of this option should represent the format. The most common formats have a predefined type and string generator already declared under <literal>pkgs.formats</literal>:
<variablelist>
<varlistentry>
<term>
<varname>pkgs.formats.json</varname> { }
</term>
<listitem>
<para>
A function taking an empty attribute set (for future extensibility) and returning a set with JSON-specific attributes <varname>type</varname> and <varname>generate</varname> as specified <link linkend='pkgs-formats-result'>below</link>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>pkgs.formats.yaml</varname> { }
</term>
<listitem>
<para>
A function taking an empty attribute set (for future extensibility) and returning a set with YAML-specific attributes <varname>type</varname> and <varname>generate</varname> as specified <link linkend='pkgs-formats-result'>below</link>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>pkgs.formats.ini</varname> { <replaceable>listsAsDuplicateKeys</replaceable> ? false, ... }
</term>
<listitem>
<para>
A function taking an attribute set with values
<variablelist>
<varlistentry>
<term>
<varname>listsAsDuplicateKeys</varname>
</term>
<listitem>
<para>
A boolean for controlling whether list values can be used to represent duplicate INI keys
</para>
</listitem>
</varlistentry>
</variablelist>
It returns a set with INI-specific attributes <varname>type</varname> and <varname>generate</varname> as specified <link linkend='pkgs-formats-result'>below</link>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>pkgs.formats.toml</varname> { }
</term>
<listitem>
<para>
A function taking an empty attribute set (for future extensibility) and returning a set with TOML-specific attributes <varname>type</varname> and <varname>generate</varname> as specified <link linkend='pkgs-formats-result'>below</link>.
</para>
</listitem>
</varlistentry>
</variablelist>

</para>
<para xml:id="pkgs-formats-result">
These functions all return an attribute set with these values:
<variablelist>
<varlistentry>
<term>
<varname>type</varname>
</term>
<listitem>
<para>
A module system type representing a value of the format
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<varname>generate</varname> <replaceable>filename</replaceable> <replaceable>jsonValue</replaceable>
</term>
<listitem>
<para>
A function that can render a value of the format to a file. Returns a file path.
<note>
<para>
This function puts the value contents in the Nix store. So this should be avoided for secrets.
</para>
</note>
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
<example xml:id="ex-settings-nix-representable">
<title>Module with conventional <literal>settings</literal> option</title>
<para>
The following shows a module for an example program that uses a JSON configuration file. It demonstrates how above values can be used, along with some other related best practices. See the comments for explanations.
</para>
<programlisting>
{ options, config, lib, pkgs, ... }:
let
cfg = config.services.foo;
# Define the settings format used for this program
settingsFormat = pkgs.formats.json {};
in {

options.services.foo = {
enable = lib.mkEnableOption "foo service";

settings = lib.mkOption {
# Setting this type allows for correct merging behavior
type = settingsFormat.type;
default = {};
description = ''
Configuration for foo, see
&lt;link xlink:href="https://example.com/docs/foo"/&gt;
for supported values.
'';
};
};

config = lib.mkIf cfg.enable {
# We can assign some default settings here to make the service work by just
# enabling it. We use `mkDefault` for values that can be changed without
# problems
services.foo.settings = {
# Fails at runtime without any value set
log_level = lib.mkDefault "WARN";

# We assume systemd's `StateDirectory` is used, so we require this value,
# therefore no mkDefault
data_path = "/var/lib/foo";

# Since we use this to create a user we need to know the default value at
# eval time
user = lib.mkDefault "foo";
};

environment.etc."foo.json".source =
# The formats generator function takes a filename and the Nix value
# representing the format value and produces a filepath with that value
# rendered in the format
settingsFormat.generate "foo-config.json" cfg.settings;

# We know that the `user` attribute exists because we set a default value
# for it above, allowing us to use it without worries here
users.users.${cfg.settings.user} = {}

# ...
};
}
</programlisting>
</example>
</section>

</section>
1 change: 1 addition & 0 deletions nixos/doc/manual/development/writing-modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -183,4 +183,5 @@ in {
<xi:include href="meta-attributes.xml" />
<xi:include href="importing-modules.xml" />
<xi:include href="replace-modules.xml" />
<xi:include href="settings-options.xml" />
</chapter>
Loading