Skip to content

Instantly share code, notes, and snippets.

Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
let
pkgs = fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
myHaskellPackageOverlay = self: super: {
myHaskellPackages = super.haskell.packages.ghc922.override {
overrides = hself: hsuper: rec {
random = self.haskell.lib.addBuildDepends(
hsuper.callHackageDirect {
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TypeFamilies #-}
import H.Prelude as H
import Language.R.QQ
import Numeric.AD
julia> using Plots
[ Info: Precompiling Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80]
┌ Warning: Module Reexport with build ID 854946960680146 is missing from the cache.
│ This may mean Reexport [189a3867-3050-52da-a836-e630ba90ab69] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1008
[ Info: Skipping precompilation since __precompile__(false). Importing Plots [91a5bcdd-55d7-5caf-9e0b-520d859cae80].
[ Info: Precompiling GeometryBasics [5c1252a2-5f33-56bf-86c9-59e7332b4326]
┌ Warning: Module StaticArrays with build ID 1462107588120033 is missing from the cache.
│ This may mean StaticArrays [90137ffa-7385-5640-81b9-e52037218182] does not support precompilation but is imported by a module that does.
└ @ Base loading.jl:1008
let
rOverlay = rself: rsuper: {
myR = rsuper.rWrapper.override {
packages = with rsuper.rPackages; [
ggplot2
dplyr
xts
purrr
cmaes
let
myHaskellPackageOverlay = self: super: {
myHaskellPackages = super.haskellPackages.override {
overrides = hself: hsuper: rec {
accelerate =
let accelerateSrc = builtins.fetchGit {
url = "https://github.com/AccelerateHS/accelerate.git";
rev = "49a39ea6e3d2d13cbfa8605dcb57a29ef13db1f9";
};
{ nixpkgs ? import <nixpkgs> { config.allowBroken = true; }, compiler ? "default", doBenchmark ? false }:
let
inherit (nixpkgs) pkgs;
f = { mkDerivation, accelerate, accelerate-fft
, accelerate-llvm-native, base, stdenv, mwc-random-accelerate
, random-fu, hmatrix
, accelerate-blas
{ nixpkgs ? import <nixpkgs> { config.allowBroken = true; }, compiler ? "default", doBenchmark ? false }:
let
inherit (nixpkgs) pkgs;
f = { mkDerivation, accelerate, accelerate-fft
, accelerate-llvm-native, base, stdenv, mwc-random-accelerate
, random-fu, hmatrix
, accelerate-blas
with import <nixpkgs> {};
with pkgs;
let
# The base Julia version
baseJulia = julia_15;
# Extra libraries for Julia's LD_LIBRARY_PATH.
============================= test session starts ==============================
platform darwin -- Python 3.8.6, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
rootdir: /private/tmp/nix-build-python3.8-notebook-6.1.5.drv-0/notebook-6.1.5
collected 76 items / 20 errors / 2 deselected / 54 selected
==================================== ERRORS ====================================
______________ ERROR collecting notebook/auth/tests/test_login.py ______________
notebook/auth/tests/test_login.py:6: in <module>
from notebook.tests.launchnotebook import NotebookTestBase
notebook/tests/launchnotebook.py:24: in <module>