>From ab44403a7563fe6ca3edf4d1b7929a8d7d12429a Mon Sep 17 00:00:00 2001 From: raingloom Date: Thu, 23 Apr 2020 04:14:37 +0200 Subject: [PATCH 8/8] trying the original approach + glibc static + adding a "breakpoint" --- gnu/packages/linux.scm | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c0fac7b6e5..801ffbdf88 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4571,17 +4571,18 @@ disks and SD cards. This package provides the userland utilities.") (inherit f2fs-tools) (name "f2fs-tools-static") (arguments - '(#:make-flags (list "CFLAGS=-v") - #:phases - (modify-phases %standard-phases - (add-before 'install 'fail - (lambda _ - (error "fail on purpose")))))) + (substitute-keyword-arguments (package-arguments f2fs-tools) + ((#:make-flags flags) + `(cons* "CFLAGS=-v" ,flags)) + ((#:phases phases) + `(modify-phases ,phases + (add-before 'install 'fail + (lambda _ + (error "fail on purpose"))))))) (inputs - `(,@(package-inputs f2fs-tools) - ("libuuid:static" ,util-linux "static") + `(("libuuid:static" ,util-linux "static") ("glibc:static" ,glibc "static") - ))))) + ,@(package-inputs f2fs-tools)))))) (define-public f2fs-fsck/static (package -- 2.26.2