about summary refs log tree commit diff
path: root/tools/nixery/shell.nix
blob: b91094722c4839d0206de70093fbfef815672b3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright 2022 The TVL Contributors
# SPDX-License-Identifier: Apache-2.0

# Configures a shell environment that builds required local packages to
# run Nixery.
{ pkgs ? import <nixpkgs> { } }:

let nixery = import ./default.nix { inherit pkgs; };
in pkgs.stdenv.mkDerivation {
  name = "nixery-dev-shell";

  buildInputs = with pkgs; [ jq nixery.nixery-prepare-image ];
}