snowfallorg / nix-software-center

A simple gtk4/libadwaita software center to easily install and manage nix packages
GNU General Public License v3.0
572 stars 16 forks source link

Overlay not working? #55

Open tobiasBora opened 8 months ago

tobiasBora commented 8 months ago

I tried to install the package with an overlay:

           nixpkgs.overlays = [ inputs.nix-software-center.overlays.pkgs ];
           environment.systemPackages = with pkgs; [
             nix-software-center
           ];

but it does not compile anything, and at the end the program nix-software-center is not available. On the other hand:

          environment.systemPackages = with pkgs; [
            inputs.nix-software-center.packages.${system}.nix-software-center
          ];

seems to work (at least it compiles stuff).

Also, I saw a commit by @dezren39 that was renaming overlays like nixpkgs.overlays.pkgs instead of nixpkgs.overlays.default, why is it the case? The wiki seems to suggest that default is the current standard notation no?