(use-modules (guix packages) (guix gexp) (guix search-paths) (guix build-system trivial) ((guix licenses) #:prefix license:) (gnu packages) (gnu packages base) (gnu packages bash) (gnu packages build-tools) (gnu packages commencement) (gnu packages compression) (gnu packages glib) (gnu packages gnome) (gnu packages gtk) (gnu packages linux) (gnu packages pkg-config) (gnu packages webkit) (gnu packages haskell) (gnu packages haskell-xyz) (gnu packages haskell-apps) (gnu packages haskell-web) (abbe packages ghc)) (package (name "svitak-dev-env") (version "0.1") (source #f) (build-system trivial-build-system) ;; Dummy package output. The package itself builds nothing; ;; it only exists to pull a full dev environment into a shell/profile. (arguments (list #:builder #~(begin (mkdir #$output) #t))) ;; These make guix shell compute the right environment variables. (native-search-paths (list (search-path-specification (variable "PKG_CONFIG_PATH") (files '("lib/pkgconfig" "share/pkgconfig"))) (search-path-specification (variable "GI_TYPELIB_PATH") (files '("lib/girepository-1.0"))) (search-path-specification (variable "XDG_DATA_DIRS") (files '("share"))) (search-path-specification (variable "LIBRARY_PATH") (files '("lib"))) (search-path-specification (variable "LD_LIBRARY_PATH") (files '("lib"))) (search-path-specification (variable "C_INCLUDE_PATH") (files '("include"))))) (propagated-inputs (list bash-minimal coreutils gcc-toolchain binutils gnu-make pkg-config (specification->package "ghc@9.10.2") cabal-install (list haskell-language-server-bin "9.10.2") cairo pango gtk webkitgtk at-spi2-core gdk-pixbuf glib libsoup zlib harfbuzz gsettings-desktop-schemas gobject-introspection adwaita-icon-theme)) (synopsis "Svitak development environment") (description "Development environment for building Svitak with Haskell, GTK, and WebKit.") (home-page "https://example.org") (license license:expat))