help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inject custom search specification into profile


From: Zhu Zihao
Subject: Re: Inject custom search specification into profile
Date: Fri, 27 Nov 2020 14:25:45 +0800
User-agent: mu4e 1.4.13; emacs 27.1

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

[Prev in Thread] Current Thread [Next in Thread]