2 Matching Annotations
- Oct 2019
-
nixos.org nixos.org
-
builtins.elem
builtins.elem x xs
Return true if a value equal to x occurs in the list xs, and false otherwise.
-
builtins.parseDrvName
Split the string s into a package name and version. The package name is everything up to but not including the first dash followed by a digit, and the version is everything following that dash. The result is returned in a set { name, version }. Thus, builtins.parseDrvName "nix-0.12pre12876" returns { name = "nix"; version = "0.12pre12876"; }.
-