about summary refs log tree commit diff
path: root/lib/flake.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-12-10flake/version overlay: review fixesMaximilian Bosch1-2/+2
* 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>
2023-12-09flake: also provide proper version info for lib's flakeMaximilian Bosch1-1/+6
This effectively means that nixpkgs$ nix eval ./lib#lib.trivial.version "23.11.20231020.ee0d6b5" now gives meaningful results as well. See https://github.com/NixOS/nixpkgs/pull/257100#discussion_r1352075369 for the discussion around this.
2021-08-14Fix import path.Victor Borja1-1/+1
Trying to create a simple flake with input: ``` { inputs.nixpkgs-lib.url = "github:NixOS/nixpkgs?dir=lib"; outputs = {nixpkgs-lib, ...}: { }; } ``` Fails when trying to evaluate the nixpkgs-lib flake with an error like: ``` error: getting status of '/nix/store/xxxx-source/lib/lib': No such file or directory (use '--show-trace' to show detailed location information) ```
2021-04-28init: lib/flakeDavid Arnold1-0/+5
A subflake that can be indidividually accessed without also providing an interface to the whole of nixpkgs. Usage: inputs.nixpkgs-lib.url = "github:NixOS/nixpkgs?dir=lib"