Coder Social home page Coder Social logo

nix-stefano-m-nix-overlays's People

Contributors

stefano-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nix-stefano-m-nix-overlays's Issues

NixOS DBus proxy module load

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

Click here to see the logs

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.