Merge pull request #146772 from Stunkymonkey/mono-dll-fixer-builder

This commit is contained in:
Sandro 2021-11-24 23:36:33 +01:00 committed by GitHub
commit d245291949
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View file

@ -1,4 +0,0 @@
source $stdenv/setup
substitute $dllFixer $out --subst-var-by perl $perl/bin/perl
chmod +x $out

View file

@ -1,8 +1,11 @@
{stdenv, perl}:
stdenv.mkDerivation {
name = "mono-dll-fixer";
builder = ./builder.sh;
dllFixer = ./dll-fixer.pl;
dontUnpack = true;
installPhase = ''
substitute $dllFixer $out --subst-var-by perl $perl/bin/perl
chmod +x $out
'';
inherit perl;
}