mirror of
https://github.com/hyprwm/hyprlang.git
synced 2025-05-12 21:30:37 +01:00
flake: packages: correctly eval own overlay
This commit is contained in:
parent
d5080b9de8
commit
4ef6711f4e
1 changed files with 5 additions and 3 deletions
|
@ -16,6 +16,7 @@
|
|||
pkgsFor = eachSystem (system:
|
||||
import nixpkgs {
|
||||
localSystem.system = system;
|
||||
overlays = with self.overlays; [hyprlang];
|
||||
});
|
||||
mkDate = longDate: (lib.concatStringsSep "-" [
|
||||
(builtins.substring 0 4 longDate)
|
||||
|
@ -34,9 +35,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
packages = eachSystem (system:
|
||||
(self.overlays.default null pkgsFor.${system})
|
||||
// {default = self.packages.${system}.hyprlang;});
|
||||
packages = eachSystem (system: {
|
||||
default = self.packages.${system}.hyprlang;
|
||||
inherit (pkgsFor.${system}) hyprlang hyprlang-with-tests;
|
||||
});
|
||||
|
||||
formatter = eachSystem (system: pkgsFor.${system}.alejandra);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue