core/pkgs/build-support/mono-dll-fixer/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
244 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ 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;
}