-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1687f41
commit b86f877
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ system ? builtins.currentSystem }: | ||
let | ||
pkgs = import ../pkgs.nix; | ||
overlay = sel: sup: { | ||
nix-filter = import pkgs.nix-filter; | ||
}; | ||
nixpkgs = (import pkgs.nixpkgs { inherit system; overlays = [ overlay ]; }); | ||
jupyterlab = nixpkgs.python3.withPackages (ps: [ ps.jupyterlab ps.notebook ]); | ||
hvega-src = builtins.fetchTarball { | ||
url = "https://github.com/vaibhavsagar/hvega/tarball/5dd4147d619305b0288b9831ddb805e049e85ea5"; | ||
sha256 = "sha256:1zaqvc0id5xagfzvlzxr8xaa7k4n4xbmvi68p7xz91rr960chi1c"; | ||
}; | ||
ihaskell-hvega = nixpkgs.haskellPackages.callCabal2nix "ihaskell-hvega" "${hvega-src}/ihaskell-hvega" {}; | ||
in nixpkgs.callPackage "${pkgs.ihaskell}/nix/release.nix" { compiler = "ghc96"; }{ | ||
extraEnvironmentBinaries = [ jupyterlab ]; | ||
packages = self: with self; [ here ihaskell-hvega ]; | ||
} |