Skip to content

Commit

Permalink
Demo improvements (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie authored Dec 12, 2023
1 parent 701dbbf commit 71f3955
Show file tree
Hide file tree
Showing 9 changed files with 486 additions and 217 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use_flake
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ public/js
.cache/
public
ltximg
presentations/reveal.js/examples
presentations/reveal.js/examples
/.direnv/
2 changes: 1 addition & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
org.mentat/emmy {:mvn/version "0.31.0"}
org.mentat/emmy-viewers {:mvn/version "0.3.1"}
io.github.inferenceql/gen.clj
{:git/sha "743e9d25da926d1d3f43ada66ccbdbd60e4af156"}
{:git/sha "8d427e95dc3a10c94b40305dac366f270b921c7c"}

io.github.nextjournal/clerk {:git/sha "d80187013d7b7b96db3d8b114b8d99f687170668"}
io.github.nextjournal/clerk.render
Expand Down
3 changes: 2 additions & 1 deletion dev/gen_finance/sci_extensions.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@

(emmy.viewer.sci/install!)
(gen.sci/install!)

(sci.ctx-store/swap-ctx!
sci/merge-opts
{:namespaces
{'clojure.core {'format gs/format}
{'clojure.core {'format gs/format}
'gen.choicemap (sci/copy-ns gen.choicemap (sci/create-ns 'gen.choicemap))}})
61 changes: 61 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-21.11";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, flake-utils }:
let pkgs = nixpkgs.legacyPackages."aarch64-darwin";
in {
devShell."aarch64-darwin" = pkgs.mkShell {
buildInputs = with pkgs; [
clojure
nodejs
];
};
};
}
Loading

0 comments on commit 71f3955

Please sign in to comment.