Add shell.nix.

This commit is contained in:
John MacFarlane 2022-09-08 08:56:57 -07:00
parent 1db08eacc1
commit 32634a915a

18
shell.nix Normal file
View File

@ -0,0 +1,18 @@
{nixpkgs ? import <nixpkgs> {} }:
let
inherit (nixpkgs) pkgs;
nixPackages = [
pkgs.clangStdenv
pkgs.cmake
pkgs.gdb
pkgs.python3
pkgs.perl
pkgs.re2c
pkgs.curl
];
in
pkgs.stdenv.mkDerivation {
name = "env";
buildInputs = nixPackages;
}