From 550150fdd2523ad6040b149ebb3ce5443e452286 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Sun, 29 Dec 2024 18:31:54 -0600 Subject: [PATCH] added ad-nb command from inside the devenv shell --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4c1f244..8ccf012 100644 --- a/flake.nix +++ b/flake.nix @@ -110,9 +110,10 @@ packages = with pkgs; [ git gdbm - (pkgs.python312.withPackages (python-pkgs: with python-pkgs; [ + (python312.withPackages (python-pkgs: with python-pkgs; [ notebook # kinda hacky, but needed so that jupyter notebook has some shared library it needs ])) + (writeShellScriptBin "ad-nb" "cd $(readlink -f /etc/nixos) && devenv up") ]; processes = {