mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
python.pkgs.bpython: correct Exec in bpython.desktop
(cherry picked from commit b0a9ac798a)
This commit is contained in:
committed by
Florian Klink
parent
1274d29c3a
commit
ae84bf13cd
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user