Loading lib/attrsets.nix +1 −1 Original line number Diff line number Diff line /* Operations on attribute sets. */ { lib }: # Operations on attribute sets. let inherit (builtins) head tail length; Loading lib/filesystem.nix +4 −2 Original line number Diff line number Diff line # Functions for querying information about the filesystem # without copying any files to the Nix store. /* Functions for querying information about the filesystem without copying any files to the Nix store. */ { lib }: # Tested in lib/tests/filesystem.sh Loading lib/gvariant.nix +10 −9 Original line number Diff line number Diff line # This file is based on https://github.com/nix-community/home-manager # Copyright (c) 2017-2022 Home Manager contributors # /* A partial and basic implementation of GVariant formatted strings. See [GVariant Format Strings](https://docs.gtk.org/glib/gvariant-format-strings.html) for details. :::{.warning} This API is not considered fully stable and it might therefore change in backwards incompatible ways without prior notice. ::: */ # This file is based on https://github.com/nix-community/home-manager # Copyright (c) 2017-2022 Home Manager contributors { lib }: /* A partial and basic implementation of GVariant formatted strings. See https://docs.gtk.org/glib/gvariant-format-strings.html for detauls. Note, this API is not considered fully stable and it might therefore change in backwards incompatible ways without prior notice. */ let inherit (lib) concatMapStringsSep concatStrings escape head replaceStrings; Loading lib/lists.nix +1 −2 Original line number Diff line number Diff line # General list operations. /* General list operations. */ { lib }: let inherit (lib.strings) toInt; Loading lib/options.nix +1 −1 Original line number Diff line number Diff line # Nixpkgs/NixOS option handling. /* Nixpkgs/NixOS option handling. */ { lib }: let Loading Loading
lib/attrsets.nix +1 −1 Original line number Diff line number Diff line /* Operations on attribute sets. */ { lib }: # Operations on attribute sets. let inherit (builtins) head tail length; Loading
lib/filesystem.nix +4 −2 Original line number Diff line number Diff line # Functions for querying information about the filesystem # without copying any files to the Nix store. /* Functions for querying information about the filesystem without copying any files to the Nix store. */ { lib }: # Tested in lib/tests/filesystem.sh Loading
lib/gvariant.nix +10 −9 Original line number Diff line number Diff line # This file is based on https://github.com/nix-community/home-manager # Copyright (c) 2017-2022 Home Manager contributors # /* A partial and basic implementation of GVariant formatted strings. See [GVariant Format Strings](https://docs.gtk.org/glib/gvariant-format-strings.html) for details. :::{.warning} This API is not considered fully stable and it might therefore change in backwards incompatible ways without prior notice. ::: */ # This file is based on https://github.com/nix-community/home-manager # Copyright (c) 2017-2022 Home Manager contributors { lib }: /* A partial and basic implementation of GVariant formatted strings. See https://docs.gtk.org/glib/gvariant-format-strings.html for detauls. Note, this API is not considered fully stable and it might therefore change in backwards incompatible ways without prior notice. */ let inherit (lib) concatMapStringsSep concatStrings escape head replaceStrings; Loading
lib/lists.nix +1 −2 Original line number Diff line number Diff line # General list operations. /* General list operations. */ { lib }: let inherit (lib.strings) toInt; Loading
lib/options.nix +1 −1 Original line number Diff line number Diff line # Nixpkgs/NixOS option handling. /* Nixpkgs/NixOS option handling. */ { lib }: let Loading