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
No known key found for this signature in database
3 changed files with 21 additions and 6 deletions

18
flake.lock generated
View file

@ -16,9 +16,25 @@
"type": "github"
}
},
"nixpkgs-lib": {
"locked": {
"lastModified": 1754184128,
"narHash": "sha256-AjhoyBL4eSyXf01Bmc6DiuaMrJRNdWopmdnMY0Pa/M0=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "02e72200e6d56494f4a7c0da8118760736e41b60",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"nixpkgs-lib": "nixpkgs-lib"
}
}
},