summary refs log tree commit diff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorCorbin <cds@corbinsimpson.com>2019-02-04 00:09:38 -0800
committerFrederik Rietdijk <fridh@fridh.nl>2019-04-09 20:41:08 +0200
commit5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea (patch)
tree47aaef58a78f1fc227d7b413f6af5b7db85a7ef3 /lib/default.nix
parentef0345a3fa8df8065fd570a453cc352f04842643 (diff)
downloadnixpkgs-5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea.tar
nixpkgs-5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea.tar.gz
nixpkgs-5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea.tar.bz2
nixpkgs-5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea.tar.lz
nixpkgs-5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea.tar.xz
nixpkgs-5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea.tar.zst
nixpkgs-5719f892e1139bae3a9c70bcc77fc1bc98cfb7ea.zip
python: Make .isPyPy flag more accurate.
nix-repl> map (s: s.isPyPy) [ python python3 pypy pypy3 ]
[ false false true true ]
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 688c117d52b..8735b647679 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -81,7 +81,7 @@ let
       intersperse concatStringsSep concatMapStringsSep
       concatImapStringsSep makeSearchPath makeSearchPathOutput
       makeLibraryPath makeBinPath optionalString
-      hasPrefix hasSuffix stringToCharacters stringAsChars escape
+      hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape
       escapeShellArg escapeShellArgs replaceChars lowerChars
       upperChars toLower toUpper addContextFrom splitString
       removePrefix removeSuffix versionOlder versionAtLeast getVersion