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 = {
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; };
};
}) // {

View file

@ -1,4 +1,4 @@
{ pkgs ? import <nixpkgs> {} }:
{ pkgs }:
pkgs.mkShell {
buildInputs = with pkgs; [
@ -8,6 +8,6 @@ pkgs.mkShell {
openssl
doxygen
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;
buildGoModule rec {
@ -12,5 +12,5 @@ buildGoModule rec {
sha256 = "0l7w7my64yi2pig8sdxgk8049ah3n1mb2wfw858ys3gk42xqa5xh";
};
vendorSha256 = "022bil46fyjsd18diw0rnab987sp1ialb48rj18ksj75ghjqkr62";
vendorSha256 = "022bil46fyjsd18diw0rnab987sp1ialb48rj18ksj75ghjqkr62";
}

View file

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

View file

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