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

vimPlugins: make usage of luaPackages less confusing #190824

Closed
wants to merge 360 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
360 commits
Select commit Hold shift + click to select a range
6cf0e50
Merge pull request #194218 from fabaff/bump-certifi
SuperSandro2000 Oct 3, 2022
520f8b8
Merge pull request #194211 from flokli/systemd-251.5
flokli Oct 3, 2022
a13e1e6
openssh: 9.0p1 -> 9.1p1
dasJ Oct 4, 2022
2ba40b5
python3Packages.pytest-xdist: Disable fork safety on darwin
mweinelt Oct 4, 2022
101f914
Merge pull request #188170 from helsinki-systems/upd/apparmor
dasJ Oct 4, 2022
de5951f
pythonPackages.pythonRelaxDepsHook: cleanup unpacked folder
FRidh Oct 3, 2022
69ea4c8
pythonPackages.buildPython*: also output dist when using wheel
FRidh Oct 3, 2022
0afebbb
numactl: 2.0.15 -> 2.0.16
r-ryantm Oct 4, 2022
5a8e48c
systemd: don't taint on unmerged /usr
oxalica Oct 4, 2022
f233449
Merge pull request #194308 from mweinelt/pytest-dont-fork-on-darwin
mweinelt Oct 4, 2022
dad24c5
systemd-no-tainted: init as regression test
oxalica Oct 4, 2022
a984d3a
Merge staging-next into staging
github-actions[bot] Oct 4, 2022
9b630a2
Merge pull request #194331 from oxalica/fix/systemd-unmerged-usr
flokli Oct 4, 2022
051228c
ghostscript: use xorg.* packages directly instead of xlibsWrapper ind…
trofi Oct 4, 2022
72911a2
Merge pull request #193502 from phaer/systemd-portabled
flokli Oct 4, 2022
72c02dc
Merge pull request #193886 from NickCao/flac
ck3d Oct 4, 2022
b0d7504
go_1_18: 1.18.6 -> 1.18.7
zowoq Oct 4, 2022
90c083f
gnome2.libgnomeui: use xorg.* packages directly instead of xlibsWrapp…
trofi Oct 4, 2022
d426366
Merge staging-next into staging
github-actions[bot] Oct 5, 2022
1bb7ba0
Merge staging-next into staging
github-actions[bot] Oct 5, 2022
6ea8568
Merge pull request #194488 from qowoz/go118
Mic92 Oct 5, 2022
c49f754
Merge pull request #194423 from r-ryantm/auto-update/numactl
markuskowa Oct 5, 2022
23664c3
linuxHeaders: 5.19 -> 6.0
trofi Oct 3, 2022
6a132cf
Merge pull request #185766 from stephank/fix/libcxxabi
toonn Oct 5, 2022
855f299
Merge staging-next into staging
github-actions[bot] Oct 5, 2022
f42cdfe
cryptsetup: Allow reading tokens from relative path
zhaofengli Sep 23, 2022
570824e
systemd: Wrap in LUKS2 tokens
zhaofengli Sep 23, 2022
19c34ac
systemd/initrd: Add files required by TPM2 and FIDO2 support to the i…
zhaofengli Sep 23, 2022
9e9637e
nixos/tests/systemd-initrd-luks-tpm2: init
JJJollyjim Sep 23, 2022
21bbef9
nixos/luksroot: Reword message on FIDO2 support with systemd stage 1
zhaofengli Sep 23, 2022
b9b4548
systemd/initrd: Add TPM modules into initrd
zhaofengli Sep 23, 2022
78f929c
nixos/tests/systemd-initrd-luks-fido2: init
oxalica Oct 3, 2022
4f6e998
Merge #191724: cc-wrapper: remove duplicate include flags
vcunat Oct 5, 2022
8a69058
Merge staging-next into staging
github-actions[bot] Oct 5, 2022
d89b200
Merge pull request #193636 from crabtw/staging
7c6f434c Oct 5, 2022
711191c
Merge pull request #186575 from stephank/fix/compiler-rt-builtins
7c6f434c Oct 5, 2022
a6e5efa
Merge staging-next into staging
github-actions[bot] Oct 6, 2022
cf7be5d
git: 2.37.3 -> 2.38.0
zowoq Oct 3, 2022
0cb28ea
Merge staging-next into staging
github-actions[bot] Oct 6, 2022
3ed0faf
x264: pull upstream parallel build fix
trofi Sep 17, 2022
ee71ac6
Merge pull request #185656 from stephank/feat/cctools
toonn Oct 6, 2022
2e93e80
Merge pull request #194712 from trofi/x264-parallel-fix
thiagokokada Oct 6, 2022
75ffef8
pkgsMusl.texinfoInteractive: fix build (#193919)
yu-re-ka Oct 6, 2022
7dc2d52
Merge staging-next into staging
github-actions[bot] Oct 6, 2022
82d5854
bundler: 2.3.22 -> 2.3.23
anthonyroussel Oct 6, 2022
c5e2f3c
ruby: move towards ruby 3
raboof Sep 25, 2022
da40c28
Merge pull request #194025 from zhaofengli/mesa-radv-overrides
lovesegfault Oct 6, 2022
0b4912d
Merge staging-next into staging
github-actions[bot] Oct 6, 2022
013a2f4
kexec-tools: 2.0.23 -> 2.0.25
felixsinger Oct 5, 2022
b78bf08
sord: unstable-2021-01-12 -> 0.16.14
fogti Sep 8, 2022
dcf7a5e
netbsd: Adapt to BSD-common infra changes for FreeBSD
Ericson2314 Oct 6, 2022
e3137f7
netbsd.install: Use `writeShellScript`
Ericson2314 Oct 6, 2022
044163d
bsd: `BSD_PATH` rename to `COMPONENT_PATH`
Ericson2314 Oct 6, 2022
9a5fa3b
Merge pull request #194698 from Ericson2314/freebsd-prep
Ericson2314 Oct 6, 2022
f470c10
Merge pull request #194760 from anthonyroussel/bundler_2_3_23
marsam Oct 6, 2022
d37e1ef
p11-kit: add darwin tls ca store path
lilyinstarlight Oct 7, 2022
7a2dd2e
Merge pull request #192860 from raboof/ruby-move-towards-3.1
marsam Oct 7, 2022
405db07
Merge pull request #167047 from helsinki-systems/drop/postgresql10
marsam Oct 7, 2022
f3500ee
Merge staging-next into staging
github-actions[bot] Oct 7, 2022
9069a06
libxml2: enable strictDeps and enable pythonSupport when cross
Artturin Oct 7, 2022
8e43dec
libxslt: enable strictDeps and enable pythonSupport when cross
Artturin Oct 7, 2022
98715e1
lib.closePropagation: Remove the quadratic behavior in lib.closePropa…
guibou Oct 4, 2022
a2cd604
nixos/doc: add release-notes entries for lib.closePropagation changes
guibou Oct 5, 2022
73d9371
Merge pull request #194395 from helsinki-systems/upd/openssh
dasJ Oct 7, 2022
09226ff
nixosOptionsDoc: buildInputs -> nativeBuildInputs
Artturin Oct 7, 2022
ce4790a
Merge pull request #194782 from felixsinger/pkgs/kexec-tools/update
marsam Oct 7, 2022
34c73b3
Merge pull request #194391 from guibou/fast_haskell_ghc_with_packages
lovesegfault Oct 7, 2022
af823e4
Merge staging-next into staging
github-actions[bot] Oct 7, 2022
e903932
libical: 3.0.14 -> 3.0.15
r-ryantm Oct 7, 2022
e96ef86
libical: unbreak on darwin
marsam Oct 7, 2022
21e01b2
Merge staging-next into staging
github-actions[bot] Oct 8, 2022
a5525ca
Merge staging-next into staging
github-actions[bot] Oct 8, 2022
abeccdf
Merge pull request #194110 from trofi/pulseaudio-without-xlibsWrapper
trofi Oct 8, 2022
2cacd68
Merge pull request #194500 from trofi/gnome2.libgnomeui-without-xlibs…
trofi Oct 8, 2022
790e625
Merge pull request #194462 from trofi/ghostscript-without-xlibsWrapper
trofi Oct 8, 2022
7d7030c
Merge pull request #193871 from trofi/FORTIFY-unset-and-set
trofi Oct 8, 2022
cdfb8a3
Merge staging-next into staging
github-actions[bot] Oct 8, 2022
f9f82fd
Merge pull request #194941 from Artturin/libxml2strict
Artturin Oct 8, 2022
cfe59ea
sigtool: 0.1.2 → 0.1.3
rrbutani Oct 7, 2022
50515b6
Merge staging-next into staging
github-actions[bot] Oct 8, 2022
c524d70
Merge pull request #195107 from rrbutani/feature/sigtool-0.1.3
marsam Oct 8, 2022
9104c83
Merge staging-next into staging
github-actions[bot] Oct 9, 2022
1548734
Merge pull request #194981 from r-ryantm/auto-update/libical
marsam Oct 9, 2022
c4bf5cb
Merge staging-next into staging
github-actions[bot] Oct 9, 2022
e5b5136
cryptsetup: Remove ruby build dependency from NixOS
roberth Sep 23, 2022
e56fb06
cryptsetup: Add tests.nixos
roberth Sep 23, 2022
2623fc4
lua: add back Darwin makeBinaryWrapper fix
stephank Oct 4, 2022
49b5c1f
vimPlugins.plenary-nvim: remove stale comment
ilkecan Sep 29, 2022
9314243
luaPackages.gitsigns-nvim: remove noop override
ilkecan Sep 29, 2022
448bb9b
vimUtils.buildVimPlugin: prevent building twice
ilkecan Sep 29, 2022
ef30dee
buildVimPlugin: deprecate `rtp` attribute
ilkecan Sep 29, 2022
3e675d0
Merge staging-next into staging
github-actions[bot] Oct 9, 2022
ff30c89
glibc: make crypt support optional
mweinelt Jul 16, 2022
7c29dcb
libxcrypt: use tarball src, prune dependencies
mweinelt Jul 17, 2022
a369108
perl: allow building without libcrypt
mweinelt Jul 20, 2022
e36bd3c
libxcrypt: build using perl without libcrypt support
mweinelt Jul 20, 2022
3624ac2
perl: fix build with libxcrypt
fpletz Sep 26, 2022
0097f57
gcc11: fix build with libxcrypt
fpletz Sep 24, 2022
495e650
llvmPackages_11.compiler-rt: fix build with libxcrypt
fpletz Sep 27, 2022
194d852
cpython: fix build with libxcrypt
fpletz Sep 24, 2022
872c524
cyrus_sasl: fix build with libxcrypt
fpletz Sep 24, 2022
44a73d0
libxslt: fix build with libxcrypt
fpletz Sep 24, 2022
2c2fde9
apparmor: fix build with libxcrypt
fpletz Sep 24, 2022
5df544a
pam: enable libxcrypt by default
fpletz Sep 24, 2022
7442422
shadow: fix build with libxcrypt
fpletz Sep 24, 2022
f6011b2
systemd: fix build with libxcrypt
fpletz Sep 24, 2022
f9090d5
libxcrypt: fix build with musl
fpletz Sep 26, 2022
32e7482
nixos/tests/shadow: new hashes support with libxcrypt
fpletz Sep 26, 2022
e8748e2
accountsservice: fix build with libxcrypt
fpletz Sep 27, 2022
dd331ad
openldap: fix build with libxcrypt
fpletz Sep 27, 2022
ae4e703
tdb: fix build with libxcrypt
fpletz Sep 27, 2022
77a7b43
aprutil: fix build with libxcrypt
fpletz Sep 27, 2022
3028bec
apacheHttpd: fix build with libxcrypt
fpletz Sep 27, 2022
cc9be15
alpine: fix build with libxcrypt
fpletz Sep 27, 2022
5b572c5
talloc: fix build with libxcrypt
fpletz Sep 27, 2022
52f2785
vsftpd: fix build with libxcrypt
fpletz Sep 27, 2022
c1da199
opensmtpd: fix build with libxcrypt
fpletz Sep 27, 2022
057ae3d
llvmPackage_14.compiler-rt: fix build with libxcrypt
fpletz Sep 27, 2022
be9bc07
screen: fix build with libxcrypt
mweinelt Sep 27, 2022
43327d2
pppd: fix build with libxcrypt
mweinelt Sep 27, 2022
728c97f
pppd: inherit nixos test into passthru.tests
mweinelt Sep 27, 2022
fd94457
open-vm-tools: fix build with libxcrypt
mweinelt Sep 27, 2022
d438cee
conserver: fix build with libxcrypt
fpletz Sep 29, 2022
71dad51
dante: fix build with libxcrypt
fpletz Sep 29, 2022
c82e7ee
hiawatha: fix build with libxcrypt
fpletz Sep 29, 2022
5c34a53
ircdHybrid: fix build with libxcrypt
fpletz Sep 29, 2022
ce67773
libcli: fix build with libxcrypt
fpletz Sep 29, 2022
f51c3fd
ldapvi: fix build with libxcrypt
mweinelt Sep 29, 2022
d017316
atheme: fix build with libxcrypt
mweinelt Sep 29, 2022
dbf9333
xorg.xdm: fix build with libxcrypt
mweinelt Sep 29, 2022
0465c23
wmic-bin: fix build with libxcrypt
mweinelt Sep 29, 2022
555d39b
libreswan: fix build with libxcrypt
mweinelt Sep 29, 2022
167544c
tengine: fix build with libxcrypt
mweinelt Sep 29, 2022
3575e57
libguestfs: fix build with libxcrypt
fpletz Sep 29, 2022
ec31b96
leafnode: fix build with libxcrypt
fpletz Sep 29, 2022
84eda8b
lsh: fix build with libxcrypt
fpletz Sep 29, 2022
31e5ad8
pgpool: fix build with libxcrypt
fpletz Sep 29, 2022
47945f2
groonga: fix build with libxcrypt
fpletz Sep 29, 2022
da15c9c
mailutils: fix build with libxcrypt
fpletz Sep 29, 2022
2a7df1a
popa3d: fix build with libxcrypt
fpletz Sep 29, 2022
870b0eb
tcsh: fix build with libxcrypt
mweinelt Sep 29, 2022
c7b0317
swiProlog: fix build with libxcrypt
mweinelt Sep 29, 2022
7f0e9f0
sumo: fix build with libxcrypt
mweinelt Sep 29, 2022
eb2ed86
toybox: fix build with libxcrypt
mweinelt Sep 29, 2022
aac6de8
gcc10: fix build with libxcrypt
mweinelt Sep 29, 2022
21c552e
gcc12: fix build with libxcrypt
mweinelt Sep 29, 2022
126319f
xrootd: fix build with libxcrypt
fpletz Sep 29, 2022
897f5b2
pounce: fix build with libxcrypt
fpletz Sep 29, 2022
2939285
uwsgi: fix build with libxcrypt
fpletz Sep 29, 2022
a1c07a6
super: fix build with libxcrypt
fpletz Sep 29, 2022
e1f8bfb
policycoreutils: fix build with libxcrypt
fpletz Sep 29, 2022
77c50b0
pies: fix build with libxcrypt
fpletz Sep 29, 2022
eee1cec
partimage: fix build with libxcrypt
fpletz Sep 29, 2022
55a5763
otpw: fix build with libxcrypt
fpletz Sep 29, 2022
f9df47f
zeroc-ice: fix build with libxcrypt
fpletz Sep 30, 2022
2b899ee
luaPackages.luaposix: fix build with libxcrypt
fpletz Sep 30, 2022
fe91064
monit: fix build with libxcrypt
fpletz Sep 30, 2022
e963dde
libfilezilla: fix build with libxcrypt
fpletz Sep 30, 2022
2e7e473
libsigrokdecode: fix build with libxcrypt
fpletz Sep 30, 2022
67408de
hylafaxplus: fix build with libxcrypt
fpletz Sep 30, 2022
f0f14f1
dropbear: fix build with libxcrypt
fpletz Sep 30, 2022
64e160c
kodi: fix build with libxcrypt
fpletz Sep 30, 2022
24bc454
pure-ftpd: fix build with libxcrypt
fpletz Sep 30, 2022
31f1f36
cernlib: fix build with libxcrypt
fpletz Sep 30, 2022
e33af60
bozohttpd: fix build with libxcrypt
fpletz Sep 30, 2022
519b8c8
sawfish: fix build with libxcrypt
fpletz Sep 30, 2022
845ae8e
qnial: fix build with libxcrypt
fpletz Sep 30, 2022
09597d4
unicon-lang: fix build with libxcrypt
fpletz Sep 30, 2022
15f6c0a
gvm-libs: fix build with libxcrypt
fpletz Sep 30, 2022
8dde32e
snis: fix build with libxcrypt
fpletz Sep 30, 2022
125ec34
slock: fix build with libxcrypt
fpletz Sep 30, 2022
fd1bcb1
dico: fix build with libxcrypt
fpletz Sep 30, 2022
ccba311
dcap: fix build with libxcrypt
fpletz Sep 30, 2022
57f4391
haproxy: fix build with libxcrypt
fpletz Sep 30, 2022
cfc636c
srelay: fix build with libxcrypt
fpletz Sep 30, 2022
58bbfeb
nntp-proxy: fix build with libxcrypt
fpletz Sep 30, 2022
7b33ea4
shellhub-agent: fix build with libxcrypt
fpletz Sep 30, 2022
9fb94a8
pam_mysql: fix build with libxcrypt
fpletz Sep 30, 2022
94e54c6
pam_pgsql: fix build with libxcrypt
fpletz Sep 30, 2022
3edcff9
sysvinit: fix build with libxcrypt
fpletz Sep 30, 2022
fc4f68d
mokutil: fix build with libxcrypt
fpletz Sep 30, 2022
c755643
epic5: fix build with libxcrypt
fpletz Sep 30, 2022
bcdde95
kermit: fix build with libxcrypt
fpletz Sep 30, 2022
6264d94
root5: fix build with libxcrypt
fpletz Sep 30, 2022
2c10e08
root: fix build with libxcrypt
fpletz Sep 30, 2022
9430efb
pleroma: fix build with libxcrypt
fpletz Sep 30, 2022
3d6b548
sogo: fix build with libxcrypt
fpletz Sep 30, 2022
fb591b9
cde: fix build with libxcrypt
fpletz Sep 30, 2022
993839a
bftpd: fix build with libxcrypt
fpletz Sep 30, 2022
f64f770
llvmPackages_13.compiler-rt: fix build with libxcrypt
mweinelt Oct 1, 2022
efd944c
llvmPackages_12.compiler-rt: fix build with libxcrypt
mweinelt Oct 1, 2022
716a315
llvmPackages_10.compiler-rt: fix build with libxcrypt
mweinelt Oct 1, 2022
842a2c2
llvmPackages_rocm.llvm: fix build with libxcrypt
mweinelt Oct 1, 2022
284396c
haskellPackages.crypt-sha512: fix build with libxcrypt
mweinelt Oct 2, 2022
7670059
freeswitch: fix build with libxcrypt
mweinelt Oct 3, 2022
6f1812a
haskellPackages.Unixutils: fix build with libxcrypt
mweinelt Oct 3, 2022
3f4de6d
thttpd: fix build with libxcrypt
mweinelt Oct 3, 2022
2d19e7c
haskellPackages.nano-cryptr: fix build with libxcrypt
mweinelt Oct 3, 2022
9001f0d
haskellPackages.xmonad-utils: fix build with libxcrypt
mweinelt Oct 3, 2022
e02766b
ocserv: fix build with libxcrypt
mweinelt Oct 3, 2022
2b83e04
ladybird: fix build with libxcrypt
mweinelt Oct 3, 2022
0f7ef68
cdesktopenv: fix build with libxcrypt
mweinelt Oct 3, 2022
01f94c2
wiringpi: fix build with libxcrypt
mweinelt Oct 3, 2022
3cedef1
swift: fix build with libxcrypt
mweinelt Oct 3, 2022
73ffee8
util-linux: pass libxcrypt, so sulogin gets built
mweinelt Oct 4, 2022
1b8d6d3
python3Packages.twisted: Disable failing crypt test
mweinelt Oct 6, 2022
322b510
python3Packages.pillow{,-simd}: fix build with libxcrypt
mweinelt Oct 7, 2022
338d0cc
libxcrypt: Fix static build by using perl from buildPackages
mweinelt Oct 8, 2022
195aa58
boost: fix build with enablePython by passing libxcrypt
mweinelt Oct 8, 2022
9b734d1
liblc3: init at 1.0.1
jansol Oct 4, 2022
96dd839
pipewire: 0.3.58 -> 0.3.59
jansol Oct 4, 2022
bdb347b
dbus: 1.14.0 -> 1.14.4
mweinelt Oct 9, 2022
3b37795
Merge staging-next into staging
github-actions[bot] Oct 9, 2022
829f895
Merge pull request #181764 from mweinelt/glibc-without-libcrypt
mweinelt Oct 9, 2022
ed349ce
Merge remote-tracking branch 'origin/staging-next' into staging
mweinelt Oct 9, 2022
4e58b28
Merge pull request #195264 from mweinelt/dbus-1.14.4
mweinelt Oct 9, 2022
e92f9b3
Merge staging-next into staging
github-actions[bot] Oct 10, 2022
41c0964
autoPatchelfHook: fix turning `[ "*" ]` into bash array
adisbladis Oct 10, 2022
01535ff
autoPatchelfHook: support glob patterns
adisbladis Oct 10, 2022
579766d
Merge staging-next into staging
github-actions[bot] Oct 10, 2022
039e1a0
avahi: add patch for CVE-2021-3468
yorickvP Oct 10, 2022
8d32772
Merge staging-next into staging
github-actions[bot] Oct 10, 2022
8c7813e
Merge pull request #195331 from yorickvP/avahi-fix
lovesegfault Oct 10, 2022
0b21851
Merge pull request #195306 from adisbladis/autopatchelf-globs
lovesegfault Oct 10, 2022
f5fb6e5
Merge pull request #194496 from jansol/pipewire
lovesegfault Oct 10, 2022
e3419ce
Merge master into staging-next
github-actions[bot] Oct 11, 2022
5d957f3
Merge staging-next into staging
github-actions[bot] Oct 11, 2022
8918d77
libxcrypt: divert manpages into man output
mweinelt Oct 9, 2022
9c6406d
libxcrypt: add passthru tests
mweinelt Oct 9, 2022
5f7f739
libxcrypt: adopt
mweinelt Oct 9, 2022
161b9eb
Merge master into staging-next
github-actions[bot] Oct 11, 2022
aabca3e
Merge staging-next into staging
github-actions[bot] Oct 11, 2022
2085ea1
Merge pull request #195271 from mweinelt/libxcrypt-continued
mweinelt Oct 11, 2022
4144e4b
Merge pull request #194038 from sternenseemann/harfbuzz-5.2.0
mweinelt Oct 11, 2022
0c743ca
openssl: 3.0.5 -> 3.0.6
ajs124 Oct 11, 2022
c3ddd95
luarocks{,-nix}: add necessary programs to PATH
figsoda Oct 11, 2022
0bf7095
openssl: 1.1.1q -> 1.1.1r
ajs124 Oct 11, 2022
9247a66
Revert "krb5: use openssl_1_1"
ajs124 Oct 11, 2022
071773d
ibm-sw-tpm2: 1661 -> 1682
ajs124 Oct 11, 2022
c4849d4
Revert "ibm-sw-tpm2: Fix build on RISC-V"
ajs124 Oct 11, 2022
3b9c30a
Revert "ibm-sw-tpm2: Pin OpenSSL 1.1.1"
ajs124 Oct 11, 2022
1a0c8a4
Merge pull request #195539 from helsinki-systems/upd/openssl_1_1
mweinelt Oct 11, 2022
3ff0a8f
Merge pull request #189676 from zhaofengli/cryptenroll
flokli Oct 11, 2022
4828dc9
Merge remote-tracking branch 'helsinki-systems/upd/openssl' into staging
mweinelt Oct 12, 2022
cbea92c
Merge pull request #195584 from helsinki-systems/upd/ibm-sw-tpm2
ajs124 Oct 12, 2022
e264d5c
muse: fixup build after `sord` update
vcunat Oct 12, 2022
d7ee639
Merge #194796: sord: unstable-2021-01-12 -> 0.16.14
vcunat Oct 12, 2022
fd4c573
Merge pull request #194844 from lilyinstarlight/fix/p11-kit-macos
rnhmjoj Oct 12, 2022
9d24c1f
linux: XFS_ONLINE_SCRUB=y (#195266)
yu-re-ka Oct 12, 2022
91a3f1a
vimPlugins: make usage of luaPackages less confusing
teto Sep 11, 2022
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
31 changes: 30 additions & 1 deletion lib/deprecated.nix
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,36 @@ rec {
}
);

closePropagation = list: (uniqList {inputList = (innerClosePropagation [] list);});
closePropagationSlow = list: (uniqList {inputList = (innerClosePropagation [] list);});

# This is an optimisation of lib.closePropagation which avoids the O(n^2) behavior
# Using a list of derivations, it generates the full closure of the propagatedXXXBuildInputs
# The ordering / sorting / comparison is done based on the `outPath`
# attribute of each derivation.
# On some benchmarks, it performs up to 15 times faster than lib.closePropagation.
# See https://github.com/NixOS/nixpkgs/pull/194391 for details.
closePropagationFast = list:
builtins.map (x: x.val) (builtins.genericClosure {
startSet = builtins.map (x: {
key = x.outPath;
val = x;
}) (builtins.filter (x: x != null) list);
operator = item:
if !builtins.isAttrs item.val then
[ ]
else
builtins.concatMap (x:
if x != null then [{
key = x.outPath;
val = x;
}] else
[ ]) ((item.val.propagatedBuildInputs or [ ])
++ (item.val.propagatedNativeBuildInputs or [ ]));
});

closePropagation = if builtins ? genericClosure
then closePropagationFast
else closePropagationSlow;

# calls a function (f attr value ) for each record item. returns a list
mapAttrsFlatten = f: r: map (attr: f attr r.${attr}) (attrNames r);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ containers.database =
{ config =
{ config, pkgs, ... }:
{ services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_10;
services.postgresql.package = pkgs.postgresql_14;
};
};
```
Expand Down
2 changes: 1 addition & 1 deletion nixos/doc/manual/configuration/config-file.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Packages
pkgs.emacs
];

services.postgresql.package = pkgs.postgresql_10;
services.postgresql.package = pkgs.postgresql_14;
```

The latter option definition changes the default PostgreSQL package
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ containers.database =
{ config =
{ config, pkgs, ... }:
{ services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_10;
services.postgresql.package = pkgs.postgresql_14;
};
};
</programlisting>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ environment.systemPackages =
pkgs.emacs
];

