Advertisement
mason1920

ABOMINATION OF GUILE

Jan 11th, 2023 (edited)
1,878
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 2.46 KB | Source Code | 0 0
  1. (define-syntax import-from (syntax-rules ()
  2.   ((_ ((partial ...) ((completion ...) symbols ...)))
  3.     (import (only (partial ... completion ...) symbols ...)))
  4.   ((_ (partial completion rest ...)) (begin
  5.     (import-from (partial completion))
  6.     (import-from (partial rest ...))))
  7.   ((_ library rest ...) (begin
  8.     (import-from library)
  9.     (import-from rest ...)))))
  10.  
  11.  
  12.  
  13. (import-from
  14.   (#!=======!# (guix gexp) #!=========================!#
  15.   ((                 )  local-file                    ;
  16. #!((                !#  plain-file                    ))
  17.   (#!========!# (gnu system) #!=======================!#
  18.   ((          uuid   )  uuid                          )
  19.   ((      keyboard   )  keyboard-layout               )
  20.   ((  file-systems   )  %base-file-systems            ;
  21. #!((                !#  file-system                   ;
  22. #!((                !#  swap-space                    ))
  23.   (#!========!# (gnu bootloader) #!===================!#
  24.   ((                 )  bootloader-configuration      )
  25.   ((          grub   )  grub-efi-bootloader           ))
  26.   (#!========!# (gnu services) #!=====================!#
  27.   ((          base   )  %default-substitute-urls      ;
  28. #!((                !#  %default-authorized-guix-keys ;
  29. #!((                !#  guix-configuration            ;
  30. #!((                !#  guix-service-type             )
  31.   ((          xorg   )  xorg-configuration            ;
  32. #!((                !#  set-xorg-configuration        )
  33.   ((       desktop   )  %desktop-services             ;
  34. #!((                !#  bluetooth-service             ;
  35. #!((                !#  gnome-desktop-service-type    ;
  36. #!((                !#  xfce-desktop-service-type     )
  37.   ((         sound   )  ladspa-service-type           ;
  38. #!((                !#  ladspa-configuration          ;
  39. #!((                !#  pulseaudio-service-type       )
  40.   ((virtualization   )  libvirt-service-type          ;
  41. #!((                !#  virtlog-service-type          ))
  42.   (#!========!# (gnu packages) #!=====================!#
  43.   ((         audio   )  swh-plugins                   )
  44.   ((         certs   )  nss-certs                     )
  45.   ((            wm   )  i3-gaps                       ;
  46. #!((                !#  i3status                      )
  47.   ((      suckless   )  dmenu                         ))
  48.   (#!=====!# (nongnu packages) #!=====================!#
  49.   ((         linux   )  linux                         ;
  50. #!((                !#  linux-firmware                )))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement