Skip to content

Commit

Permalink
Merge pull request #165765 from ConnorBaker/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
siraben committed Apr 4, 2022
2 parents 4c5bc1c + f50e41b commit 0d95d03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/r-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ let
mwaved = [ pkgs.fftw.dev ];
mzR = with pkgs; [ zlib boost159.dev netcdf ];
ncdf4 = [ pkgs.netcdf ];
nloptr = with pkgs; [ nlopt pkg-config ];
nloptr = with pkgs; [ nlopt pkg-config libiconv ];
n1qn1 = [ pkgs.gfortran ];
odbc = [ pkgs.unixODBC ];
pander = with pkgs; [ pandoc which ];
Expand Down
2 changes: 2 additions & 0 deletions pkgs/development/r-modules/generic-builder.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ stdenv.mkDerivation ({
NIX_CFLAGS_COMPILE =
lib.optionalString stdenv.isDarwin "-I${lib.getDev libcxx}/include/c++/v1";

hardeningDisable = lib.optionals (stdenv.isAarch64 && stdenv.isDarwin) [ "stackprotector" ];

configurePhase = ''
runHook preConfigure
export R_LIBS_SITE="$R_LIBS_SITE''${R_LIBS_SITE:+:}$out/library"
Expand Down

0 comments on commit 0d95d03

Please sign in to comment.