1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

.version: remove final newline

When reading the `nixpkgs` version from `.version` you always have a
`\n` at the end because of the final newline.

This issue exists since b7d15ed and had to be fixed several times
according to the history of `.version`.

Furthermore @Infinisil recommended I explicitly configured
`.editorconfig` to avoid newlines in `.version`.
This commit is contained in:
Maximilian Bosch 2018-04-24 07:10:23 +02:00
parent a3a2ae65d7
commit e109784f84
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
2 changed files with 5 additions and 1 deletions

View file

@ -26,3 +26,7 @@ indent_size = 4
# Match diffs, avoid to trim trailing whitespace
[*.{diff,patch}]
trim_trailing_whitespace = false
# https://github.com/NixOS/nixpkgs/pull/39336#discussion_r183387754
[.version]
insert_final_newline = false

View file

@ -1 +1 @@
18.09
18.09