about summary refs log tree commit diff
path: root/hackport
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /hackport
chore: init HEAD master
Diffstat (limited to '')
-rw-r--r--hackport/.hackport/repositories4
-rwxr-xr-xhackport/@install10
2 files changed, 14 insertions, 0 deletions
diff --git a/hackport/.hackport/repositories b/hackport/.hackport/repositories
new file mode 100644
index 0000000..a4a4df2
--- /dev/null
+++ b/hackport/.hackport/repositories
@@ -0,0 +1,4 @@
+Just LocalInfo { distfiles_dir = "/var/cache/distfiles"
+               , overlay_list = [ "/home/azahi/src/gentoo-haskell" ]
+               , portage_dir = "/var/db/repos/gentoo"
+               }
diff --git a/hackport/@install b/hackport/@install
new file mode 100755
index 0000000..e1fa1ff
--- /dev/null
+++ b/hackport/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${HOME}/.hackport" ] && \
+    mkdir -p "${HOME}/.hackport"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    hackport

Consider giving Nix/NixOS a try! <3