Here's what currently I do

(use-modules (guix packages)
             (guix build-system trivial)
             (guix search-paths)
             (guix profile))

(define (search-paths-placeholder specs)
  (package
    (name "search-paths-placeholder")
    (version "0.0")
    (source #f)
    (build-system trivial-build-system)
    (arguments '(#:builder (begin (mkdir %output #t))))
    (synopsis #f)
    (description #f)
    (home-page #f)
    (native-search-paths specs)
    (license #f)))

And add this placeholder to manifest. Does Guix provide a better way to
achieve such goal?

-- 
Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp

Zihao

Attachment: signature.asc
Description: PGP signature

Reply via email to