Merrit / vscode-runner

KRunner plugin for quickly opening recent VSCode workspaces
https://store.kde.org/p/1653111/
GNU General Public License v3.0
18 stars 3 forks source link

Package for Nix / NixOS #16

Closed pinage404 closed 5 months ago

pinage404 commented 5 months ago

Hello,

Thanks for this project !

For your information, i have packaged it for Nix / NixOS for my personal use

I hope someone will reuse it to make it available to more people!

Feel free to close this issue

Merrit commented 5 months ago

Nice! I am glad you find it useful :blue_heart:

I am not familiar with Nix; is there an easy install command for it, so instructions can be added to the README?

pinage404 commented 5 months ago

Nix is not a familiar package manager

Nix is not really about executing commands to install things

Nix is designed to be declarative and highly reproducible with configuration files

It uses files to describe the desired configuration, and then we execute commands to apply that configuration

The easiest way to install it would be to add this to the configuration

{
   environment.systemPackages = [
      (builtins.getFlake "gitlab:pinage404/dotfiles/eeb5580e8a22ab7f61bc13a5149b1ef32ffd7ccd").packages.x86_64-linux.vscode-runner # add a package without overlay and without flake
   ];
}

I have tried to document it here with a more common (but also more verbose) installation method

Merrit commented 5 months ago

Cool! :)

Thanks for letting me know~ Hopefully this issue will be helpful for any other Nix users :blue_heart: