[Nix-dev] Byobu session-selector broken, referencing /usr/bin/python

Yasu yasu at yasuaki.com
Wed Sep 23 16:09:17 CEST 2015


Ok I finally figured out how to apply this fix :-)   I cloned the nixpkgs project from github and installed it locally.   I didn't have to subscribe to the unstable channel (I don't know how it works exactly but feel unconfortable with it)  NixOS is amazing because it let's me install things like this while still staying on the stable channel.  Thank yo so much!
Yasu

---- Eric Sagnes wrote ----

>
>> Fortunately, there is an easy way to do it by using the substituteInPlace[1] helper
>> during the fixup phase[2].
>
>Update, actually the fixup phase is smart enough to patch the files
>automatically if you pass python in the buildInputs.
>Nix keeps impressing me!
>
>On Tue, Sep 15, 2015 at 08:58:55AM +0900, Yasuaki Kudo wrote:
>> corrected typos
>> 
>> > On Sep 15, 2015, at 08:56, Yasu <yasu at yasuaki.com> wrote:
>> > 
>> > Hi,
>> > 
>> > I'm a newbie nixos user and trying byobu version 5.87.
>> > 
>> > I noticed that if I open a byobu session (using tmux as the backend, the default configuration) , abruptly disconnect the SSH session, log back in and execute byobu again, I get the following error.
>> > 
>> > /home/yasu/.nix-profile/bin/byobu-select-session: /nix/store/0xcd1mkrjzpc2d215q8bi20zral1c05n-byobu-5.87/lib/byobu/include/select-session.py: /usr/bin/python: bad interpreter: No such file or directory
>> > 
>> > What shoud I do to fix this?
>> > 
>> > Reards,
>> > Yasu
>> > Tokyo
>> > 
>> > 
>> > _______________________________________________
>> > nix-dev mailing list
>> > nix-dev at lists.science.uu.nl
>> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
>
>-- 
>Eric Sagnes
>サニエ エリック
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150923/4eb9fbe7/attachment.html 


More information about the nix-dev mailing list