Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8730c248e8 |
8
SetupHooks.hs
Normal file
8
SetupHooks.hs
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
module SetupHooks where
|
||||||
|
import Distribution.Simple.SetupHooks ( SetupHooks, noSetupHooks )
|
||||||
|
|
||||||
|
setupHooks :: SetupHooks
|
||||||
|
setupHooks =
|
||||||
|
noSetupHooks
|
||||||
|
{ configureHooks = myConfigureHooks
|
||||||
|
, buildHooks = myBuildHooks }
|
||||||
@@ -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;
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user