summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2021-05-21 17:36:07 +0900
committerRaphael Megzari <raphael@megzari.com>2021-05-24 10:14:44 +0900
commit7e26b2a45583c3804d92e0f31d3b13db1c887d78 (patch)
tree59f0165823c0b88e34e20e2041bfccf15fcaba0b /pkgs
parent79118eb65772e43bf9bbe6228066621c93a129a6 (diff)
downloadnixpkgs-7e26b2a45583c3804d92e0f31d3b13db1c887d78.tar
nixpkgs-7e26b2a45583c3804d92e0f31d3b13db1c887d78.tar.gz
nixpkgs-7e26b2a45583c3804d92e0f31d3b13db1c887d78.tar.bz2
nixpkgs-7e26b2a45583c3804d92e0f31d3b13db1c887d78.tar.lz
nixpkgs-7e26b2a45583c3804d92e0f31d3b13db1c887d78.tar.xz
nixpkgs-7e26b2a45583c3804d92e0f31d3b13db1c887d78.tar.zst
nixpkgs-7e26b2a45583c3804d92e0f31d3b13db1c887d78.zip
elixir: remove unused setup hook
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/interpreters/elixir/generic-builder.nix2
-rw-r--r--pkgs/development/interpreters/elixir/setup-hook.sh5
2 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/development/interpreters/elixir/generic-builder.nix b/pkgs/development/interpreters/elixir/generic-builder.nix
index 3c8b3c9eb65..646fd70ff8f 100644
--- a/pkgs/development/interpreters/elixir/generic-builder.nix
+++ b/pkgs/development/interpreters/elixir/generic-builder.nix
@@ -35,8 +35,6 @@ stdenv.mkDerivation ({
   LANG = "C.UTF-8";
   LC_TYPE = "C.UTF-8";
 
-  setupHook = ./setup-hook.sh;
-
   buildFlags = optional debugInfo "ERL_COMPILER_OPTIONS=debug_info";
 
   preBuild = ''
diff --git a/pkgs/development/interpreters/elixir/setup-hook.sh b/pkgs/development/interpreters/elixir/setup-hook.sh
deleted file mode 100644
index 501eca3cf02..00000000000
--- a/pkgs/development/interpreters/elixir/setup-hook.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-addErlLibPath() {
-    addToSearchPath ERL_LIBS $1/lib/elixir/lib
-}
-
-addEnvHooks "$hostOffset" addErlLibPath