1
Fork 0
mirror of https://github.com/RGBCube/superfreq synced 2025-07-27 17:07:44 +00:00

flake: packages: inherit from default overlay

This commit is contained in:
Jacob Birkett 2025-05-31 12:43:55 -07:00
parent 08c51b6296
commit 3caaa22f3e

View file

@ -10,6 +10,7 @@
pkgsForEach = forAllSystems (system:
import nixpkgs {
localSystem.system = system;
overlays = [self.overlays.default];
});
in {
overlays = {
@ -19,10 +20,12 @@
default = self.overlays.superfreq;
};
packages = forAllSystems (system: {
superfreq = pkgsForEach.${system}.callPackage ./nix/package.nix {};
packages =
nixpkgs.lib.mapAttrs (system: pkgs: {
inherit (pkgs) superfreq;
default = self.packages.${system}.superfreq;
});
})
pkgsForEach;
devShells = forAllSystems (system: {
default = pkgsForEach.${system}.callPackage ./nix/shell.nix {};