aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
blob: 44ae49ac1c5631711badbd0054642c3f6b7d5694 (about) (plain)
blob size (214KB) exceeds display size limit (100KB).
ption value='1'>ssdiff
authorArun Isaac <arunisaac@systemreboot.net>2022-06-13 17:07:02 +0530
committerArun Isaac <arunisaac@systemreboot.net>2022-06-25 01:43:08 +0530
commit037bfd85458dd0b32a6dd85b7c12e85e3dd716ae (patch)
treeb8fadec06cb636897e958f6fc8dc17d0db80f798
parent8452fdaccfa05c061ae5ca3d39f0228a8b9a347c (diff)
downloadguix-037bfd85458dd0b32a6dd85b7c12e85e3dd716ae.tar.gz
guix-037bfd85458dd0b32a6dd85b7c12e85e3dd716ae.zip
services: pcscd: Use switch-symlinks from (guix build utils).
switch-symlinks has been moved to (guix build utils). We need not duplicate it anymore. * gnu/services/security-token.scm (pcscd-activation): Use switch-symlinks from (guix build utils).
Diffstat
-rw-r--r--gnu/services/security-token.scm9
1 files changed, 2 insertions, 7 deletions
diff --git a/gnu/services/security-token.scm b/gnu/services/security-token.scm
index 52afad84a6..2356273398 100644
--- a/gnu/services/security-token.scm
+++ b/gnu/services/security-token.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2018, 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
;;;
@@ -74,12 +74,7 @@
'((guix build utils)))
#~(begin
(use-modules (guix build utils))
- ;; XXX: We can't use (guix utils) because it requires a
- ;; dynamically-linked Guile, hence the duplicate switch-symlinks.
- (define (switch-symlinks link target)
- (let ((pivot (string-append link ".new")))
- (symlink target pivot)
- (rename-file pivot link)))
+
(mkdir-p "/var/lib")
(switch-symlinks "/var/lib/pcsc"
#$(directory-union