gabrielzschmitz / Tomato.C

A pomodoro timer written in pure C.
GNU General Public License v3.0
315 stars 19 forks source link

❄️ renames pkgconfig to pkg-config at nix files #52

Closed CarlosCraveiro closed 4 months ago

CarlosCraveiro commented 4 months ago

Problem

The package previously called pkgconfig was renamed to pkg-config and was thus preventing the Tomato-C flake from being integrated into the nix powered systems.

Screenshot-2024-04-19_02-12-29

I'm integrating Tomato-C as a overlay in my system, like this:

# At my flake.nix
# ...
       tomato-c-overlay = final: prev: {
            tomato-c = tomato-c.defaultPackage.${system};
        };

        pkgs = import nixpkgs {
            inherit system;
            config = {
             allowUnfree = true;
             permittedInsecurePackages = [ ];
           };
            overlays = [ tomato-c-overlay ];
        };
# ...

Solution

Simply rename the package from pkgconfig to pkg-config at nix files.

Additionally, I added myself to the project's flake maintainer list.