8 lines
324 B
Nix
8 lines
324 B
Nix
# The nixpkgs repository contains an attribute set called lib,
|
|
# which provides a large number of useful functions.
|
|
# They are implemented in the Nix language
|
|
# , as opposed to builtins, which are part of the language itself.
|
|
let
|
|
pkgs = import <nixpkgs> {};
|
|
in
|
|
pkgs.lib.strings.toUpper "lookup paths considered harmful" |