Skip to content

Doesn't work on NixOS #20

@mairs8

Description

@mairs8

The vim-startuptime looks for binaries in /usr/bin. NixOS is non FHS compliant and keeps it's binaries in /nix/store. When trying to run the pseudo code below on NixOS, it throws error: no file: /usr/local/lib/lua/5.1/loadall.so.

How can i make :StartupTime use the /nix/store locations?

 '/nix/store/somehash/somebin'
      '--startuptime'
      '<OUTPUT>'
      '-c'
      'if exists('\''*timer_start'\'') | call timer_start(0, {-> execute('\''qall!'\'')}) | else | autocmd VimEnter * qall! | endif'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions