Get all lib functions from lib, not pkgs.lib, in modules

This commit is contained in:
Shea Levy
2014-05-05 14:58:51 -04:00
parent 80709b141c
commit b3cfb9084b
64 changed files with 135 additions and 132 deletions

View File

@@ -1,11 +1,11 @@
# This module allows you to export something from configuration
# Use case: export kernel source expression for ease of configuring
{ config, pkgs, ... }:
{ config, lib, ... }:
{
options = {
passthru = pkgs.lib.mkOption {
passthru = lib.mkOption {
visible = false;
description = ''
This attribute set will be exported as a system attribute.