mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* Retrieve the filename of a path.
svn path=/nixpkgs/trunk/; revision=19180
This commit is contained in:
parent
d311b4e98f
commit
1e0b14522a
@ -141,4 +141,6 @@ rec {
|
||||
else
|
||||
s;
|
||||
|
||||
basename = s: lib.last (splitString "/" s);
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user