Skip to content

Commit

Permalink
Simplify shell.nix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Sep 8, 2022
1 parent 32634a9 commit 9c1922e
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 9c1922e

Please sign in to comment.