1 Commits
dev ... stash

Author SHA1 Message Date
andromeda
8730c248e8 hooks 2026-04-26 12:22:23 +02:00
3 changed files with 17 additions and 3 deletions

8
SetupHooks.hs Normal file
View File

@@ -0,0 +1,8 @@
module SetupHooks where
import Distribution.Simple.SetupHooks ( SetupHooks, noSetupHooks )
setupHooks :: SetupHooks
setupHooks =
noSetupHooks
{ configureHooks = myConfigureHooks
, buildHooks = myBuildHooks }

View File

@@ -37,7 +37,7 @@
}; };
packages.${system} = { packages.${system} = {
default = default =
(pkgs.haskell.packages.ghc912.callCabal2nix "hs-rgfw" ./. { (pkgs.haskell.packages.ghc914.callCabal2nix "hs-rgfw" ./. {
xi = pkgs.libxi; xi = pkgs.libxi;
gl = pkgs.libGL; gl = pkgs.libGL;
xcursor = pkgs.libxcursor; xcursor = pkgs.libxcursor;

View File

@@ -1,12 +1,18 @@
cabal-version: 3.0 cabal-version: 3.14
name: hs-rgfw name: hs-rgfw
version: 0.1.0 version: 0.1.0
license: GPL-3.0-only license: GPL-3.0-only
license-file: LICENSE license-file: LICENSE
author: Andromeda author: Andromeda
maintainer: Matrix @andromeda:tchncs.de maintainer: Matrix @andromeda:tchncs.de
build-type: Simple build-type: Hooks
extra-doc-files: README.md extra-doc-files: README.md
custom-setup
setup-depends:
base
, Cabal-hooks
common warnings common warnings
ghc-options: -Wall ghc-options: -Wall