nixpkgs/lib/flake.nix
Maximilian Bosch bb7921d1d6
flake: also provide proper version info for lib's flake
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.
2023-12-09 11:45:45 +01:00

10 lines
220 B
Nix

{
description = "Library of low-level helper functions for nix expressions.";
outputs = { self }:
let
lib' = import ./.;
in {
lib = lib'.extend (import ./__flake-version-info.nix self);
};
}