Simplify shell.nix.

This commit is contained in:
John MacFarlane 2022-09-08 10:04:32 -07:00
parent 32634a915a
commit 9c1922e117

View File

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