From 26ebd111bcefc5d84cab545724544a3e57b4a558 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sat, 27 Nov 2021 22:25:35 +0100 Subject: gnu: polkit: Rename default variable to 'polkit-mozjs'. * gnu/packages/polkit.scm (polkit*): Rename to... (polkit-mozjs): ... this. Adjust users. --- gnu/packages/polkit.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/polkit.scm') diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm index 6d88f99b21..4cbe1feaba 100644 --- a/gnu/packages/polkit.scm +++ b/gnu/packages/polkit.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2014 Andreas Enge ;;; Copyright © 2015 Andy Wingo -;;; Copyright © 2015 Ludovic Courtès +;;; Copyright © 2015, 2021 Ludovic Courtès ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Huang Ying @@ -50,7 +50,7 @@ (define-module (gnu packages polkit) #:use-module (gnu packages xml) #:export (polkit)) -(define-public polkit* +(define-public polkit-mozjs (package (name "polkit") (version "0.120") @@ -153,7 +153,7 @@ (define-public polkit* ;;; Variant of polkit built with Duktape, a lighter JavaScript engine compared ;;; to mozjs. (define-public polkit-duktape - (let ((base polkit*)) + (let ((base polkit-mozjs)) (package/inherit base (name "polkit-duktape") (source @@ -186,7 +186,7 @@ (define polkit-for-system "Return a polkit package that can be built for SYSTEM; that is, either the regular polkit that requires mozjs or its duktape variant." (if (string-prefix? "x86_64" system) - polkit* + polkit-mozjs polkit-duktape))) ;;; Define a top level polkit variable that can be built on any of the -- cgit v1.2.3