update
This commit is contained in:
29
overlays.nix
29
overlays.nix
@@ -4,6 +4,29 @@ let
|
||||
addPatches = pkg: patches:
|
||||
pkg.overrideAttrs
|
||||
(oldAttrs: { patches = (oldAttrs.patches or [ ]) ++ patches; });
|
||||
neotestPatch = '' diff --git a/tests/unit/client/strategies/integrated_spec.lua b/tests/unit/client/strategies/integrated_spec.lua
|
||||
index 196c2e78..42a3df76 100644
|
||||
--- a/tests/unit/client/strategies/integrated_spec.lua
|
||||
+++ b/tests/unit/client/strategies/integrated_spec.lua
|
||||
@@ -34,7 +34,7 @@ describe("integrated strategy", function()
|
||||
|
||||
a.it("stops the job", function()
|
||||
local process = strategy({
|
||||
- command = { "bash", "-c", "sleep 1" },
|
||||
+ command = { "bash", "-c", "sleep 10" },
|
||||
strategy = {
|
||||
height = 10,
|
||||
width = 10,
|
||||
@@ -47,7 +47,7 @@ describe("integrated strategy", function()
|
||||
|
||||
a.it("streams output", function()
|
||||
local process = strategy({
|
||||
- command = { "bash", "-c", "printf hello; sleep 0; printf world" },
|
||||
+ command = { "bash", "-c", "printf hello; sleep 0.1; printf world" },
|
||||
strategy = {
|
||||
height = 10,
|
||||
width = 10,
|
||||
'';
|
||||
in
|
||||
{
|
||||
# This one brings our custom packages from the 'pkgs' directory
|
||||
@@ -46,6 +69,12 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
luajitPackages = prev.luajitPackages // {
|
||||
neotest = prev.luajitPackages.neotest.overrideAttrs {
|
||||
patches = [ (prev.writeText "neotest-patch" neotestPatch) ];
|
||||
};
|
||||
};
|
||||
|
||||
#hyprland =
|
||||
# inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland;
|
||||
#xdg-desktop-portal-hyprland =
|
||||
|
||||
Reference in New Issue
Block a user