nixpkgs/lib
Naïm Favier 0fa7b1b004 lib/generators.toPretty: don't evaluate derivations
With the goal of making `toPretty` suitable for rendering option
values, render derivations as `<derivation foo-1.0>` instead of
`<derivation /nix/store/…-foo-1.0.drv>`.

This is to avoid causing sudden evaluation errors for out-of-tree
projects that have options with `default = pkgs.someUnfreePackage;` and
no `defaultText`.
2022-12-08 17:52:52 +01:00
..
systems Merge pull request #180964 from amjoseph-nixpkgs/pr/mkSkeletonFromList/simplify 2022-11-22 15:02:22 -05:00
tests lib/generators.toPretty: don't evaluate derivations 2022-12-08 17:52:52 +01:00
ascii-table.nix lib.strings: Add function to convert character to number 2022-10-20 18:58:44 +02:00
asserts.nix lib/asserts: use throw to display message for assertMsg 2022-01-19 00:50:06 +01:00
attrsets.nix lib/attrsets: add concatMapAttrs 2022-11-17 10:41:53 -05:00
cli.nix
customisation.nix splice.nix: start deprecating nativeDrv and crossDrv 2022-11-19 00:04:54 +02:00
debug.nix lib/debug: add traceFnSeqN 2021-01-25 19:25:50 +01:00
default.nix lib/default.nix: include mesonOption-related functions 2022-12-06 23:09:36 -03:00
deprecated.nix lib.closePropagation: Remove the quadratic behavior in lib.closePropagation 2022-10-07 18:03:42 +02:00
derivations.nix lib: Add lazyDerivation 2022-09-21 10:55:07 +01:00
fetchers.nix
filesystem.nix lib: Automatically generate lib.filesytem docs 2022-10-26 15:10:47 +02:00
fixed-points.nix lib.compose{Many,}Extensions: Make compatible with nix flake check 2021-08-26 09:12:17 -04:00
flake.nix Fix import path. 2021-08-14 14:46:00 -05:00
generators.nix lib/generators.toPretty: don't evaluate derivations 2022-12-08 17:52:52 +01:00
kernel.nix
licenses.nix licenses: add bsd2WithViews 2022-11-16 12:01:53 +08:00
lists.nix Fix a typo in the lib.foldr docstring 2022-08-20 23:58:57 +01:00
meta.nix lib/meta: add getExe to get the main program of a drv 2022-04-24 04:19:49 +03:00
minver.nix boostrap fetchurl: Add SRI support 2022-08-24 09:55:45 +02:00
modules.nix Merge pull request #204103 from ncfavier/doc-mkOrder 2022-12-02 17:19:40 +01:00
options.nix haskell.compiler.ghc92: 9.2.4 -> 9.2.5 2022-11-07 17:29:47 +01:00
source-types.nix lib.sourceTypes: simplify implementation 2022-05-30 16:27:34 +08:00
sources.nix lib/sources: make commitIdFromGitRepoOrError internal and use # for comments 2022-11-18 17:17:51 +02:00
strings-with-deps.nix lib: Use Nix's static scope checking, fix error message, optimize 2020-10-22 13:46:47 +02:00
strings.nix Merge pull request #204087 from ncfavier/splitString-simplify 2022-12-08 13:30:50 +01:00
trivial.nix Merge pull request #202370 from Artturin/revertpartof1 2022-11-22 19:49:35 +02:00
types.nix lib/types: add descriptionClass for path 2022-11-08 13:31:29 +01:00
versions.nix
zip-int-bits.nix lib/zip-int-bits: fix typo: bitXOR -> bitXor 2022-06-09 20:04:37 +03:00