Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 756e7cd84e38
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1aa0980e1a6a
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 5, 2019

  1. python.pkgs.bpython: correct Exec in bpython.desktop

    Robert Schütz committed Mar 5, 2019
    Copy the full SHA
    b0a9ac7 View commit details
  2. Merge pull request #56872 from dotlambda/bpython-desktop-file

    python.pkgs.bpython: correct Exec in bpython.desktop
    flokli authored Mar 5, 2019
    Copy the full SHA
    1aa0980 View commit details
Showing with 5 additions and 0 deletions.
  1. +5 −0 pkgs/development/python-modules/bpython/default.nix
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/bpython/default.nix
Original file line number Diff line number Diff line change
@@ -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