core/pkgs/build-support/mono-dll-fixer/default.nix
2024-05-13 11:34:52 -04:00

12 lines
242 B
Nix

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