diff --git a/pkgs/games/oh-my-git/default.nix b/pkgs/games/oh-my-git/default.nix index 57fbad34057b..0da53bbf9aa1 100644 --- a/pkgs/games/oh-my-git/default.nix +++ b/pkgs/games/oh-my-git/default.nix @@ -19,6 +19,7 @@ , libXrender , libglvnd , libpulseaudio +, perl , zlib , udev # for libudev }: @@ -54,6 +55,7 @@ stdenv.mkDerivation rec { libXrender libglvnd libpulseaudio + perl zlib udev ]; @@ -70,6 +72,13 @@ stdenv.mkDerivation rec { }) ]; + # patch shebangs so that e.g. the fake-editor script works: + # error: /usr/bin/env 'perl': No such file or directory + # error: There was a problem with the editor + postPatch = '' + patchShebangs scripts + ''; + buildPhase = '' runHook preBuild