aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-20 01:33:16 -0300
committerEuAndreh <eu@euandre.org>2021-02-20 01:33:16 -0300
commitf2b783b9b4678dada8755ec0d393435a50355339 (patch)
tree835b440e1e79142c533b7176f6f360bf81353802
parentTODOs.md: Add good Debian packaging links (diff)
downloadpackage-repository-f2b783b9b4678dada8755ec0d393435a50355339.tar.gz
package-repository-f2b783b9b4678dada8755ec0d393435a50355339.tar.xz
Makefile: Add "all" target that builds everything
-rw-r--r--Makefile4
-rw-r--r--shell.nix9
2 files changed, 13 insertions, 0 deletions
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 <nixpkgs> { overlays = [ (import ./default.nix { inherit pkgs; }) ]; }
+}:
+
+with pkgs;
+mkShell {
+ buildInputs =
+ map (name: xyz-euandreh."${name}") (builtins.attrNames xyz-euandreh);
+}