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

Eric Sagnes eric.sagnes at gmail.com
Tue Sep 15 03:45:22 CEST 2015


Static executables paths in scripts have to be fixed in nix.

Fortunately, there is an easy way to do it by using the substituteInPlace[1] helper
during the fixup phase[2].

issue: https://github.com/NixOS/nixpkgs/issues/9865
PR:    https://github.com/NixOS/nixpkgs/pull/9866


[1] http://nixos.org/nixpkgs/manual/#ssec-stdenv-functions
[2] http://nixos.org/nixpkgs/manual/#ssec-fixup-phase

On Tue, Sep 15, 2015 at 08:56:28AM +0900, Yasu 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 type tmux 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

Eric Sagnes
サニエ エリック

More information about the nix-dev mailing list