summaryrefslogtreecommitdiff
path: root/gnu/services.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/services.scm')
-rw-r--r--gnu/services.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/services.scm b/gnu/services.scm
index cc2540ee50d..2abef557d46 100644
--- a/gnu/services.scm
+++ b/gnu/services.scm
@@ -482,11 +482,8 @@ configuration being used."
482(define (provenance-entry config-file) 482(define (provenance-entry config-file)
483 "Return system entries describing the operating system provenance: the 483 "Return system entries describing the operating system provenance: the
484channels in use and CONFIG-FILE, if it is true." 484channels in use and CONFIG-FILE, if it is true."
485 (define profile
486 (current-profile))
487
488 (define channels 485 (define channels
489 (and=> profile profile-channels)) 486 (current-channels))
490 487
491 (mbegin %store-monad 488 (mbegin %store-monad
492 (let ((config-file (cond ((string? config-file) 489 (let ((config-file (cond ((string? config-file)