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:
parent
08c51b6296
commit
3caaa22f3e
1 changed files with 7 additions and 4 deletions
11
flake.nix
11
flake.nix
|
@ -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 {};
|
||||
default = self.packages.${system}.superfreq;
|
||||
});
|
||||
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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue