diff options
Diffstat (limited to 'pkgs/applications/science/biology/iv/default.nix')
-rw-r--r-- | pkgs/applications/science/biology/iv/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/science/biology/iv/default.nix b/pkgs/applications/science/biology/iv/default.nix index 82fe36940081b..72cf9c86e65b3 100644 --- a/pkgs/applications/science/biology/iv/default.nix +++ b/pkgs/applications/science/biology/iv/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, neuron-version +{ lib, stdenv, fetchurl, neuron-version , libX11, libXext, patchelf }: @@ -15,15 +15,15 @@ stdenv.mkDerivation rec postInstall = '' for dir in $out/*; do # */ if [ -d $dir/lib ]; then - mv $dir/* $out # */ + mv $dir/* $out # */ rmdir $dir break fi done - '' + stdenv.lib.optionalString stdenv.isLinux '' + '' + lib.optionalString stdenv.isLinux '' patchelf --add-needed ${libX11}/lib/libX11.so $out/lib/libIVhines.so ''; - meta = with stdenv.lib; + meta = with lib; { description = "InterViews graphical library for Neuron"; license = licenses.bsd3; homepage = "http://www.neuron.yale.edu/neuron"; |