Add empty dev shell

This commit is contained in:
joachimschmidt557 2021-12-23 13:50:56 +01:00
parent 3d69c0797d
commit 07bbf855c1
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5
6 changed files with 14 additions and 7 deletions

View file

@ -23,7 +23,8 @@
}; };
devShells = { devShells = {
aby = import ./nix/zig.nix { pkgs = pkgs; }; aby = import ./nix/aby.nix { pkgs = pkgs; };
empty = import ./nix/empty.nix { pkgs = pkgs; };
zig = import ./nix/zig.nix { pkgs = pkgs; }; zig = import ./nix/zig.nix { pkgs = pkgs; };
}; };
}) // { }) // {

View file

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs }:
pkgs.mkShell { pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
@ -8,6 +8,6 @@ pkgs.mkShell {
openssl openssl
doxygen doxygen
ninja ninja
llvmPackages_12.clang llvmPackages_13.clang
]; ];
} }

6
nix/empty.nix Normal file
View file

@ -0,0 +1,6 @@
{ pkgs }:
pkgs.mkShell {
buildInputs = with pkgs; [
];
}

View file

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> { } }:
with pkgs; with pkgs;
buildGoModule rec { buildGoModule rec {

View file

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> { } }:
pkgs.mkShell { pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [

View file

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }: { pkgs ? import <nixpkgs> { } }:
pkgs.stdenv.mkDerivation rec { pkgs.stdenv.mkDerivation rec {
pname = "river"; pname = "river";