oh-my-git: fix ingame editor missing perl

This commit is contained in:
Johannes Schleifenbaum 2022-05-16 11:04:24 +02:00
parent a24b5378d5
commit aa6a14f350
No known key found for this signature in database
GPG key ID: 059093B1A278BCD0

View file

@ -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