Unverified Commit b11b4377 authored by r-vdp's avatar r-vdp
Browse files

opensc: fix ill-defined escape sequence in version regex

Nix warns about \. being an ill-defined escape. Use \\. to properly
escape the backslash so the regex still matches a literal dot.
parent 5e88cffa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ stdenv.mkDerivation (finalAttrs: {
    "completiondir=$(out)/etc"
  ];

  passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=^([0-9\.]+)$" ]; };
  passthru.updateScript = nix-update-script { extraArgs = [ "--version-regex=^([0-9\\.]+)$" ]; };

  meta = {
    description = "Set of libraries and utilities to access smart cards";