diff options
author | Thomas Karolski <JimmyPaterson@gmx.de> | 2018-03-21 01:57:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-21 01:57:58 +0100 |
commit | 006332d8acf011bb119448f3b58db24e00366f63 (patch) | |
tree | 2b06c476bd00d64465cc242afc2cb221490adda8 /pkgs/applications/networking/cluster | |
parent | 1c810f5f834e5356be5dea9ae032348dc56fe196 (diff) | |
download | nixlib-006332d8acf011bb119448f3b58db24e00366f63.tar nixlib-006332d8acf011bb119448f3b58db24e00366f63.tar.gz nixlib-006332d8acf011bb119448f3b58db24e00366f63.tar.bz2 nixlib-006332d8acf011bb119448f3b58db24e00366f63.tar.lz nixlib-006332d8acf011bb119448f3b58db24e00366f63.tar.xz nixlib-006332d8acf011bb119448f3b58db24e00366f63.tar.zst nixlib-006332d8acf011bb119448f3b58db24e00366f63.zip |
Fix spark scripts that use dirname
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r-- | pkgs/applications/networking/cluster/spark/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/spark/default.nix b/pkgs/applications/networking/cluster/spark/default.nix index 99b7566fc713..2b36d7c5647a 100644 --- a/pkgs/applications/networking/cluster/spark/default.nix +++ b/pkgs/applications/networking/cluster/spark/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchzip, makeWrapper, jre, pythonPackages +{ stdenv, fetchzip, makeWrapper, jre, pythonPackages, coreutils , RSupport? true, R , mesosSupport ? true, mesos , version @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { for n in $(find $out/lib/${untarDir}/bin -type f ! -name "*.*"); do makeWrapper "$n" "$out/bin/$(basename $n)" + substituteInPlace "$n" --replace dirname ${coreutils.out}/bin/dirname done ln -s $out/lib/${untarDir}/lib/spark-assembly-*.jar $out/share/java ''; |