mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
11 lines
242 B
Nix
11 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;
|
|
}
|