services.postgresql.package = pkgs.postgresql_10;
services.postgresql.package = pkgs.postgresql_14;
</programlisting>
<para>
The latter option definition changes the default PostgreSQL
Expand Down
25 changes: 25 additions & 0 deletions nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,15 @@
certificates by default.
</para>
</listitem>
<listitem>
<para>
Improved performances of
<literal>lib.closePropagation</literal> which was previously
quadratic. This is used in e.g.
<literal>ghcWithPackages</literal>. Please see backward
incompatibilities notes below.
</para>
</listitem>
<listitem>
<para>
Cinnamon has been updated to 5.4. While at it, the cinnamon
Expand Down Expand Up @@ -459,6 +468,16 @@
future Git update without notice.
</para>
</listitem>
<listitem>
<para>
<literal>openssh</literal> was updated to version 9.1,
disabling the generation of DSA keys when using
<literal>ssh-keygen -A</literal> as they are insecure. Also,
<literal>SetEnv</literal> directives in
<literal>ssh_config</literal> and
<literal>sshd_config</literal> are now first-match-wins
</para>
</listitem>
<listitem>
<para>
<literal>bsp-layout</literal> no longer uses the command
Expand Down Expand Up @@ -565,6 +584,12 @@
notes</link>.
</para>
</listitem>
<listitem>
<para>
<literal>lib.closePropagation</literal> now needs that all
gathered sets have an <literal>outPath</literal> attribute.
</para>
</listitem>
<listitem>
<para>
lemmy module option
Expand Down
6 changes: 6 additions & 0 deletions nixos/doc/manual/release-notes/rl-2211.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ In addition to numerous new and upgraded packages, this release has the followin

