[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Replacing polkit by polkit-duktape on core-updates-frozen ?
From: |
Maxim Cournoyer |
Subject: |
Re: Replacing polkit by polkit-duktape on core-updates-frozen ? |
Date: |
Tue, 23 Nov 2021 23:02:10 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hello,
Ludovic Courtès <ludo@gnu.org> writes:
> Hi,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> gnu: polkit: Define polkit package variable based on architecture.
>>
>> * gnu/packages/polkit.scm (polkit): Rename to...
>> (polkit*): ... this.
>> (polkit-duktape): Adjust to inherit from polkit*.
>> (polkit-for-system): New procedure.
>> (polkit): New variable.
>
> LGTM!
>
>> But my "test" fails the same:
>>
>> $ ./pre-inst-env guix build --system=aarch64-linux \
>> -e '(@ (gnu packages polkit) polkit)' -n |& grep polkit
>> /gnu/store/dw11y85xfsb8hcg7w2cw57f1xfs4i74m-polkit-0.120.drv
>> /gnu/store/ric7yf4ra2p14p29fwsh18m1nakciakv-polkit-0.120.tar.xz
>
> That’s expected because here you’re effectively calling
> (%current-system) from the top level, and that’s x86_64.
>
> A good test is to try and build one of its dependents:
>
> guix build -s aarch64-linux gnome-control-center -n
>
> should list polkit-duktape.
Arf, here's what it throws, after adding the missing polkit export:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build -s aarch64-linux gnome-control-center -n
guix build: error: gnu/packages/gnome.scm:5299:2: package
`colord-minimal@1.4.5' has an invalid input: ("polkit" #<syntax-transformer
polkit>)
--8<---------------cut here---------------end--------------->8---
I don't see how it's different from pkg-config... Ideas?
> Are we done and ready for merging once this patch has been applied to
> ‘core-updates-frozen’?
Mostly, after applying fixes from jpoiret for GDM icons I believe
(thanks!); I'll also have to debug why my GDM-less desktop won't allow
me to login anymore (https://issues.guix.gnu.org/52051).
Thank you!
Maxim
0001-gnu-polkit-Define-polkit-package-variable-based-on-a.patch
Description: Text Data
- Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/11
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Thiago Jung Bauermann, 2021/11/11
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Ludovic Courtès, 2021/11/17
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/21
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Ludovic Courtès, 2021/11/22
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/22
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/22
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Ludovic Courtès, 2021/11/23
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Thiago Jung Bauermann, 2021/11/23
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/23
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?,
Maxim Cournoyer <=
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Josselin Poiret, 2021/11/24
- Re: Replacing polkit by polkit-duktape on core-updates-frozen ?, Maxim Cournoyer, 2021/11/24