add flake.lock and fix flake.nix

This commit is contained in:
2026-05-07 20:16:58 +04:00
parent 56be6b49d5
commit e6679d98f5
2 changed files with 145 additions and 0 deletions

View File

@@ -22,6 +22,14 @@
pkgs = import nixpkgs { inherit system; };
callPackage = pkgs.callPackage;
lib = nixpkgs.lib;
hasPackage = input:
input.packages ? ${system};
defaultPackage = input:
input.packages.${system}.default;
in {
packages = {
ponyfetch = inputs.ponyfetch.packages.${system}.default;