diff options
author | Felix Buehler <account@buehler.rocks> | 2021-11-20 18:00:27 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2021-11-20 18:01:00 +0100 |
commit | 9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe (patch) | |
tree | 8bcd73ecf7ab0d2c75c3c76957f8eeaae095a15a /pkgs/build-support/mono-dll-fixer | |
parent | 2e9e94a32d1ea3113e89906b3c16968d082cd234 (diff) | |
download | nixpkgs-9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe.tar nixpkgs-9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe.tar.gz nixpkgs-9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe.tar.bz2 nixpkgs-9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe.tar.lz nixpkgs-9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe.tar.xz nixpkgs-9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe.tar.zst nixpkgs-9cda0f4f61cb05b2465d3b6c51735a4921f0bfbe.zip |
mono-dll-fixer: remove builder.sh
Diffstat (limited to 'pkgs/build-support/mono-dll-fixer')
-rw-r--r-- | pkgs/build-support/mono-dll-fixer/builder.sh | 4 | ||||
-rw-r--r-- | pkgs/build-support/mono-dll-fixer/default.nix | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/build-support/mono-dll-fixer/builder.sh b/pkgs/build-support/mono-dll-fixer/builder.sh deleted file mode 100644 index 67abc465a9b..00000000000 --- a/pkgs/build-support/mono-dll-fixer/builder.sh +++ /dev/null @@ -1,4 +0,0 @@ -source $stdenv/setup - -substitute $dllFixer $out --subst-var-by perl $perl/bin/perl -chmod +x $out diff --git a/pkgs/build-support/mono-dll-fixer/default.nix b/pkgs/build-support/mono-dll-fixer/default.nix index 8f7d1e795d7..09a986015ee 100644 --- a/pkgs/build-support/mono-dll-fixer/default.nix +++ b/pkgs/build-support/mono-dll-fixer/default.nix @@ -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; } |