Guix: Generate manifest with Guile
parent
3c7ad43199
commit
41992e4f3a
|
@ -0,0 +1,17 @@
|
|||
(use-modules (guix profiles)
|
||||
(ice-9 match)
|
||||
(ice-9 pretty-print))
|
||||
|
||||
(match (command-line)
|
||||
((_ where)
|
||||
(pretty-print
|
||||
`(specifications->manifest
|
||||
',(map (lambda (entry)
|
||||
(let ((out (manifest-entry-output entry)))
|
||||
(if (string= out "out")
|
||||
(manifest-entry-name entry)
|
||||
(format #f "~a:~a"
|
||||
(manifest-entry-name entry)
|
||||
(manifest-entry-output entry)))))
|
||||
(manifest-entries (profile-manifest where))))))
|
||||
(_ (error "Please provide the path to a Guix profile.")))
|
|
@ -21,15 +21,8 @@ fi
|
|||
|
||||
## Guix
|
||||
if command -v guix >/dev/null 2>&1; then
|
||||
cat<<EOF>"$PKG_ROOT/guix"
|
||||
;; -*- mode: scheme; -*-
|
||||
(specifications->manifest
|
||||
'(
|
||||
EOF
|
||||
guix package -I | awk '{printf("\"%s", $1); if($3!="out") {printf("%s", ":" $3)}; print "\""}' | LC_ALL=C sort >>"$PKG_ROOT/guix"
|
||||
echo "))" >>"$PKG_ROOT/guix"
|
||||
|
||||
guix --version >"$PKG_ROOT/guix-version"
|
||||
guile -s ~/.guix-packages/manifest-to-manifest.scm ~/.guix-profile >"$PKG_ROOT/guix-manifest.scm"
|
||||
guix --version | awk '{print $4; exit}' >"$PKG_ROOT/guix-version"
|
||||
fi
|
||||
|
||||
YELLOW='\033[0;33m\033[1m'
|
||||
|
|
|
@ -1,229 +0,0 @@
|
|||
(specifications->manifest
|
||||
'(
|
||||
"acpi"
|
||||
"adwaita-icon-theme"
|
||||
"aegisub"
|
||||
"aircrack-ng"
|
||||
"alsa-utils"
|
||||
"aspell"
|
||||
"aspell-dict-de"
|
||||
"aspell-dict-en"
|
||||
"aspell-dict-fr"
|
||||
"asymptote"
|
||||
"atool"
|
||||
"audacity"
|
||||
"bluez"
|
||||
"bzip2"
|
||||
"catdoc"
|
||||
"ccrypt"
|
||||
"certbot"
|
||||
"clinfo"
|
||||
"clhs"
|
||||
"cloc"
|
||||
"clyrics"
|
||||
"conky"
|
||||
"cryptsetup"
|
||||
"demlo"
|
||||
"diffoscope"
|
||||
"dmidecode"
|
||||
"docx2txt"
|
||||
"dosfstools"
|
||||
"dtach"
|
||||
"dzen"
|
||||
"e2fsprogs"
|
||||
"electrum"
|
||||
"emacs"
|
||||
"emacs-auctex"
|
||||
"emacs-bash-completion"
|
||||
"emacs-blimp"
|
||||
"emacs-circe"
|
||||
"emacs-company"
|
||||
"emacs-daemons"
|
||||
"emacs-debbugs"
|
||||
"emacs-elfeed"
|
||||
"emacs-emms"
|
||||
"emacs-engine-mode"
|
||||
"emacs-esh-autosuggest"
|
||||
"emacs-esup"
|
||||
"emacs-evil"
|
||||
"emacs-evil-collection"
|
||||
"emacs-evil-commentary"
|
||||
"emacs-evil-magit"
|
||||
"emacs-evil-multiedit"
|
||||
"emacs-evil-org"
|
||||
"emacs-expand-region"
|
||||
"emacs-exwm"
|
||||
"emacs-fish-completion"
|
||||
"emacs-flycheck"
|
||||
"emacs-geiser"
|
||||
"emacs-gif-screencast"
|
||||
"emacs-google-translate"
|
||||
"emacs-gtk-look"
|
||||
"emacs-guix"
|
||||
"emacs-hackernews"
|
||||
"emacs-helm"
|
||||
"emacs-helm-company"
|
||||
"emacs-helm-descbinds"
|
||||
"emacs-helm-emms"
|
||||
"emacs-helm-eww"
|
||||
"emacs-helm-exwm"
|
||||
"emacs-helm-flycheck"
|
||||
"emacs-helm-ls-git"
|
||||
"emacs-helm-mu"
|
||||
"emacs-helm-org-contacts"
|
||||
"emacs-helm-pass"
|
||||
"emacs-helm-slime"
|
||||
"emacs-helm-system-packages"
|
||||
"emacs-helpful"
|
||||
"emacs-hl-todo"
|
||||
"emacs-iedit"
|
||||
"emacs-image+"
|
||||
"emacs-lispy"
|
||||
"emacs-lispyville"
|
||||
"emacs-lua-mode"
|
||||
"emacs-magit"
|
||||
"emacs-magit-todos"
|
||||
"emacs-markdown-mode"
|
||||
"emacs-mu4e-conversation"
|
||||
"emacs-org"
|
||||
"emacs-org-bullets"
|
||||
"emacs-org-contrib"
|
||||
"emacs-package-lint"
|
||||
"emacs-pdf-tools"
|
||||
"emacs-pinentry"
|
||||
"emacs-pulseaudio-control"
|
||||
"emacs-racket-mode"
|
||||
"emacs-rainbow-delimiters"
|
||||
"emacs-rainbow-mode"
|
||||
"emacs-slime"
|
||||
"emacs-slime-company"
|
||||
"emacs-strace-mode"
|
||||
"emacs-sx"
|
||||
"emacs-synosaurus"
|
||||
"emacs-transmission"
|
||||
"emacs-undo-tree"
|
||||
"emacs-wgrep"
|
||||
"emacs-yasnippet"
|
||||
"emacs-youtube-dl"
|
||||
"emacs-ztree"
|
||||
"encfs"
|
||||
"ffmpeg"
|
||||
"file"
|
||||
"font-dejavu"
|
||||
"fortune-mod"
|
||||
"gawk"
|
||||
"gcc-toolchain"
|
||||
"gettext"
|
||||
"ghostscript"
|
||||
"gifsicle"
|
||||
"gimp"
|
||||
"git"
|
||||
"git:credential-netrc"
|
||||
"git:send-email"
|
||||
"git:subtree"
|
||||
"glibc-utf8-locales"
|
||||
"gmtp"
|
||||
"gnu-standards"
|
||||
"gnupg"
|
||||
"graphviz"
|
||||
"grep"
|
||||
"gtypist"
|
||||
"guile"
|
||||
"guile-charting"
|
||||
"guile-opengl"
|
||||
"guile-readline"
|
||||
"guile-sdl"
|
||||
"guile-sdl2"
|
||||
"guile:debug"
|
||||
"htop"
|
||||
"icecat"
|
||||
"imagemagick"
|
||||
"inkscape"
|
||||
"inxi"
|
||||
"isync"
|
||||
"jmtpfs"
|
||||
"libextractor"
|
||||
"libjpeg-turbo"
|
||||
"libmtp"
|
||||
"light"
|
||||
"lsof"
|
||||
"make"
|
||||
"man-pages"
|
||||
"mcron"
|
||||
"mediainfo"
|
||||
"mlocate"
|
||||
"mpv"
|
||||
"mtools"
|
||||
"mu"
|
||||
"nasm"
|
||||
"nethogs"
|
||||
"nmap"
|
||||
"numlockx"
|
||||
"openssh"
|
||||
"optipng"
|
||||
"p7zip"
|
||||
"password-store"
|
||||
"patchelf"
|
||||
"pavucontrol"
|
||||
"perl-image-exiftool"
|
||||
"pinentry-emacs"
|
||||
"pkg-config"
|
||||
"ploticus"
|
||||
"poppler"
|
||||
"powertop"
|
||||
"pulseaudio"
|
||||
"pwgen"
|
||||
"racket"
|
||||
"recutils"
|
||||
"rmlint"
|
||||
"rsync"
|
||||
"sbcl"
|
||||
"sbcl-next"
|
||||
"scrot"
|
||||
"sdparm"
|
||||
"setxkbmap"
|
||||
"sicp"
|
||||
"smartmontools"
|
||||
"speedtest-cli"
|
||||
"stow"
|
||||
"strace"
|
||||
"subdl"
|
||||
"sxiv"
|
||||
"tcpdump"
|
||||
"the-silver-searcher"
|
||||
"time"
|
||||
"torsocks"
|
||||
"translate-shell"
|
||||
"transmission"
|
||||
"trash-cli"
|
||||
"tree"
|
||||
"uncrustify"
|
||||
"units"
|
||||
"unrar"
|
||||
"unrtf"
|
||||
"unzip"
|
||||
"upx"
|
||||
"v4l-utils"
|
||||
"valgrind"
|
||||
"wget"
|
||||
"wine"
|
||||
"woof"
|
||||
"wordnet"
|
||||
"xbacklight"
|
||||
"xbindkeys"
|
||||
"xcape"
|
||||
"xdg-utils"
|
||||
"xdotool"
|
||||
"xdpyinfo"
|
||||
"xev"
|
||||
"xinit"
|
||||
"xkbcomp"
|
||||
"xkill"
|
||||
"xosd"
|
||||
"xprop"
|
||||
"xrandr"
|
||||
"xrdb"
|
||||
"xss-lock"
|
||||
"youtube-dl"
|
||||
"youtube-viewer"
|
||||
))
|
|
@ -0,0 +1,227 @@
|
|||
(specifications->manifest
|
||||
'("acpi"
|
||||
"adwaita-icon-theme"
|
||||
"aegisub"
|
||||
"aircrack-ng"
|
||||
"alsa-utils"
|
||||
"aspell"
|
||||
"aspell-dict-de"
|
||||
"aspell-dict-en"
|
||||
"aspell-dict-fr"
|
||||
"asymptote"
|
||||
"atool"
|
||||
"audacity"
|
||||
"bluez"
|
||||
"bzip2"
|
||||
"catdoc"
|
||||
"ccrypt"
|
||||
"certbot"
|
||||
"clinfo"
|
||||
"clhs"
|
||||
"cloc"
|
||||
"clyrics"
|
||||
"conky"
|
||||
"cryptsetup"
|
||||
"demlo"
|
||||
"diffoscope"
|
||||
"dmidecode"
|
||||
"docx2txt"
|
||||
"dosfstools"
|
||||
"dtach"
|
||||
"dzen"
|
||||
"e2fsprogs"
|
||||
"electrum"
|
||||
"emacs"
|
||||
"emacs-auctex"
|
||||
"emacs-bash-completion"
|
||||
"emacs-blimp"
|
||||
"emacs-circe"
|
||||
"emacs-company"
|
||||
"emacs-daemons"
|
||||
"emacs-debbugs"
|
||||
"emacs-elfeed"
|
||||
"emacs-emms"
|
||||
"emacs-engine-mode"
|
||||
"emacs-esh-autosuggest"
|
||||
"emacs-esup"
|
||||
"emacs-evil"
|
||||
"emacs-evil-collection"
|
||||
"emacs-evil-commentary"
|
||||
"emacs-evil-magit"
|
||||
"emacs-evil-multiedit"
|
||||
"emacs-evil-org"
|
||||
"emacs-expand-region"
|
||||
"emacs-exwm"
|
||||
"emacs-fish-completion"
|
||||
"emacs-flycheck"
|
||||
"emacs-geiser"
|
||||
"emacs-gif-screencast"
|
||||
"emacs-google-translate"
|
||||
"emacs-gtk-look"
|
||||
"emacs-guix"
|
||||
"emacs-hackernews"
|
||||
"emacs-helm"
|
||||
"emacs-helm-company"
|
||||
"emacs-helm-descbinds"
|
||||
"emacs-helm-emms"
|
||||
"emacs-helm-eww"
|
||||
"emacs-helm-exwm"
|
||||
"emacs-helm-flycheck"
|
||||
"emacs-helm-ls-git"
|
||||
"emacs-helm-mu"
|
||||
"emacs-helm-org-contacts"
|
||||
"emacs-helm-pass"
|
||||
"emacs-helm-slime"
|
||||
"emacs-helm-system-packages"
|
||||
"emacs-helpful"
|
||||
"emacs-hl-todo"
|
||||
"emacs-iedit"
|
||||
"emacs-image+"
|
||||
"emacs-lispy"
|
||||
"emacs-lispyville"
|
||||
"emacs-lua-mode"
|
||||
"emacs-magit"
|
||||
"emacs-magit-todos"
|
||||
"emacs-markdown-mode"
|
||||
"emacs-mu4e-conversation"
|
||||
"emacs-org"
|
||||
"emacs-org-bullets"
|
||||
"emacs-org-contrib"
|
||||
"emacs-package-lint"
|
||||
"emacs-pdf-tools"
|
||||
"emacs-pinentry"
|
||||
"emacs-pulseaudio-control"
|
||||
"emacs-racket-mode"
|
||||
"emacs-rainbow-delimiters"
|
||||
"emacs-rainbow-mode"
|
||||
"emacs-slime"
|
||||
"emacs-slime-company"
|
||||
"emacs-strace-mode"
|
||||
"emacs-sx"
|
||||
"emacs-synosaurus"
|
||||
"emacs-transmission"
|
||||
"emacs-undo-tree"
|
||||
"emacs-wgrep"
|
||||
"emacs-yasnippet"
|
||||
"emacs-youtube-dl"
|
||||
"emacs-ztree"
|
||||
"encfs"
|
||||
"ffmpeg"
|
||||
"file"
|
||||
"font-dejavu"
|
||||
"fortune-mod"
|
||||
"gawk"
|
||||
"gcc-toolchain"
|
||||
"gettext"
|
||||
"ghostscript"
|
||||
"gifsicle"
|
||||
"gimp"
|
||||
"git"
|
||||
"git:credential-netrc"
|
||||
"git:send-email"
|
||||
"git:subtree"
|
||||
"glibc-utf8-locales"
|
||||
"gmtp"
|
||||
"gnu-standards"
|
||||
"gnupg"
|
||||
"graphviz"
|
||||
"grep"
|
||||
"gtypist"
|
||||
"guile"
|
||||
"guile-charting"
|
||||
"guile-opengl"
|
||||
"guile-readline"
|
||||
"guile-sdl"
|
||||
"guile-sdl2"
|
||||
"guile:debug"
|
||||
"htop"
|
||||
"icecat"
|
||||
"imagemagick"
|
||||
"inkscape"
|
||||
"inxi"
|
||||
"isync"
|
||||
"jmtpfs"
|
||||
"libextractor"
|
||||
"libjpeg-turbo"
|
||||
"libmtp"
|
||||
"light"
|
||||
"lsof"
|
||||
"lzip"
|
||||
"make"
|
||||
"man-pages"
|
||||
"mcron"
|
||||
"mediainfo"
|
||||
"mlocate"
|
||||
"mpv"
|
||||
"mtools"
|
||||
"mu"
|
||||
"nasm"
|
||||
"nethogs"
|
||||
"nmap"
|
||||
"numlockx"
|
||||
"openssh"
|
||||
"optipng"
|
||||
"p7zip"
|
||||
"password-store"
|
||||
"patchelf"
|
||||
"pavucontrol"
|
||||
"perl-image-exiftool"
|
||||
"pinentry-emacs"
|
||||
"pkg-config"
|
||||
"poppler"
|
||||
"powertop"
|
||||
"pulseaudio"
|
||||
"pwgen"
|
||||
"racket"
|
||||
"recutils"
|
||||
"rmlint"
|
||||
"rsync"
|
||||
"sbcl"
|
||||
"sbcl-next"
|
||||
"scrot"
|
||||
"sdparm"
|
||||
"setxkbmap"
|
||||
"sicp"
|
||||
"smartmontools"
|
||||
"speedtest-cli"
|
||||
"stow"
|
||||
"strace"
|
||||
"subdl"
|
||||
"sxiv"
|
||||
"tcpdump"
|
||||
"the-silver-searcher"
|
||||
"time"
|
||||
"torsocks"
|
||||
"translate-shell"
|
||||
"transmission"
|
||||
"trash-cli"
|
||||
"tree"
|
||||
"uncrustify"
|
||||
"units"
|
||||
"unrar"
|
||||
"unrtf"
|
||||
"unzip"
|
||||
"upx"
|
||||
"v4l-utils"
|
||||
"valgrind"
|
||||
"wget"
|
||||
"wine"
|
||||
"woof"
|
||||
"wordnet"
|
||||
"xbacklight"
|
||||
"xbindkeys"
|
||||
"xcape"
|
||||
"xdg-utils"
|
||||
"xdotool"
|
||||
"xdpyinfo"
|
||||
"xev"
|
||||
"xinit"
|
||||
"xkbcomp"
|
||||
"xkill"
|
||||
"xosd"
|
||||
"xprop"
|
||||
"xrandr"
|
||||
"xrdb"
|
||||
"xss-lock"
|
||||
"youtube-dl"
|
||||
"youtube-viewer"))
|
|
@ -1,5 +1 @@
|
|||
guix (GNU Guix) fd466fb81558aa9e0e83c9bf26cc1d2bc594a8ce
|
||||
Copyright (C) 2019 the Guix authors
|
||||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
|
||||
This is free software: you are free to change and redistribute it.
|
||||
There is NO WARRANTY, to the extent permitted by law.
|
||||
fd466fb81558aa9e0e83c9bf26cc1d2bc594a8ce
|
||||
|
|
Loading…
Reference in New Issue