[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Gu
From: |
Maxime Devos |
Subject: |
[bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix. |
Date: |
Tue, 01 Mar 2022 20:01:01 +0100 |
User-agent: |
Evolution 3.38.3-1 |
Attila Lendvai schreef op di 01-03-2022 om 19:45 [+0100]:
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + ;; Build from git and add Autotools inputs, to make developing
> + ;; Shepherd easier. It enables easier package inheritance.
> + (url "https://git.savannah.gnu.org/git/shepherd.git/")
> + (commit commit)))
> + (sha256
> + (base32
> + "1hgkbl3fyzwi5vw63kbkswnf3viyfl52c5dzkx7vbkr4sj5ysz1g"))
> + (modules '((guix build utils)))
> + (snippet
> + '(begin
> + ;; Build with -O1 to work around <https://bugs.gnu.org/48368>.
> + (substitute* "Makefile.am"
> + (("compile --target")
> + "compile -O1 --target")))))
This origin record can be simplified a bit by using inheritance:
(origin
(inherit (package-source shepherd))
(method git-fetch)
(uri (git-reference [...]))
(sha256 [...]))
'inherit' is not restricted to packages, it can be used for any record
type defined with (guix records)!
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#54216] [PATCH] gnu: shepherd-for-guix: New package for use in Guix., Attila Lendvai, 2022/03/01
- [bug#54216] [PATCH] gnu: shepherd-for-guix: New package for use in Guix., Maxime Devos, 2022/03/01
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., Attila Lendvai, 2022/03/01
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix.,
Maxime Devos <=
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., Attila Lendvai, 2022/03/01
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., zimoun, 2022/03/02
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., Leo Famulari, 2022/03/02
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., Maxime Devos, 2022/03/03
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., zimoun, 2022/03/03
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., Leo Famulari, 2022/03/05
- [bug#54216] [PATCH v2] gnu: shepherd-for-guix: New package for use in Guix., Maxime Devos, 2022/03/05
- [bug#54216] [PATCH staging] gnu: shepherd: Build it from git, and clean up shepherd-for-guix., Maxime Devos, 2022/03/03
- [bug#54216] [PATCH staging] gnu: shepherd: Build it from git, and clean up shepherd-for-guix., zimoun, 2022/03/03
[bug#54216] [PATCH v3] gnu: shepherd-for-guix: New package for use in Guix., Attila Lendvai, 2022/03/03