This commit is contained in:
Marko Andjelic 2026-02-22 06:55:20 +00:00
commit 0aefe97fbf
Signed by: marko
GPG key ID: 9C5E99C8C682FB59

View file

@ -1,34 +1,22 @@
(use-modules (guix packages)
(guix download)
(guix build-system haskell)
(gnu packages haskell-xyz)
(gnu packages haskell-check)
(gnu packages pkg-config)
(gnu packages gtk)
(gnu packages webkit)
(gnu packages glib)
(gnu packages xorg))
(use-modules (guix profiles)
(guix search-paths)
(gnu packages)
(gnu packages base))
(package
(name "svitak-dev-env")
(version "0.1")
(source #f) ; No source because this is just for a shell
(build-system haskell-build-system)
(inputs
(list ghc
cabal-install
pkg-config
;; The C libraries haskell-gi needs
gtk
webkitgtk
glib
at-spi2-core ; This replaces/provides the 'atk' pkg-config
pango
cairo
gdk-pixbuf
libx11
zlib))
(home-page #f)
(synopsis "Development environment for svitak")
(description "GHC, Cabal, and GTK4/WebKit dependencies.")
(license #f))
(let ((specs '("ghc" "cabal-install" "pkg-config" "coreutils" "bash" "grep" "sed"
"gobject-introspection" "gcc-toolchain" "make" "glibc-locales"
"gtk" "webkitgtk" "libadwaita" "libsoup" "glib" "glib-networking"
"cairo" "pango" "at-spi2-core" "gdk-pixbuf" "harfbuzz" "fribidi"
"libepoxy" "graphene" "mesa" "wayland" "wayland-protocols"
"libx11" "libxkbcommon" "coreutils" "bash")))
(manifest
(append
(manifest-entries (specifications->manifest specs))
(list (manifest-entry
(name "ld-library-path-automation")
(version "0")
(item (specification->package "bash"))
(search-paths
(list (search-path-specification
(variable "LD_LIBRARY_PATH")
(files '("lib"))))))))))