aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-01-10 23:48:52 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-01-11 11:21:59 +0100
commit70c07c94b7dfe1bff5fa2f3df8e9200ae01cb2c3 (patch)
tree3fe7d392f263999eceba5e1c38f9cd9fb6c4ad78
parent73b26ca046c7dc2a3de89079203159a0cae83807 (diff)
downloadhardware_replicant_libsamsung-ipc-70c07c94b7dfe1bff5fa2f3df8e9200ae01cb2c3.tar.gz
hardware_replicant_libsamsung-ipc-70c07c94b7dfe1bff5fa2f3df8e9200ae01cb2c3.tar.bz2
hardware_replicant_libsamsung-ipc-70c07c94b7dfe1bff5fa2f3df8e9200ae01cb2c3.zip
Move guix.scm to scripts
The scripts directory already has several scripts that are not needed to use libsamsung-ipc, but all of them are (or were) useful to work on patches for libsamsung-ipc. As this also applies to the guix.scm and that scheme is a scripting language, it would be more clear to have it moved in the scripts directory. In addition it could also make it more simple for distributions to not ship these files if they aren't interested in having them and/or if they only want files compatibles with the license currently used by libsamsung-ipc (GPLv2 or later). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--scripts/guix.scm (renamed from guix.scm)13
1 files changed, 7 insertions, 6 deletions
diff --git a/guix.scm b/scripts/guix.scm
index fa23802..ec7b25c 100644
--- a/guix.scm
+++ b/scripts/guix.scm
@@ -29,11 +29,11 @@
;;; be interested in retrieving the source from git or releases tarballs.
;;;
;;; Once you have Guix installed, to build libsamsung-ipc with the
-;;; guix.scm file, you can use the 'guix build --file=guix.scm' command,
-;;; however as explained above, keep in mind that it will copy all the
-;;; files in the same directory than guix.scm, so you might want to
-;;; make sure that the sources are clean (with 'make distclean') if you
-;;; already built libsamsung-ipc in that directory.
+;;; guix.scm file, you can use the 'guix build --file=scripts/guix.scm'
+;;; command, however as explained above, keep in mind that it will copy
+;;; all the files in the same directory than guix.scm, so you might want
+;;; to make sure that the sources are clean (with 'make distclean') if
+;;; you already built libsamsung-ipc in that directory.
;;;
;;; While this file could also serve as a basis to make a libsamsung-ipc
;;; package in Guix, it is probably a good idea to wait until the API
@@ -72,7 +72,8 @@
(define %local-source
(local-file
- (dirname (current-filename)) #:recursive? #t))
+ (dirname (dirname (current-filename)))
+ #:recursive? #t))
(define-public libsamsung-ipc
(package