fixing the function
This commit is contained in:
parent
36107292fe
commit
eeffb012dd
1 changed files with 2 additions and 3 deletions
|
@ -1,9 +1,8 @@
|
|||
let
|
||||
mkPreferences = prefs: builtins.concatStringsSep
|
||||
"\n"
|
||||
(map
|
||||
(p: ''user_pref("${p}", ${builtins.toJSON prefs.${p}});'')
|
||||
(builtins.attrNames prefs));
|
||||
(builtins.mapAttrs
|
||||
(name: value: "user_pref(\"${name}\", \"${value}\");"));
|
||||
in
|
||||
mkPreferences {
|
||||
prefs = {
|
||||
|
|
Loading…
Add table
Reference in a new issue