summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/getting-started/nix.md1
-rw-r--r--examples/lua/simple-bar/app.lua1
2 files changed, 1 insertions, 1 deletions
diff --git a/docs/getting-started/nix.md b/docs/getting-started/nix.md
index 2f320f3..8bd5965 100644
--- a/docs/getting-started/nix.md
+++ b/docs/getting-started/nix.md
@@ -22,6 +22,7 @@ Using Astal on Nix will require you to package your project.
in {
packages.${system}.default = astal.lib.mkLuaPacakge {
inherit pkgs;
+ src = ./path/to/project; # should contain app.lua
};
};
}
diff --git a/examples/lua/simple-bar/app.lua b/examples/lua/simple-bar/app.lua
index 8c3359b..aecf7a6 100644
--- a/examples/lua/simple-bar/app.lua
+++ b/examples/lua/simple-bar/app.lua
@@ -1,4 +1,3 @@
-#!/usr/bin/lua
local astal = require("astal")
local App = astal.App