pkgs/lib/strings.nix: strip trailing whitespace

This commit is contained in:
Peter Simons 2013-02-24 19:28:38 +01:00
parent 7181888c23
commit 726574a5e4

View File

@ -161,7 +161,7 @@ rec {
getVersion = drv: (builtins.parseDrvName drv.name).version;
# Extract name with version from URL. Ask for separator which is
# Extract name with version from URL. Ask for separator which is
# supposed to start extension
nameFromURL = url: sep: let
components = splitString "/" url;