- Perl has been updated to 5.36, and its core module `HTTP::Tiny` was patched to verify SSL/TLS certificates by default.

- Improved performances of `lib.closePropagation` which was previously quadratic. This is used in e.g. `ghcWithPackages`. Please see backward incompatibilities notes below.

- Cinnamon has been updated to 5.4. While at it, the cinnamon module now defaults to
blueman as bluetooth manager and slick-greeter as lightdm greeter to match upstream.

Expand Down Expand Up @@ -153,6 +155,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).

- The `fetchgit` fetcher now uses [cone mode](https://www.git-scm.com/docs/git-sparse-checkout/2.37.0#_internalscone_mode_handling) by default for sparse checkouts. [Non-cone mode](https://www.git-scm.com/docs/git-sparse-checkout/2.37.0#_internalsnon_cone_problems) can be enabled by passing `nonConeMode = true`, but note that non-cone mode is deprecated and this option may be removed alongside a future Git update without notice.

- `openssh` was updated to version 9.1, disabling the generation of DSA keys when using `ssh-keygen -A` as they are insecure. Also, `SetEnv` directives in `ssh_config` and `sshd_config` are now first-match-wins

- `bsp-layout` no longer uses the command `cycle` to switch to other window layouts, as it got replaced by the commands `previous` and `next`.

- The Barco ClickShare driver/client package `pkgs.clickshare-csc1` and the option `programs.clickshare-csc1.enable` have been removed,
Expand Down Expand Up @@ -186,6 +190,8 @@ Available as [services.patroni](options.html#opt-services.patroni.enable).

- `teleport` has been upgraded to major version 10. Please see upstream [upgrade instructions](https://goteleport.com/docs/ver/10.0/management/operations/upgrading/) and [release notes](https://goteleport.com/docs/ver/10.0/changelog/#1000).

- `lib.closePropagation` now needs that all gathered sets have an `outPath` attribute.

- lemmy module option `services.lemmy.settings.database.createLocally`
moved to `services.lemmy.database.createLocally`.

Expand Down
2 changes: 1 addition & 1 deletion nixos/lib/make-options-doc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ in rec {

optionsJSON = pkgs.runCommand "options.json"
{ meta.description = "List of NixOS options in JSON format";
buildInputs = [
nativeBuildInputs = [
pkgs.brotli
(let
self = (pkgs.python3Minimal.override {
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/config/users-groups.nix
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ in {
value = "[a-zA-Z0-9/+.-]+";
options = "${id}(=${value})?(,${id}=${value})*";
scheme = "${id}(${sep}${options})?";
content = "${base64}${sep}${base64}";
content = "${base64}${sep}${base64}(${sep}${base64})?";
mcf = "^${sep}${scheme}${sep}${content}$";
in
if (allowsLogin user.hashedPassword
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"context.properties": {
"log.level": 0
},
"context.spa-libs": {
"audio.convert.*": "audioconvert/libspa-audioconvert",
"support.*": "support/libspa-support"
},
"context.modules": [
{
"name": "libpipewire-module-rt",
"args": {},
"flags": [
"ifexists",
"nofail"
]
},
{
"name": "libpipewire-module-protocol-native"
},
{
"name": "libpipewire-module-client-node"
},
{
"name": "libpipewire-module-adapter"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"context.properties": {},
"context.spa-libs": {
"audio.convert.*": "audioconvert/libspa-audioconvert",
"support.*": "support/libspa-support"
},
"context.modules": [
{
"name": "libpipewire-module-rt",
"args": {
"nice.level": -11
},
"flags": [
"ifexists",
"nofail"
]
},
{
"name": "libpipewire-module-protocol-native"
},
{
"name": "libpipewire-module-client-node"
},
{
"name": "libpipewire-module-adapter"
},
{
"name": "libpipewire-module-avb",
"args": {}
}
],
"context.exec": [],
"stream.properties": {},
"avb.properties": {
"ifname": "enp3s0",
"vm.overrides": {}
}
}
6 changes: 4 additions & 2 deletions nixos/modules/system/boot/luksroot.nix
Original file line number Diff line number Diff line change
Expand Up @@ -905,9 +905,11 @@ in
{ assertion = config.boot.initrd.systemd.enable -> !luks.gpgSupport;
message = "systemd stage 1 does not support GPG smartcards yet.";
}
# TODO
{ assertion = config.boot.initrd.systemd.enable -> !luks.fido2Support;
message = "systemd stage 1 does not support FIDO2 yet.";
message = ''
systemd stage 1 does not support configuring FIDO2 unlocking through `boot.initrd.luks.devices.<name>.fido2`.
Use systemd-cryptenroll(1) to configure FIDO2 support.
'';
}
# TODO
{ assertion = config.boot.initrd.systemd.enable -> !luks.yubikeySupport;
Expand Down
3 changes: 3 additions & 0 deletions nixos/modules/system/boot/systemd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ let
] ++ optionals cfg.package.withHostnamed [
"dbus-org.freedesktop.hostname1.service"
"systemd-hostnamed.service"
] ++ optionals cfg.package.withPortabled [
"dbus-org.freedesktop.portable1.service"
"systemd-portabled.service"
] ++ [
"systemd-exit.service"
"systemd-update-done.service"
Expand Down
16 changes: 15 additions & 1 deletion nixos/modules/system/boot/systemd/initrd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,10 @@ in {
config = mkIf (config.boot.initrd.enable && cfg.enable) {
system.build = { inherit initialRamdisk; };

boot.initrd.availableKernelModules = [ "autofs4" ]; # systemd needs this for some features
boot.initrd.availableKernelModules = [
"autofs4" # systemd needs this for some features
"tpm-tis" "tpm-crb" # systemd-cryptenroll
];

boot.initrd.systemd = {
initrdBin = [pkgs.bash pkgs.coreutils cfg.package.kmod cfg.package] ++ config.system.fsPackages;
Expand Down Expand Up @@ -403,6 +406,17 @@ in {

# so NSS can look up usernames
"${pkgs.glibc}/lib/libnss_files.so.2"
] ++ optionals cfg.package.withCryptsetup [
# tpm2 support
"${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-tpm2.so"
pkgs.tpm2-tss

# fido2 support
"${cfg.package}/lib/cryptsetup/libcryptsetup-token-systemd-fido2.so"
"${pkgs.libfido2}/lib/libfido2.so.1"

# the unwrapped systemd-cryptsetup executable
"${cfg.package}/lib/systemd/.systemd-cryptsetup-wrapped"
] ++ jobScripts;

targets.initrd.aliases = ["default.target"];
Expand Down
2 changes: 2 additions & 0 deletions nixos/modules/system/boot/systemd/logind.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ in
"dbus-org.freedesktop.import1.service"
] ++ optionals config.systemd.package.withMachined [
"dbus-org.freedesktop.machine1.service"
] ++ optionals config.systemd.package.withPortabled [
"dbus-org.freedesktop.portable1.service"
] ++ [
"dbus-org.freedesktop.login1.service"
"[email protected]"
Expand Down
1 change: 1 addition & 0 deletions nixos/modules/system/boot/systemd/tmpfiles.nix
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ in

ln -s "${systemd}/example/tmpfiles.d/home.conf"
ln -s "${systemd}/example/tmpfiles.d/journal-nocow.conf"
ln -s "${systemd}/example/tmpfiles.d/portables.conf"
ln -s "${systemd}/example/tmpfiles.d/static-nodes-permissions.conf"
ln -s "${systemd}/example/tmpfiles.d/systemd.conf"
ln -s "${systemd}/example/tmpfiles.d/systemd-nologin.conf"
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/nixos-containers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ in
{ config =
{ config, pkgs, ... }:
{ services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql_10;
services.postgresql.package = pkgs.postgresql_14;

system.stateVersion = "21.05";
};
Expand Down
4 changes: 4 additions & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
Expand Up @@ -596,8 +596,10 @@ in {
systemd-cryptenroll = handleTest ./systemd-cryptenroll.nix {};
systemd-escaping = handleTest ./systemd-escaping.nix {};
systemd-initrd-btrfs-raid = handleTest ./systemd-initrd-btrfs-raid.nix {};
systemd-initrd-luks-fido2 = handleTest ./systemd-initrd-luks-fido2.nix {};
systemd-initrd-luks-keyfile = handleTest ./systemd-initrd-luks-keyfile.nix {};
systemd-initrd-luks-password = handleTest ./systemd-initrd-luks-password.nix {};
systemd-initrd-luks-tpm2 = handleTest ./systemd-initrd-luks-tpm2.nix {};
systemd-initrd-modprobe = handleTest ./systemd-initrd-modprobe.nix {};
systemd-initrd-shutdown = handleTest ./systemd-shutdown.nix { systemdStage1 = true; };
systemd-initrd-simple = handleTest ./systemd-initrd-simple.nix {};
Expand All @@ -609,8 +611,10 @@ in {
systemd-networkd-dhcpserver-static-leases = handleTest ./systemd-networkd-dhcpserver-static-leases.nix {};
systemd-networkd-ipv6-prefix-delegation = handleTest ./systemd-networkd-ipv6-prefix-delegation.nix {};
systemd-networkd-vrf = handleTest ./systemd-networkd-vrf.nix {};
systemd-no-tainted = handleTest ./systemd-no-tainted.nix {};
systemd-nspawn = handleTest ./systemd-nspawn.nix {};
systemd-oomd = handleTest ./systemd-oomd.nix {};
systemd-portabled = handleTest ./systemd-portabled.nix {};
systemd-shutdown = handleTest ./systemd-shutdown.nix {};
systemd-timesyncd = handleTest ./systemd-timesyncd.nix {};
systemd-misc = handleTest ./systemd-misc.nix {};
Expand Down
30 changes: 30 additions & 0 deletions nixos/tests/shadow.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ let
password2 = "helloworld";
password3 = "bazqux";
password4 = "asdf123";
hashed_bcrypt = "$2b$05$8xIEflrk2RxQtcVXbGIxs.Vl0x7dF1/JSv3cyX6JJt0npzkTCWvxK"; # fnord
hashed_yeshash = "$y$j9T$d8Z4EAf8P1SvM/aDFbxMS0$VnTXMp/Hnc7QdCBEaLTq5ZFOAFo2/PM0/xEAFuOE88."; # fnord
in import ./make-test-python.nix ({ pkgs, ... }: {
name = "shadow";
meta = with pkgs.lib.maintainers; { maintainers = [ nequissimus ]; };
Expand All @@ -27,6 +29,16 @@ in import ./make-test-python.nix ({ pkgs, ... }: {
password = password4;
shell = pkgs.bash;
};
users.berta = {
isNormalUser = true;
hashedPassword = hashed_bcrypt;
shell = pkgs.bash;
};
users.yesim = {
isNormalUser = true;
hashedPassword = hashed_yeshash;
shell = pkgs.bash;
};
};
};

Expand Down Expand Up @@ -115,5 +127,23 @@ in import ./make-test-python.nix ({ pkgs, ... }: {
shadow.wait_until_succeeds("pgrep login")
shadow.send_chars("${password2}\n")
shadow.wait_until_tty_matches("5", "login:")

with subtest("check alternate password hashes"):
shadow.send_key("alt-f6")
shadow.wait_until_succeeds("[ $(fgconsole) = 6 ]")
for u in ["berta", "yesim"]:
shadow.wait_for_unit("[email protected]")
shadow.wait_until_succeeds("pgrep -f 'agetty.*tty6'")
shadow.wait_until_tty_matches("6", "login: ")
shadow.send_chars(f"{u}\n")
shadow.wait_until_tty_matches("6", f"login: {u}")
shadow.wait_until_succeeds("pgrep login")
shadow.sleep(2)
shadow.send_chars("fnord\n")
shadow.send_chars(f"whoami > /tmp/{u}\n")
shadow.wait_for_file(f"/tmp/{u}")
print(shadow.succeed(f"cat /tmp/{u}"))
assert u in shadow.succeed(f"cat /tmp/{u}")
shadow.send_chars("logout\n")
'';
})
Loading