about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/editors/jupyter-kernels/clojupyter/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/jupyter-kernels/clojupyter/update.sh')
-rwxr-xr-xnixpkgs/pkgs/applications/editors/jupyter-kernels/clojupyter/update.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/jupyter-kernels/clojupyter/update.sh b/nixpkgs/pkgs/applications/editors/jupyter-kernels/clojupyter/update.sh
new file mode 100755
index 000000000000..ba3ed4665757
--- /dev/null
+++ b/nixpkgs/pkgs/applications/editors/jupyter-kernels/clojupyter/update.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+### To update clj2nix
+# $ nix-prefetch-github hlolli clj2nix
+
+nix-shell --run "clj2nix deps.edn deps.nix" -E '
+with import ../../../../.. { };
+mkShell {
+  buildInputs = [(callPackage (fetchFromGitHub {
+    owner = "hlolli";
+    repo = "clj2nix";
+    rev = "b9a28d4a920d5d680439b1b0d18a1b2c56d52b04";
+    sha256 = "0d8xlja62igwg757lab9ablz1nji8cp9p9x3j0ihqvp1y48w2as3";
+  }) {})];
+}
+'