Merge branch 'staging'

This commit is contained in:
Vladimír Čunát
2017-04-14 10:32:13 +02:00
75 changed files with 1451 additions and 2704 deletions
-9
View File
@@ -85,15 +85,6 @@ rec {
# argument, but it's nice this way if several uses of `extends` are cascaded.
extends = f: rattrs: self: let super = rattrs self; in super // f self super;
# Compose two extending functions of the type expected by 'extends'
# into one where changes made in the first are available in the
# 'super' of the second
composeExtensions =
f: g: self: super:
let fApplied = f self super;
super' = super // fApplied;
in fApplied // g self super';
# Create an overridable, recursive attribute set. For example:
#
# nix-repl> obj = makeExtensible (self: { })