summary refs log tree commit diff
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2017-12-14 13:22:58 +0000
committerLudovic Courtès <ludo@gnu.org>2017-12-14 18:26:25 +0100
commite536b1d308bddc41d4eb45094e67eead681dbdd1 (patch)
tree6f659f5df2e141c85b3b1f96da8c6f96ef05f2f3
parenta0ec2d256d0e7352f31eb2adc4c18c40e420a419 (diff)
downloadguix-e536b1d308bddc41d4eb45094e67eead681dbdd1.tar.gz
gnu: s-shell: Update to commit da2e5c20c0c5f477ec3426dc2584889a789b1659.
* gnu/packages/shells.scm (s-shell): Update to commit da2e5c20c0c5f477ec3426dc2584889a789b1659.
[version]: Use 'git-version'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/shells.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 1f076999cb..343f50d6d7 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -511,11 +511,11 @@ Its features include:
       (license bsd-2))))
 
 (define-public s-shell
-  (let ((commit "6604341edb3a775ff94415762af3ee9bd86bfb3c")
-        (revision "1"))
+  (let ((commit "da2e5c20c0c5f477ec3426dc2584889a789b1659")
+        (revision "2"))
     (package
       (name "s-shell")
-      (version (string-append "0.0.0-" revision "." (string-take commit 7)))
+      (version (git-version "0.0.0" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -525,13 +525,15 @@ Its features include:
          (file-name (string-append name "-" version "-checkout"))
          (sha256
           (base32
-           "1075cml6dl15d770j3m12yz90cjacsdslbv3gank1nxd76vmpdcr"))))
+           "0qiny71ww5nhzy4mnc8652hn0mlxyb67h333gbdxp4j4qxsi13q4"))))
       (build-system gnu-build-system)
       (inputs
        `(("linenoise" ,linenoise)))
       (arguments
        `(#:tests? #f
-         #:make-flags (list "CC=gcc")
+         #:make-flags (list "CC=gcc"
+                            (string-append "PREFIX="
+                                           (assoc-ref %outputs "out")))
          #:phases
          (modify-phases %standard-phases
            (add-after 'unpack 'install-directory-fix