This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {stdenv, fetchurl, unzip}: | |
| stdenv.mkDerivation rec { | |
| name = "TestU01-1.2.3"; | |
| src = fetchurl { | |
| url = "http://simul.iro.umontreal.ca/testu01/TestU01.zip"; | |
| sha256 = "1b0wxp9c1ha3yvj8zv3swqfg24srwn72rbga50ykpvd7mv91s7dw"; | |
| }; | |
| nativeBuildInputs = [ unzip ]; | |
| unpackPhase = "unzip ${src}"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > > > Traceback (most recent call last): | |
| File "parse_scale_results.py", line 1, in <module> | |
| import google.cloud.storage as gcs | |
| File "/nix/store/gxp58kpabrj9ilw890ihs76009ki3k3l-python3-3.7.4-env/lib/python3.7/site-packages/google/cloud/storage/__init__.py", line 34, in <module> | |
| from pkg_resources import get_distribution | |
| ModuleNotFoundError: No module named 'pkg_resources' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| pkgs = import <nixpkgs> {}; | |
| in | |
| let | |
| fontsConf = pkgs.makeFontsConf { fontDirectories = [ ]; }; | |
| my-R-packages = with pkgs.rPackages; [ rstan zoo ggplot2 dplyr coda ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| pkgs = import <nixpkgs> {}; | |
| in | |
| let | |
| my-R-packages = with pkgs.rPackages; [ rstan zoo ggplot2 dplyr coda ]; | |
| R-with-my-packages = pkgs.rWrapper.override{ packages = with pkgs.rPackages; my-R-packages ++ [ JuniperKernel ]; }; | |
| jupyter-R-kernel = pkgs.stdenv.mkDerivation { | |
| name = "jupyter-R-kernel"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { stdenv | |
| , cmake | |
| , fetchurl | |
| , openmpi | |
| , llvmPackages | |
| , python | |
| , liblapack | |
| , gfortran | |
| , lapackSupport ? true }: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {{ stdenv, fetchurl, gfortran, openmpi }: | |
| stdenv.mkDerivation rec { | |
| version = "2.11.2"; | |
| name = "hypre-${version}"; | |
| src = fetchurl { | |
| url = "https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods/download/${name}.tar.gz"; | |
| sha256 = "17i6zgywcmgbmr7zxgc7shzqramg64a8kwswpdqkyn8ichic3di5"; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [nix-shell:~]$ python | |
| Python 3.7.4 (default, Jul 8 2019, 18:31:06) | |
| [GCC 8.3.0] on linux | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> import pymc3 as pm | |
| You can find the C code in this temporary file: /run/user/1000/theano_compilation_error_m688j177 | |
| Traceback (most recent call last): | |
| File "/nix/store/d7wqg2xi972hahp9g7fwk7njsvv58pwi-python3-3.7.4-env/lib/python3.7/site-packages/theano/gof/lazylinker_c.py", line 81, in <module> | |
| actual_version, force_compile, _need_reload)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| accelerate-overlay = self: super: { | |
| haskell = super.haskell // { packageOverrides = | |
| hself: hsuper: { | |
| accelerate = super.haskell.lib.dontCheck ( | |
| hself.callCabal2nix "accelerate" (builtins.fetchGit { | |
| url = "https://github.com/AccelerateHS/accelerate.git"; | |
| rev = "a7b685352330ebf7d8794aed64663a9ee92dcdab"; | |
| }) {} | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| hmatrix-sundials-overlay = self: super: { | |
| haskell = super.haskell // { packageOverrides = | |
| hself: hsuper: { | |
| hmatrix-sundials = ( | |
| hself.callCabal2nix "hmatrix-sundials" (builtins.fetchGit { | |
| url = "https://github.com/haskell-numerics/hmatrix-sundials.git"; | |
| rev = "9b6ec2b5fc509f74c5e61657dfc638a2c7ebced0"; | |
| }) {} | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| foo = self: super: { | |
| haskell = super.haskell // { packageOverrides = | |
| hself: hsuper: { | |
| my-accelerate = hself.callPackage ./pkgs/accelerate { }; | |
| }; | |
| }; | |
| }; | |
| in |