3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
danbst 68a6b47b8c lib: add shortcuts for fake hashes (fakeSha256, fakeSha512)
Fake hashes can be used as placeholders for all the places, where
Nix expression requires a hash, but we don't yet have one.

This should be more convenient than following:
- echo|sha256sum, copy into clipboard, go to editor, paste into previously
  edited place
- search nixpkgs for a random package, copy it's hash to cliboard, go to
  editor, paste into previously edited place

Nix can add support for these fake hashes. In that case printed error should contain
only 1 hash, so no more problem "which of two hashes from error should I use?"

Idea by irc:Synthetica
2019-01-10 19:27:35 +02:00
..
systems lib: Fix Mingw on 32-bit ARM 2019-01-04 12:05:35 -05:00
tests Remove composableDerivation, closes #18763 2018-12-30 12:33:45 +00:00
asserts.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
attrsets.nix bundlerEnv: ensure dependencies always included 2018-12-11 21:26:07 +00:00
customisation.nix lib: fix wording of the overrideScope warning 2018-10-11 17:23:47 +02:00
debug.nix lib/debug: Update documentation comments for docs generation 2018-10-29 10:45:25 +01:00
default.nix lib: add shortcuts for fake hashes (fakeSha256, fakeSha512) 2019-01-10 19:27:35 +02:00
deprecated.nix lib: add shortcuts for fake hashes (fakeSha256, fakeSha512) 2019-01-10 19:27:35 +02:00
fetchers.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
filesystem.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
fixed-points.nix bundlerEnv: ensure dependencies always included 2018-12-11 21:26:07 +00:00
generators.nix generators: make toPretty handle floats correctly 2018-10-15 14:03:16 +02:00
kernel.nix linux: translate config to structured config 2018-06-30 16:01:41 +03:00
licenses.nix licenses: update SPDX IDs (#52711) 2018-12-24 23:29:58 +00:00
lists.nix lib/lists: Update documentation comments for doc generation 2018-10-29 10:42:43 +01:00
meta.nix treewide: remove lib.meta.enableIfAvailable 2018-05-09 16:21:22 -05:00
minver.nix Nix minimal version: 1.11 -> 2.0 2018-08-30 08:09:54 -04:00
modules.nix module system: rework module merging 2018-08-27 17:11:58 +02:00
options.nix lib/options: Update documentation comments for docs generation 2018-10-29 10:45:28 +01:00
sources.nix lib: commitIdFromGitRepo: simplify a tiny bit 2018-11-08 05:20:18 +00:00
strings-with-deps.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
strings.nix make-derivation: use pname-version as default name if both are present 2018-11-06 00:04:21 +01:00
trivial.nix group the release info 2018-11-15 21:56:17 +01:00
types.nix Add type port as an alias to u16 2018-10-18 23:39:13 +02:00
versions.nix lib: add versions library 2018-03-04 06:28:34 -08:00
zip-int-bits.nix lib/trivial: move zipIntBits to its own file 2018-07-26 20:36:45 +02:00