aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>2018-11-26 17:24:21 +0100
committerBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>2018-11-26 17:24:21 +0100
commit6cbb2c87216e37f4d11a36d3d95d6c5fa5dc9216 (patch)
tree1204c90ee744f0c0356ef973b2952809f16260f5
parente029d90f45470899d1c37bcbea7fdc5d557e30f7 (diff)
downloadpatches-6cbb2c87216e37f4d11a36d3d95d6c5fa5dc9216.tar
patches-6cbb2c87216e37f4d11a36d3d95d6c5fa5dc9216.tar.gz
gnu: ams-lv2: Always return #t from phase remove-sse-flags.
* gnu/packages/music.scm (ams-lv2)[arguments]: Use '(unless' instead of '(when (not'. Return with #t as last value from phase 'remove-sse-flags'.
-rw-r--r--gnu/packages/music.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 21659a6429..568b6f41f7 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2310,11 +2310,11 @@ follows a traditional multi-track tape recorder control paradigm.")
(modify-phases %standard-phases
(add-after 'unpack 'remove-sse-flags
(lambda* (#:key system #:allow-other-keys)
- (when (not (or (string-prefix? "x86_64" system)
- (string-prefix? "i686" system)))
+ (unless (or (string-prefix? "x86_64" system)
+ (string-prefix? "i686" system))
(substitute* "wscript"
- (("'-msse', '-mfpmath=sse', ") ""))
- #t))))
+ (("'-msse', '-mfpmath=sse', ") "")))
+ #t)))
#:tests? #f)) ; no tests
(inputs
`(("lv2" ,lv2)