From 78263b58199f9e1990390e03895bfb9f27654db0 Mon Sep 17 00:00:00 2001 From: TapTap Date: Sat, 4 Jul 2026 20:25:34 +0200 Subject: [PATCH] Add gh CLI tool as a dependency in nix-shell --- shell.nix | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) diff --git a/shell.nix b/shell.nix index ada4520..f1a76a4 100644 --- a/shell.nix +++ b/shell.nix @@ -1,23 +1,8 @@ -{ - pkgs ? import { }, -}: - -pkgs.mkShell { - nativeBuildInputs = with pkgs; [ - gcc - cmake - gnumake - pkg-config - ]; - - buildInputs = with pkgs; [ - zstd - ]; - - NIX_ENFORCE_PURITY = 0; - +{ pkgs }: { shellHook = '' - export NIX_ENFORCE_PURITY=0 - cmake -B build + echo "Setting up environment with gh CLI tool" ''; -} + buildInputs = [ + pkgs.gh + ]; +} \ No newline at end of file