From c799d7a37c3af6960a5de44a03015828fa0a39c9 Mon Sep 17 00:00:00 2001 From: Jaidyn Levesque <10477760+JadedCtrl@users.noreply.github.com> Date: Mon, 2 Jan 2023 08:43:45 -0600 Subject: [PATCH] Tweak the egg/depedencies --- xattr.egg | 5 ++--- xattr.scm | 5 ++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/xattr.egg b/xattr.egg index 11e393f..71a8384 100644 --- a/xattr.egg +++ b/xattr.egg @@ -1,9 +1,8 @@ ;; -*- Scheme -*- ((synopsis "Access to extended attributes") (author "Jaidyn Ann") - (category net) + (category io) (license "GPLv3") + (dependencies srfi-1 srfi-12) (components (extension xattr))) -;; (csc-options "-O3" "-d1" "-X" "bind" "-s" "-k" "-emit-link-file" "xattr.link" "-o" "xattr_ext.o")) -;; (c-object xattr_ext))) diff --git a/xattr.scm b/xattr.scm index fac1478..a7f7e6a 100644 --- a/xattr.scm +++ b/xattr.scm @@ -18,7 +18,10 @@ (module xattr (get-xattr set-xattr remove-xattr list-xattr) -(import (chicken base) (chicken memory) srfi-1 scheme (chicken foreign) srfi-12) + (import scheme + (chicken base) (chicken foreign) (chicken memory) + srfi-1 srfi-12) + (foreign-declare "#include \"xattr_ext.c\"")