summaryrefslogtreecommitdiff
path: root/templates/system-flake/pkgs/hello-world
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system-flake/pkgs/hello-world')
-rw-r--r--templates/system-flake/pkgs/hello-world/Makefile6
-rw-r--r--templates/system-flake/pkgs/hello-world/default.nix14
-rw-r--r--templates/system-flake/pkgs/hello-world/hello-world.c7
3 files changed, 0 insertions, 27 deletions
diff --git a/templates/system-flake/pkgs/hello-world/Makefile b/templates/system-flake/pkgs/hello-world/Makefile
deleted file mode 100644
index 4eef056..0000000
--- a/templates/system-flake/pkgs/hello-world/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-CFLAGS += -O3 -s
-
-all: hello-world
-
-%: %.c
- $(CC) $(CFLAGS) -o $@ $<
diff --git a/templates/system-flake/pkgs/hello-world/default.nix b/templates/system-flake/pkgs/hello-world/default.nix
deleted file mode 100644
index 19047a1..0000000
--- a/templates/system-flake/pkgs/hello-world/default.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{stdenv, ...}:
-stdenv.mkDerivation {
- name = "hello-world";
- version = "1.0.0";
-
- src = ./.;
-
- installPhase = ''
- mkdir -p $out/bin
- cp hello-world $out/bin
- '';
-
- meta.mainProgram = "hello-world";
-}
diff --git a/templates/system-flake/pkgs/hello-world/hello-world.c b/templates/system-flake/pkgs/hello-world/hello-world.c
deleted file mode 100644
index d6cfa6b..0000000
--- a/templates/system-flake/pkgs/hello-world/hello-world.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <stdio.h>
-
-int main()
-{
- printf("Hello, world!\n");
- return 0;
-}