stefano-m / nix-stefano-m-nix-overlays Goto Github PK
View Code? Open in Web Editor NEWCollection of Nix overlays
License: MIT License
Collection of Nix overlays
License: MIT License
Hello, first of all, thanks for the great work with this repo and the Lua modules.
I'm curious about how are you loading the modules to LUA_PATH
. Could you share some code snippets/examples?
Context: I tried to write an overlay on top of yours (which I'm planning to open a PR later) using luajit
code available here and overlay here, then referencing the package inside awesomewm.luaModules
ref. However, awesome can't find the module
In case that helps, these are AwesomeWM's error logs
2020-08-11 11:35:05 E: awesome: Error during a protected call: /home/macunha1/.config/awesome/plugins/spotify/init.lua:6: module 'dbus_proxy' not found:
no field package.preload['dbus_proxy']
no file './dbus_proxy.lua'
no file '/nix/store/kcns6qq23xnb8x041c5ihgj4x3kxzacq-luajit-2.1.0-beta3/share/luajit-2.1.0-beta3/dbus_proxy.lua'
no file '/usr/local/share/lua/5.1/dbus_proxy.lua'
no file '/usr/local/share/lua/5.1/dbus_proxy/init.lua'
no file '/nix/store/kcns6qq23xnb8x041c5ihgj4x3kxzacq-luajit-2.1.0-beta3/share/lua/5.1/dbus_proxy.lua'
no file '/nix/store/kcns6qq23xnb8x041c5ihgj4x3kxzacq-luajit-2.1.0-beta3/share/lua/5.1/dbus_proxy/init.lua'
no file '/nix/store/3cx5yimqp4sx343d3liy9q7qk0s8r5wg-luajit-2.1.0-beta3-lgi-0.9.2-1/lib/lua/5.1/dbus_proxy.lua'
no file '/nix/store/3cx5yimqp4sx343d3liy9q7qk0s8r5wg-luajit-2.1.0-beta3-lgi-0.9.2-1/lib/lua/5.1/dbus_proxy/init.lua'
no file '/nix/store/3cx5yimqp4sx343d3liy9q7qk0s8r5wg-luajit-2.1.0-beta3-lgi-0.9.2-1/share/lua/5.1/dbus_proxy.lua'
no file '/nix/store/3cx5yimqp4sx343d3liy9q7qk0s8r5wg-luajit-2.1.0-beta3-lgi-0.9.2-1/share/lua/5.1/dbus_proxy/init.lua'
no file '/home/macunha1/.config/awesome/dbus_proxy.lua'
no file '/home/macunha1/.config/awesome/dbus_proxy/init.lua'
no file '/etc/xdg/awesome/dbus_proxy.lua'
no file '/etc/xdg/awesome/dbus_proxy/init.lua'
no file '/home/macunha1/.nix-profile/etc/xdg/awesome/dbus_proxy.lua'
no file '/home/macunha1/.nix-profile/etc/xdg/awesome/dbus_proxy/init.lua'
no file '/etc/profiles/per-user/macunha1/etc/xdg/awesome/dbus_proxy.lua'
no file '/etc/profiles/per-user/macunha1/etc/xdg/awesome/dbus_proxy/init.lua'
no file '/nix/var/nix/profiles/default/etc/xdg/awesome/dbus_proxy.lua'
no file '/nix/var/nix/profiles/default/etc/xdg/awesome/dbus_proxy/init.lua'
no file '/run/current-system/sw/etc/xdg/awesome/dbus_proxy.lua'
no file '/run/current-system/sw/etc/xdg/awesome/dbus_proxy/init.lua'
no file '/nix/store/r5w3v0w834hz6c7r1g668p5zj60b8yzp-awesome-4.3/share/awesome/lib/dbus_proxy.lua'
no file '/nix/store/r5w3v0w834hz6c7r1g668p5zj60b8yzp-awesome-4.3/share/awesome/lib/dbus_proxy/init.lua'
no file './dbus_proxy.so'
no file '/usr/local/lib/lua/5.1/dbus_proxy.so'
no file '/nix/store/kcns6qq23xnb8x041c5ihgj4x3kxzacq-luajit-2.1.0-beta3/lib/lua/5.1/dbus_proxy.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/nix/store/3cx5yimqp4sx343d3liy9q7qk0s8r5wg-luajit-2.1.0-beta3-lgi-0.9.2-1/lib/lua/5.1/dbus_proxy.so'
no file '/nix/store/3cx5yimqp4sx343d3liy9q7qk0s8r5wg-luajit-2.1.0-beta3-lgi-0.9.2-1/share/lua/5.1/dbus_proxy.so'
no file '/home/macunha1/.config/awesome/dbus_proxy.so'
no file '/etc/xdg/awesome/dbus_proxy.so'
no file '/home/macunha1/.nix-profile/etc/xdg/awesome/dbus_proxy.so'
no file '/etc/profiles/per-user/macunha1/etc/xdg/awesome/dbus_proxy.so'
no file '/nix/var/nix/profiles/default/etc/xdg/awesome/dbus_proxy.so'
no file '/run/current-system/sw/etc/xdg/awesome/dbus_proxy.so'
no file '/nix/store/r5w3v0w834hz6c7r1g668p5zj60b8yzp-awesome-4.3/share/awesome/lib/dbus_proxy.so'
stack traceback:
[C]: in function 'require'
/home/macunha1/.config/awesome/plugins/spotify/init.lua:6: in main chunk
[C]: in function 'require'
/home/macunha1/.config/awesome/themes/cyan-neon/theme.lua:18: in main chunk
[builtin#25]: at 0x7fd120423750
[C]: in function 'xpcall'
...p-awesome-4.3/share/awesome/lib/gears/protected_call.lua:30: in function 'protected_call'
...60b8yzp-awesome-4.3/share/awesome/lib/beautiful/init.lua:224: in function 'init'
/home/macunha1/.config/awesome/rc.lua:208: in main chunk
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.