[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/09: gnu: cbqn-bootstrap: Install regular files rather than copying th
From: |
guix-commits |
Subject: |
07/09: gnu: cbqn-bootstrap: Install regular files rather than copying them recursively. |
Date: |
Mon, 7 Nov 2022 16:02:23 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 3eca71d4a7efae21f7d8ac11d3adf8876d422f07
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Oct 22 21:01:34 2022 +0200
gnu: cbqn-bootstrap: Install regular files rather than copying them
recursively.
* gnu/packages/bqn.scm (cbqn-bootstrap)[arguments]: Reindent.
<#:phases>{install}: Use ‘install-file’ rather than ‘copy-recursively’ for
“bqn”.
---
gnu/packages/bqn.scm | 33 +++++++++++++++++----------------
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm
index d0558c3ef8..5029bebe8b 100644
--- a/gnu/packages/bqn.scm
+++ b/gnu/packages/bqn.scm
@@ -141,22 +141,23 @@ the same author.")
"0w38fhwf20drkyijy6nfnhmc5g5gw0zmzgmy1q605x57znlj85a2"))))
(build-system gnu-build-system)
(arguments
- (list #:tests? #f ;skipping tests for bootstrap
- #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
- #:phases #~(modify-phases %standard-phases
- (delete 'configure)
- (add-before 'build 'generate-bytecode
- (lambda* (#:key inputs #:allow-other-keys)
- (system (string-append #+dbqn
- "/bin/dbqn ./genRuntime "
- #+bqn-sources))))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (mkdir-p (string-append #$output "/bin"))
- (chmod "BQN" #o755)
- (copy-recursively "BQN"
- (string-append #$output
-
"/bin/bqn")))))))
+ (list
+ #:tests? #f ; skipping tests for bootstrap
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target)))
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'generate-bytecode
+ (lambda* (#:key inputs #:allow-other-keys)
+ (system (string-append #+dbqn
+ "/bin/dbqn ./genRuntime "
+ #+bqn-sources))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (mkdir-p (string-append #$output "/bin"))
+ (chmod "BQN" #o755)
+ (rename-file "BQN" "bqn")
+ (install-file "bqn" (string-append #$output "/bin")))))))
(native-inputs (list dbqn bqn-sources))
(inputs (list icedtea-8 libffi))
(synopsis "BQN implementation in C")
- branch master updated (2c1fc058c5 -> 8ab84fea6f), guix-commits, 2022/11/07
- 01/09: cbqn: Build without singeli., guix-commits, 2022/11/07
- 05/09: gnu: cbqn: Build using GCC., guix-commits, 2022/11/07
- 03/09: gnu: cbqn-bootstrap: Use let-bound revision., guix-commits, 2022/11/07
- 07/09: gnu: cbqn-bootstrap: Install regular files rather than copying them recursively.,
guix-commits <=
- 09/09: cbqn: Mark as tunable., guix-commits, 2022/11/07
- 02/09: gnu: Remove singeli-sources., guix-commits, 2022/11/07
- 04/09: gnu: cbqn: Rewrite in terms of cbqn-bootstrap., guix-commits, 2022/11/07
- 06/09: gnu: dbqn: Install regular files rather than copying them recursively., guix-commits, 2022/11/07
- 08/09: gnu: cbqn: Install regular files rather than copying them recursively., guix-commits, 2022/11/07