* 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