Closed philipp-baumann closed 4 months ago
just some little indenting: diff
--- Input +++ Output @@ -25,26 +25,26 @@ # which will install R version bleeding_edge # Report any issues to https://github.com/b-rodrigues/rix let - pkgs = import (fetchTarball "https://github.com/rstats-on-nix/nixpkgs/archive/refs/heads/r-daily.tar.gz") {}; - rpkgs = builtins.attrValues { - inherit (pkgs.rPackages) devtools diffviewer fledge codetools jsonlite httr sys testthat knitr rmarkdown; -}; + pkgs = import (fetchTarball "https://github.com/rstats-on-nix/nixpkgs/archive/refs/heads/r-daily.tar.gz") { }; + rpkgs = builtins.attrValues { + inherit (pkgs.rPackages) devtools diffviewer fledge codetools jsonlite httr sys testthat knitr rmarkdown; + }; tex = (pkgs.texlive.combine { - inherit (pkgs.texlive) scheme-small; -}); - system_packages = builtins.attrValues { - inherit (pkgs) R glibcLocalesUtf8 pandoc nix glibcLocales; -}; - in - pkgs.mkShell { - LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/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"; - LC_MEASUREMENT = "en_US.UTF-8"; + inherit (pkgs.texlive) scheme-small; + }); + system_packages = builtins.attrValues { + inherit (pkgs) R glibcLocalesUtf8 pandoc nix glibcLocales; + }; +in +pkgs.mkShell { + LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/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"; + LC_MEASUREMENT = "en_US.UTF-8"; - buildInputs = [ rpkgs tex system_packages ]; - - } + buildInputs = [ rpkgs tex system_packages ]; + +}
addressed in #195
just some little indenting: diff