From d9c76736cc6e3b8e9a7dc06bf824d06a22a6a699 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Tue, 6 Sep 2016 19:56:58 +0200 Subject: octave: fix overridePlatforms (was just platforms) name collision, thanks to @bjornfor for catching --- pkgs/development/interpreters/octave/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pkgs/development/interpreters') diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix index f9afb190f66e..3389620cdd94 100644 --- a/pkgs/development/interpreters/octave/default.nix +++ b/pkgs/development/interpreters/octave/default.nix @@ -2,7 +2,7 @@ , libsndfile, libX11, graphicsmagick, pcre, pkgconfig, mesa, fltk , fftw, fftwSinglePrec, zlib, curl, qrupdate, openblas, arpack, libwebp , qt ? null, qscintilla ? null, ghostscript ? null, llvm ? null, hdf5 ? null,glpk ? null -, suitesparse ? null, gnuplot ? null, jdk ? null, python ? null, platforms ? null +, suitesparse ? null, gnuplot ? null, jdk ? null, python ? null, overridePlatforms ? null }: let @@ -70,6 +70,8 @@ stdenv.mkDerivation rec { homepage = http://octave.org/; license = stdenv.lib.licenses.gpl3Plus; maintainers = with stdenv.lib.maintainers; [viric raskin]; - platforms = with stdenv.lib.platforms; if platforms == null then linux ++ darwin else platforms; + platforms = if overridePlatforms == null then + (with stdenv.lib.platforms; linux ++ darwin) + else overridePlatforms; }; } -- cgit 1.4.1