This commit is contained in:
andromeda
2026-04-26 12:22:23 +02:00
parent f09e348de8
commit 8730c248e8
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} = {
default =
(pkgs.haskell.packages.ghc912.callCabal2nix "hs-rgfw" ./. {
(pkgs.haskell.packages.ghc914.callCabal2nix "hs-rgfw" ./. {
xi = pkgs.libxi;
gl = pkgs.libGL;
xcursor = pkgs.libxcursor;

View File

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