~aasg/nixexprs

7df1257fbcc92766772e8849098124e0a68d13e6 — Aluísio Augusto Silva Gonçalves 4 days ago d870bf6
lib: Enable declarative environment inheritance

The correct place to call `lib.makeOverridable` was in
lib/declarative-env.nix, but the identation change was too ugly.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/default.nix
M lib/default.nix => lib/default.nix +1 -1
@@ 2,7 2,7 @@ super:
let
  callLibs = file: import file { lib = super // self; };
  self = rec {
    declareEnvironment = callLibs ./declarative-env.nix;
    declareEnvironment = super.makeOverridable (callLibs ./declarative-env.nix);

    lists = callLibs ./lists.nix;
    inherit (lists) indexOf isSubsetOf;