Skip to content

Commit

Permalink
fix missing quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Baumann committed Sep 26, 2023
1 parent 0fc293f commit 61999b7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion R/find_rev.R
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ get_system_pkgs(system_pkgs))
)
)
locale_vars <- paste(
Map(function(x, nm) paste0(nm, " = ", x),
Map(function(x, nm) paste0(nm, ' = ', '"', x, '"'),
nm = names(locale_variables), x = locale_variables),
collapse = ";\n "
)
Expand Down
2 changes: 1 addition & 1 deletion dev/build_envs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ get_system_pkgs(system_pkgs))
)
)
locale_vars <- paste(
Map(function(x, nm) paste0(nm, " = ", x),
Map(function(x, nm) paste0(nm, ' = ', '"', x, '"'),
nm = names(locale_variables), x = locale_variables),
collapse = ";\n "
)
Expand Down
10 changes: 5 additions & 5 deletions inst/extdata/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ let
in
pkgs.mkShell {
LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocalesUtf8}/lib/locale/locale-archive" else "";
LANG = en_US.UTF-8;
LC_ALL = en_US.UTF-8;
LC_TIME = en_US.UTF-8;
LC_MONETARY = en_US.UTF-8;
LC_PAPER = en_US.UTF-8;
LANG = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
buildInputs = [ git_archive_pkgs system_packages ];
shellHook = "R --vanilla";
}

0 comments on commit 61999b7

Please sign in to comment.