mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02: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 a new issue