packageify
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
stdenv,
|
||||
...
|
||||
}: let
|
||||
ghcExeOptions = "-O -Wall -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -main-is Examples.main";
|
||||
ghcExeOptions = "-O -Wall -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-export-lists -Wmissing-home-modules -Wpartial-fields -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N -main-is Language.GLSL.Examples.main";
|
||||
ghcPackages = p: [
|
||||
p.relude
|
||||
p.pretty-simple
|
||||
@@ -22,7 +22,7 @@ in
|
||||
configurePhase = ''
|
||||
'';
|
||||
buildPhase = ''
|
||||
ghc ${ghcExeOptions} ./Examples.hs -o ./Main
|
||||
ghc ${ghcExeOptions} ./Language/GLSL/Examples.hs -o ./Main
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
Reference in New Issue
Block a user