mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-30 06:01:19 +00:00
pkgs/lib/strings.nix: strip trailing whitespace
This commit is contained in:
parent
7181888c23
commit
726574a5e4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user