From f2b783b9b4678dada8755ec0d393435a50355339 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 20 Feb 2021 01:33:16 -0300 Subject: Makefile: Add "all" target that builds everything --- Makefile | 4 ++++ shell.nix | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 shell.nix diff --git a/Makefile b/Makefile index 9475b24..6b7ecfd 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ +all: + guix build -f src/xyz/euandreh/packages.scm + nix-shell --run '' + check: sh aux/assert-shellcheck.sh sh aux/assert-nixfmt.sh diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..8f5434c --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? + import { overlays = [ (import ./default.nix { inherit pkgs; }) ]; } +}: + +with pkgs; +mkShell { + buildInputs = + map (name: xyz-euandreh."${name}") (builtins.attrNames xyz-euandreh); +} -- cgit v1.2.3