Merge pull request #173245 from jojosch/oh-my-git-fix

oh-my-git: fix ingame editor missing perl
This commit is contained in:
Rick van Schijndel 2022-05-28 21:13:51 +02:00 committed by GitHub
commit 9915de38db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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