Skip to content

Commit

Permalink
flake.nix: include higher-kinded-data
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavsagar committed Feb 4, 2024
1 parent 2999ca7 commit 453462d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"git-from-scratch"
"graphviz"
"hamt"
"higher-kinded-data"
"hs-updater"
"intmap"
"lambda"
Expand Down
4 changes: 2 additions & 2 deletions higher-kinded-data/HigherKindedData.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "18484bcc",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -147,7 +147,7 @@
"mimetype": "text/x-haskell",
"name": "haskell",
"pygments_lexer": "Haskell",
"version": "9.0.2"
"version": "9.4.8"
}
},
"nbformat": 4,
Expand Down
3 changes: 2 additions & 1 deletion higher-kinded-data/default.nix
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{ system ? builtins.currentSystem }:
let
pkgs = import ../pkgs.nix;
overlay = sel: sup: {
Expand All @@ -12,7 +13,7 @@ let
};
};
};
nixpkgs = (import pkgs.nixpkgs { overlays = [ overlay ]; });
nixpkgs = (import pkgs.nixpkgs { inherit system; overlays = [ overlay ]; });
jupyterlab = nixpkgs.python3.withPackages (ps: [ ps.jupyterlab ps.notebook ]);
in nixpkgs.callPackage "${pkgs.ihaskell}/nix/release.nix" { compiler = "ghc948"; }{
extraEnvironmentBinaries = [ jupyterlab ];
Expand Down

0 comments on commit 453462d

Please sign in to comment.