From 35a736c5de860b3b6ea479bff95a6c10aeaa75ed Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Tue, 14 May 2024 11:09:49 -0400 Subject: [PATCH] added nix-shell compatibility --- flake.nix | 6 +----- shell.nix | 8 ++++++++ 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 shell.nix diff --git a/flake.nix b/flake.nix index 5f420ca..915dc0f 100644 --- a/flake.nix +++ b/flake.nix @@ -80,10 +80,6 @@ ]; }; - devShells.${system}.default = with pkgs; mkShell { - packages = [ - just - ]; - }; + devShells.${system}.default = pkgs.callPackage ./shell.nix {}; }; } diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..b2a5826 --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +{ pkgs ? import {} }: + +with pkgs; +mkShell { + packages = [ + just + ]; +}