diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/lib.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nix/lib.nix b/nix/lib.nix index 12940b1..1095ab4 100644 --- a/nix/lib.nix +++ b/nix/lib.nix @@ -19,7 +19,7 @@ rec { else abort "unsupported value type: ${builtins.typeOf v}"; mkPrefs = settings: pkgs.writeText "prefs.js" - ("// dummy line\n" + + ("// dummy line\n" + (lib.concatStringsSep "\n" (lib.mapAttrsToList (k: v: "pref(\"${k}\", ${mkValueString v}, locked);") (flattenAttrs settings)))); @@ -39,7 +39,7 @@ rec { inherit policies; }); - mergeProfiles = profiles: + mergeProfiles = profiles: let sanitise = args: { policies = args.policies or {}; @@ -55,7 +55,7 @@ rec { policies' = mkPolicies policies; preferences' = mkPrefs preferences; patched = pkgs.runCommand "firefox-bundle" { - nativeBuildInputs = [ pkgs.nix ]; + nativeBuildInputs = [ pkgs.nix ]; disallowedReferences = [ firefox ]; } '' cp -r ${firefox} $out |