Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automatically add dependencies for vim plugins with a *.rockspec #160484

Closed
wants to merge 3 commits into from

Commits on Apr 1, 2022

  1. added lua-plugin-names

    plan is to check for rockspec in store path, if yes, call luarocks2nix
    to get dependencies
    
    TODO need to fix luarocks-nix to work with local rockspecs
    
    luarocks-nix: bumped version
    
    cleanup
    
    ./pkgs/misc/vim-plugins/update.py --proc=10 --debug DEBUG --input-names ./pkgs/misc/vim-plugins/lua-plugin-names
    
    TODO run luarocks on store path instead
    
    1 plugins were checked
    Checking for rockspec
    TOTO
    Found a rockspec !
    /nix/store/a1ph5kd6gjzgy8vvpvzbnlaha9i4khvd-4a2d30f5fb77750c7a42be9bb58a9cc2c6c7f31d.tar.gz/gitsigns.nvim-scm-1.rockspec
    ran cmd: ['luarocks', 'nix', 'gitsigns.nvim']
    can't find suitable rock gitsigns.nvim
    
    adding file
    
    wip
    teto committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    5666f6b View commit details
    Browse the repository at this point in the history
  2. generates lua-plugins.nix

    teto committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    94580cc View commit details
    Browse the repository at this point in the history
  3. vimPlugins: update

     pkgs/applications/editors/vim/plugins/update.py --github-token=$GITHUB_TOKEN --input-names pkgs/applications/editors/vim/plugins/lua-plugin-names
    teto committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    3e27c94 View commit details
    Browse the repository at this point in the history