summary refs log tree commit diff
path: root/pkgs/development/interpreters/gnu-apl
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-23 20:15:07 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-23 20:29:03 +0700
commit001c0cbe54228f88d5634f431fcaf460b8ff4590 (patch)
tree01920ebc73d4e3e4b007d67ab0a0640f5d9e39db /pkgs/development/interpreters/gnu-apl
parentf6a583eeece936a1d917de67194fec4b6c74cf1f (diff)
downloadnixpkgs-001c0cbe54228f88d5634f431fcaf460b8ff4590.tar
nixpkgs-001c0cbe54228f88d5634f431fcaf460b8ff4590.tar.gz
nixpkgs-001c0cbe54228f88d5634f431fcaf460b8ff4590.tar.bz2
nixpkgs-001c0cbe54228f88d5634f431fcaf460b8ff4590.tar.lz
nixpkgs-001c0cbe54228f88d5634f431fcaf460b8ff4590.tar.xz
nixpkgs-001c0cbe54228f88d5634f431fcaf460b8ff4590.tar.zst
nixpkgs-001c0cbe54228f88d5634f431fcaf460b8ff4590.zip
pkgs/development/interpreters: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/interpreters/gnu-apl')
-rw-r--r--pkgs/development/interpreters/gnu-apl/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix
index f01cfc2444b..9ae373ff7a8 100644
--- a/pkgs/development/interpreters/gnu-apl/default.nix
+++ b/pkgs/development/interpreters/gnu-apl/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, readline, gettext, ncurses }:
+{ lib, stdenv, fetchurl, readline, gettext, ncurses }:
 
 stdenv.mkDerivation rec {
   pname = "gnu-apl";
@@ -12,14 +12,14 @@ stdenv.mkDerivation rec {
   buildInputs = [ readline gettext ncurses ];
 
   # Needed with GCC 8
-  NIX_CFLAGS_COMPILE = with stdenv.lib; toString ((optionals stdenv.cc.isGNU [
+  NIX_CFLAGS_COMPILE = with lib; toString ((optionals stdenv.cc.isGNU [
     "-Wno-error=int-in-bool-context"
     "-Wno-error=class-memaccess"
     "-Wno-error=restrict"
     "-Wno-error=format-truncation"
    ]) ++ optional stdenv.cc.isClang "-Wno-error=null-dereference");
 
-  patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
+  patchPhase = lib.optionalString stdenv.isDarwin ''
     substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
   '';
 
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
     find $out/share/doc/support-files -name 'Makefile*' -delete
   '';
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "Free interpreter for the APL programming language";
     homepage    = "https://www.gnu.org/software/apl/";
     license     = licenses.gpl3Plus;