Last active
July 5, 2018 06:41
Revisions
-
dhl revised this gist
Jul 5, 2018 . No changes.There are no files selected for viewing
-
dhl revised this gist
Jul 5, 2018 . 3 changed files with 5 additions and 20 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ echo '{:deps {org.clojure/clojurescript {:mvn/version "1.10.339"}}}' > deps.edn && nix-shell -p clojure rlwrap nodejs-8_x # once nix-shell loads up # $ clj -m cljs.main --repl-env node 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 charactersOriginal file line number Diff line number Diff line change @@ -1 +0,0 @@ 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 charactersOriginal file line number Diff line number Diff line change @@ -1,19 +0,0 @@ -
dhl created this gist
Jul 5, 2018 .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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ {:deps {org.clojure/clojurescript {:mvn/version "1.10.339"}}} 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # curl -sI https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz | awk '/Location:/ {print $2}' with import (builtins.fetchTarball "https://d3g5gsiof5omrk.cloudfront.net/nixpkgs/nixpkgs-18.09pre143801.5ac6ab091a4/nixexprs.tar.xz") {}; let nodejs = nodejs-8_x; in mkShell rec { buildInputs = [ nodejs nodePackages_8_x.pnpm coreutils direnv clojure rlwrap ]; shellHook = '' export PATH="$PATH" print_module_version="console.log(process.versions.modules)" export npm_config_store=''${NPM_STORE_PREFIX-$HOME}/.pnpm-store-abi-$(${nodejs}/bin/node -e $print_module_version) ''; }