Conversation
|
I would appreciate it if you could add me as a co-author. |
7bc7e4d to
5567e43
Compare
I hope i added you correctly. I didnt find a mail address so i used a github noreply one (as per. |
Sorry for not including my email earlier. You can use the following address: |
5567e43 to
3f08688
Compare
|
done :) |
|
the push to cachix workflow fails, not sure why |
|
Maybe move |
Co-authored-by: kaan-w 105508453+kaan-w@users.noreply.github.com
3f08688 to
543c1db
Compare
|
Though this is one file more in root again. |
|
Co-author didn't work. There had to be a newline after the commit message and email between the <> brackets. |
Damn sorry. Maybe @aurelien-brabant can atleast edit the release notes to include you for the change? |
Done :) |
|
Guys, now that vicinae is in nixpkgs, would you mind coping this module to home-manager? I could do it myself too, I'm just not sure if you like me to do so. @schromp |
|
Thanks for adding Nix support for installing extensions! What's the best way to install Raycast extensions from Nix? I tried doing this: extensions = [
(inputs.vicinae.mkVicinaeExtension.${pkgs.system} {
inherit pkgs;
name = "Gif Search";
src = pkgs.fetchFromGitHub {
owner = "raycast";
repo = "extensions";
rev = "4d417c2dfd86a5b2bea202d4a7b48d8eb3dbaeb1";
sha256 = "";
} + "/extensions/gif-search";
})
];...but it seems to take forever because it has to clone the entire Raycast extensions library. Is there a better way to do this? |
I couldn't figure this out too. |
|
Fetching only the extension folder is easy, you just need to do something as: ...
src =
pkgs.fetchgit {
url = "https://github.com/raycast/extensions";
rev = "4d417c2dfd86a5b2bea202d4a7b48d8eb3dbaeb1";
sha256 = "sha256-G7il8T1L+P/2mXWJsb68n4BCbVKcrrtK8GnBNxzt73Q=";
sparseCheckout = [
"/extensions/gif-search"
];
}
+ "/extensions/gif-search";
...But we need another function to build the package as the code for the raycast extention is not in Changing this makes it work: I'll add this one to the PR for home-manager. |
|
See here |
Co-authored-by: kaan-w 105508453+kaan-w@users.noreply.github.com Co-authored-by: schromp <lennart@koziollek.com>
With this you can install extensions the following way:
I will add a section to the docs when/if this is merged.
I have taken most of the code from @kaan-w. I hope thats okay for you if not please say something :)
(This PR also moves a lot of the nix files into a seperate nix directory because we started to clutter the root quite alot)