diff options
| author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-03-05 10:30:37 +0100 |
|---|---|---|
| committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-03-05 10:32:24 +0100 |
| commit | b0a9ac798a3304d54398222f77b0f24561af6908 (patch) | |
| tree | d05752081dcf0b94a0402b003721f59c8aa6b167 /pkgs/development/python-modules/bpython | |
| parent | python.pkgs.pykerberos: put krb5 in buildInputs too (diff) | |
| download | nixpkgs-b0a9ac798a3304d54398222f77b0f24561af6908.tar.gz | |
python.pkgs.bpython: correct Exec in bpython.desktop
Diffstat (limited to 'pkgs/development/python-modules/bpython')
| -rw-r--r-- | pkgs/development/python-modules/bpython/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/bpython/default.nix b/pkgs/development/python-modules/bpython/default.nix index ad80e5647a48..c1d9a1a8f82f 100644 --- a/pkgs/development/python-modules/bpython/default.nix +++ b/pkgs/development/python-modules/bpython/default.nix @@ -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 |
