lorri icon indicating copy to clipboard operation
lorri copied to clipboard

command not found: wrapQtApp

Open LinArcX opened this issue 5 years ago • 2 comments

Describe the bug Hi. i have a qt applicatoin that according to here needs to use wrapQtAppsHook.

So i set it inside my shell.nix file

I compiled program successfully. But when i want to run it, i get this error:

╰ wrapQtApp kindd
command not found: wrapQtApp

If i use nix-shell everythings will fine. So seems lorri break bash functions. Isn't it?

To Reproduce Steps to reproduce the behavior:

  1. clone my repo and compile it: https://github.com/LinArcX/kindd

Expected behavior Lorri should work with hooks like wrapQtAppsHook.

Metadata

$ lorri info
lorri version: 1.0
gc roots exist, shell_gc_root: "/home/linarcx/.cache/lorri/gc_roots/3f637a56cb928f99277ce4f60d200fd4/gc_root/shell_gc_root"
$ uname -a
Linux gnu_linux 5.4.27_1 #1 SMP PREEMPT Sat Mar 21 09:34:54 UTC 2020 x86_64 GNU/Linux

LinArcX avatar Mar 23 '20 20:03 LinArcX

To Reproduce Steps to reproduce the behavior:

1. clone my repo and compile it:
   https://github.com/LinArcX/kindd

Hi @LinArcX! To allow us to reproduce the problem, could describe exactly which commands you used to build the project with lorri? I.e. did you use lorri daemon with the direnv integration, or lorri shell? Please paste the commands exactly as you ran them. Thanks!

curiousleo avatar Mar 24 '20 07:03 curiousleo

Hi @LinArcX! To allow us to reproduce the problem, could describe exactly which commands you used to build the project with lorri? I.e. did you use lorri daemon with the direnv integration, or lorri shell? Please paste the commands exactly as you ran them. Thanks!

Sure. I'm using nix+lorri+direnv on void linux.

  1. So in another terminal run lorri daemon.
  2. In project directory: cd build; cmake ..; make
  3. Run it: wrapQtApp ./core/kindd

LinArcX avatar Mar 24 '20 08:03 LinArcX