From 45bce4a081c4c154c55e0f087be966892d128e0f Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Fri, 5 Nov 2021 14:02:48 -0400 Subject: [PATCH] add gnome-extensions script --- flake.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index 3be2847..1f88b6f 100644 --- a/flake.nix +++ b/flake.nix @@ -44,6 +44,11 @@ jupy = python3.withPackages (p: with p; [ jupyterlab ipython ]); in { + gnome-extensions = writeShellScriptBin "gnome-extensions" '' + cat ${path}/pkgs/desktops/gnome/extensions/extensions.json | + ${jq}/bin/jq -c '.[]|{name,ver:(.shell_version_map|keys)}' + ''; + jupyterlab = writeShellScriptBin "jupyterlab" '' exec ${jupy}/bin/python -m jupyterlab "$@" '';