From 309475bcbc747bc1a77e857ff7afdf24ec084882 Mon Sep 17 00:00:00 2001 From: Savanni D'Gerinel Date: Sat, 30 Jul 2022 00:38:41 -0400 Subject: [PATCH] Remove base.h --- base/base.h | 9 --------- flake.nix | 13 ------------- rng/rng.h | 3 ++- 3 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 base/base.h diff --git a/base/base.h b/base/base.h deleted file mode 100644 index 3ec4394..0000000 --- a/base/base.h +++ /dev/null @@ -1,9 +0,0 @@ - -#include -#include - -#ifdef AVR - -#else - -#endif diff --git a/flake.nix b/flake.nix index 6fe0f13..93ee5e8 100644 --- a/flake.nix +++ b/flake.nix @@ -94,18 +94,6 @@ }; */ - packages."x86_64-linux"."base" = - let - pkgs = import nixpkgs { system = "x86_64-linux"; }; - in mkLibrary { - pkgs = pkgs; - gcc = pkgs.gcc; - cflags = "-Werror -Wall"; - pname = "base"; - psrc = ./base; - pbuildInputs = [ ]; - }; - packages."x86_64-linux"."rng" = let pkgs = import nixpkgs { system = "x86_64-linux"; }; @@ -115,7 +103,6 @@ cflags = "-Werror -Wall"; pname = "rng"; psrc = ./rng; - pbuildInputs = [ packages."x86_64-linux"."base" ]; }; /* diff --git a/rng/rng.h b/rng/rng.h index 7873205..6dd187f 100644 --- a/rng/rng.h +++ b/rng/rng.h @@ -1,4 +1,5 @@ -#include + +#include #ifndef __RNG_H__ #define __RNG_H__