perldevel: use double quote to preserve ''\.''

This commit is contained in:
volth 2018-09-25 20:52:31 +00:00 committed by GitHub
parent 06faf5cc5c
commit b7ac8824af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ let
"-Dlocincpth=${libcInc}/include" "-Dlocincpth=${libcInc}/include"
"-Dloclibpth=${libcLib}/lib" "-Dloclibpth=${libcLib}/lib"
] ]
++ optionals ((builtins.match "5\.[0-9]*[13579]\..+" version) != null) [ "-Dusedevel" "-Uversiononly" ] ++ optionals ((builtins.match ''5\.[0-9]*[13579]\..+'' version) != null) [ "-Dusedevel" "-Uversiononly" ]
++ optional stdenv.isSunOS "-Dcc=gcc" ++ optional stdenv.isSunOS "-Dcc=gcc"
++ optional enableThreading "-Dusethreads"; ++ optional enableThreading "-Dusethreads";