Merge pull request #173245 from jojosch/oh-my-git-fix
oh-my-git: fix ingame editor missing perl
This commit is contained in:
commit
9915de38db
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue