Skip to content

Commit

Permalink
python.pkgs.bpython: correct Exec in bpython.desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Mar 5, 2019
1 parent 82b3892 commit b0a9ac7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/bpython/default.nix
Expand Up @@ -11,6 +11,11 @@ buildPythonPackage rec {

propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ];

postInstall = ''
substituteInPlace "$out/share/applications/bpython.desktop" \
--replace "Exec=/usr/bin/bpython" "Exec=$out/bin/bpython"
'';

checkInputs = [ mock ];

# tests fail: https://github.com/bpython/bpython/issues/712
Expand Down

0 comments on commit b0a9ac7

Please sign in to comment.