diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2023-10-31 13:38:29 +0100 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2023-12-10 13:25:24 +0100 |
commit | ede5720a0dde969cf83dd7cbbe54ad8c5ff7a97b (patch) | |
tree | dae8fd19873bb26c4eb823b094c470fe2fa36712 /flake.nix | |
parent | 78f5ed053aba713ea2fc1226ec8193d298c221fc (diff) |
flake/version overlay: review fixes
* Improves the comments of `lib/flake-version-info.nix` and drops the
`__`-prefix from the filename.
* `lib'` -> `lib0` in `nixpkgs/lib`.
* Drop the declaration of `trivial.version` in the overlay because this
declaration already uses the final expressions of `versionSuffix` and
`release` now.
* No need to fall back to `self.lastModified` anymore, this was a
workaround for pre2.4 Nix.
Co-authored-by: Robert Hensing <robert@roberthensing.nl>
Co-authored-by: Silvan Mosberger <contact@infinisil.com>
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix index 23c9f09a174b..307eea0cd040 100644 --- a/flake.nix +++ b/flake.nix @@ -9,7 +9,7 @@ nixpkgs = self; }; - libVersionInfoOverlay = import ./lib/__flake-version-info.nix self; + libVersionInfoOverlay = import ./lib/flake-version-info.nix self; lib = (import ./lib).extend libVersionInfoOverlay; forAllSystems = lib.genAttrs lib.systems.flakeExposed; |