Add gh CLI tool as a dependency in nix-shell

This commit is contained in:
2026-07-04 20:25:34 +02:00
parent e6c55356c8
commit 78263b5819
+5 -20
View File
@@ -1,23 +1,8 @@
{
pkgs ? import <nixpkgs> { },
}:
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
];
}