luajitPackages.sofa: init at 2024-04-30#308073
Conversation
|
Looks good but I am doing a big lua update that I want to have in staging first. Will merge this afterwards. |
LordMZTE
left a comment
There was a problem hiding this comment.
Unfortunately does not build for me:
> Missing dependencies for sofa 0.4.0-0:
> compat53 >= 0.13 (not installed)
This is rather strange as the dependency does seem to be declared.
Yup sorry, this is because compat53 is only on version 0.12.1-0 on unstable. I already fixed it on sofa itself, and released a new rockspec to luarocks. Just did not yet get to update this PR. Will do it tonight as soon as I get off from work. |
LordMZTE
left a comment
There was a problem hiding this comment.
Thanks for the update! Everything works as expected now.
|
can you rebase please ? |
|
there is a stupid trend in recent software to fail to start without a config. I tried to start it with: after creating an empty config: then I picked a random config and got Do you think it would be possible to add a test ? On the next lua update, I dont feel like manually testing such flimsy software. |
Hi @teto I have already fixed this. However, the version that fixes it also depends on another package that is not currently contained in |
|
didn't realize you were the author ^^'' I merged the dependency so you can update this. Looks like you already have busted tests so that's great. I am a bit hesitant to merge a 0-star software with a request by the author but the screenshots look good and I now want to make it work. Does sofa bring the fading in screenshots or is it some external wayland process ? |
|
Sofa uses
I am not sure what you are asking here. If you are talking about the fading in and out of the prompt windows, that is defined based on your compositor. Regarding the star count: Yeah I know. It is a very new software project, and I don't advertise about such stuff. But I might give it a go, since everyone I have shown it so far has ended up using it. I will update the PR to use the newest version with the |
|
some feedback if you are interested (on the program, not the PR):
|
|
Hi @teto , the configuration is documented in docs/configuration which is linked in the README. But you are right, it would definitely make sense to have a reference to how configuration should be set in I am currently on holidays, so it might take a few days until I get to doing it. |
|
@teto Not gonna lie, I am very unsure whether the way I added the auto-completion stuff is correct. |
|
you can rebase if you wnat this in the next nixos release |
|
My bad, did not really understand how the completion is supposed to work and how to test the builds. Should be fixed. |
|
this builds now but does nothing ? I have rofi installed though. |
|
Yes if you don't setup some command templates in the config, it will not do anything as there is nothing to choose from. I could update sofa that it creates some dummy config with a sample template if launched without a config. Not sure how useful that would be though. |
Description of changes
Sofa is a small command/snippet management tool with nice features such as dynamic parameter definition based on command executions, a tight integration with Rofi, and more.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.