summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/mo/monoDLLFixer/package.nix
blob: d3bcc56484c0de312e10c24991aea00eea252e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  lib,
  stdenv,
  perl,
}:
stdenv.mkDerivation {
  pname = "mono-dll-fixer";
  version = lib.trivial.release;
  dllFixer = ./dll-fixer.pl;
  dontUnpack = true;
  installPhase = ''
    substitute $dllFixer $out --subst-var-by perl $perl/bin/perl
    chmod +x $out
  '';
  inherit perl;
}