* Function renamed.

svn path=/nixos/branches/modular-nixos/; revision=15631
This commit is contained in:
Eelco Dolstra 2009-05-18 10:49:28 +00:00
parent 9dc4edbd4d
commit 4dc9b6d378

View File

@ -2,12 +2,12 @@
{pkgs, config, ...}:
let
inherit (pkgs.stringsWithDeps) textClosureOverridable noDepEntry;
inherit (pkgs.stringsWithDeps) textClosureMap noDepEntry;
inherit (pkgs.lib) mkOption mergeTypedOption mergeAttrs mapRecordFlatten
mapAttrs addErrorContext fold;
mapAttrs addErrorContext fold id;
textClosure = steps:
textClosureOverridable steps (
textClosureMap id steps (
[(noDepEntry "#!/bin/sh")]
++ (mapRecordFlatten (a: v: v) steps)
);