chore: remove lib attr in flake and expose functions directly

add nixpkgs-lib input so we don't need full nixpkgs just for the lib
This commit is contained in:
technofab 2025-08-14 11:38:53 +02:00
parent c9c329ec0f
commit 7222ac48cd
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
3 changed files with 21 additions and 6 deletions

View file

@ -1,11 +1,12 @@
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
nixpkgs-lib.url = "github:nix-community/nixpkgs.lib";
};
outputs = inputs: let
rensa = import ./lib {
inherit (inputs.nixpkgs) lib;
inherit (inputs.nixpkgs-lib) lib;
};
in
rensa.buildWith {