fork/home-manager
git clone https://git.julia.blue/fork/home-manager
115e76ae
master
1{ lib } : 2 3rec { 4# Produces a Bourne shell like variable export statement. 5export = n :v :''export ${ n } =" ${ toString v } "'' ; 6 7# Given an attribute set containing shell variable names and their 8# assignment, this function produces a string containing an export 9# statement for each set entry. 10exportAll = vars :lib . concatStringsSep "\n" ( lib . mapAttrsToList export vars ); 11}