RE: [EXTERNAL]Re: How should I be running `npm install …`?

2020-06-17 Thread Josh Marshall
That does help, but it ought to be the default in many ways. From: Dejan Ranisavljevic Sent: Wednesday, June 17, 2020 12:10 AM To: Gary Johnson Cc: Dmitry Alexandrov; Josh Marshall

Re: BPF in linux-libre

2020-06-17 Thread John Soo
Hi Mathieu, Mathieu Othacehe writes: > Yes the issue here is that linux-libre-headers is in fact > linux-libre-headers-5.4.20 which is too old. > > I tried to add linux-libre-headers-5.7 to the inputs. Even though it > comes first in CPLUS_INCLUDE_PATH, GCC is picking the old headers. I found o

Re: How should I be running `npm install …`?

2020-06-17 Thread Dejan Ranisavljevic
To use different directory for global packages, you have to create ~/.npmrc dotfile with: prefix=~/.npm Once you have that you should be able to do npm i -g, and package would be installed in ~/.npm Also don't forget to add ~/.npm/bin in your PATH: export PATH="$HOME/.npm/bin:$PATH" Hope this h

Re: BPF in linux-libre

2020-06-17 Thread Mathieu Othacehe
Hello John, > /tmp/guix-build-bcc-0.14.0.drv-0/source/src/cc/libbpf.c:694:58: error: > ‘BPF_PROG_TYPE_EXT’ undeclared (first use in this function); did you mean > ‘BPF_PROG_TYPE_XDP’? >if (prog_type != BPF_PROG_TYPE_TRACING && prog_type != BPF_PROG_TYPE_EXT) >