forked from mirrors/nixpkgs
e71a5cb878
stripHash uses a global variable to communicate it's computation results, but it's not necessary. You can just pipe to stdout in a subshell. A function mostly behaves like just another command. baseHash() also introduces a suffix-stripping capability since it's something the users of the function tend to use. |
||
---|---|---|
.. | ||
languages-frameworks | ||
old | ||
coding-conventions.xml | ||
configuration.xml | ||
contributing.xml | ||
default.nix | ||
functions.xml | ||
introduction.md | ||
manual.xml | ||
meta.xml | ||
multiple-output.xml | ||
package-notes.xml | ||
quick-start.xml | ||
release-notes.xml | ||
stdenv.xml | ||
style.css | ||
submitting-changes.xml |