mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
047bd73c5e
using readFile instead of fileContents (or using indented strings) can leave a trailing newline that causes build errors in systemd units and has previously caused runtime errors in wireguard scripts. use singleLineStr to strip a trailing newline if it exists, and to fail if more than one is present. |
||
---|---|---|
.. | ||
basic.nix | ||
default.nix | ||
generated.nix | ||
make-peer.nix | ||
namespaces.nix | ||
snakeoil-keys.nix | ||
wg-quick.nix |