fix eval errors in checks

This commit is contained in:
Daylin Morgan 2024-08-08 13:54:09 -05:00
parent 1f1cf3a6be
commit 52fb1204d6
Signed by: daylin
GPG key ID: 950D13E9719334AD

View file

@ -10,12 +10,22 @@ let
flake = flakeFromSystem system; flake = flakeFromSystem system;
pkgs = import inputs.nixpkgs { pkgs = import inputs.nixpkgs {
inherit system; inherit system;
overlays = map [ overlays = [
"lix-module" (flake.overlay "lix-module")
"hyprland-contrib" (flake.overlay "hyprland-contrib")
"nixpkgs-wayland" (flake.overlay "nixpkgs-wayland")
] flake.overlay; ];
}; };
myPackages = map [
"tsm"
"hyprman"
"zls"
] flake.pkg;
hyprPackages = with (flake.pkgs "hyprland"); [
default
xdg-desktop-portal-hyprland
];
in in
{ {
makePackages = makePackages =
@ -23,24 +33,18 @@ in
{ {
src = ./.; src = ./.;
nativeBuildInputs = nativeBuildInputs =
[ (with pkgs; [
pkgs.pixi pixi
pkgs.swww swww
pkgs.nixVersions.stable nixVersions.stable
]
++ (map [
"tsm"
"hyprman"
"zls"
] flake.pkg)
++ (with flake.pkgs "hyprland"; [
default
xdg-desktop-portal-hyprland
]) ])
++ [ ++ [
(flake.pkgs "roc").full (flake.pkgs "roc").full
(flake.pkgs "zig2nix").zig.master.bin (flake.pkgs "zig2nix").zig.master.bin
]; ]
++ myPackages
++ hyprPackages;
} }
'' ''
mkdir "$out" mkdir "$out"