Browse Source

.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`.
nixos-19.03
Maximilian Bosch 4 years ago
parent
commit
e109784f84
No known key found for this signature in database
GPG Key ID: 91DBF4D1FC46B8E
  1. 4
      .editorconfig
  2. 2
      .version

4
.editorconfig

@ -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

2
.version

@ -1 +1 @@
18.09
18.09
Loading…
Cancel
Save