Skip to content

Commit 9c1922e

Browse files
committed
Simplify shell.nix.
1 parent 32634a9 commit 9c1922e

File tree

1 file changed

+10
-16
lines changed

1 file changed

+10
-16
lines changed

shell.nix

+10-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
{nixpkgs ? import <nixpkgs> {} }:
2-
let
3-
inherit (nixpkgs) pkgs;
4-
5-
nixPackages = [
6-
pkgs.clangStdenv
7-
pkgs.cmake
8-
pkgs.gdb
9-
pkgs.python3
10-
pkgs.perl
11-
pkgs.re2c
12-
pkgs.curl
1+
with (import <nixpkgs> {});
2+
mkShell {
3+
buildInputs = [
4+
clangStdenv
5+
cmake
6+
gdb
7+
python3
8+
perl
9+
re2c
10+
curl
1311
];
14-
in
15-
pkgs.stdenv.mkDerivation {
16-
name = "env";
17-
buildInputs = nixPackages;
1812
}

0 commit comments

Comments
 (0)