summaryrefslogtreecommitdiff
path: root/nix/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/default.nix')
-rw-r--r--nix/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/default.nix b/nix/default.nix
new file mode 100644
index 0000000..bd61190
--- /dev/null
+++ b/nix/default.nix
@@ -0,0 +1,9 @@
+{
+ runCommand,
+ zip,
+ ...
+}:
+runCommand "getchoo-modpack" {} ''
+ mkdir -p "$out"
+ ${zip}/bin/zip "$out"/getchoo-modpack.zip ${./files}/{*,.*}
+''