Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- meh.cabal --
- name: meh
- version: 0.1.0.0
- synopsis: meh
- license: AllRightsReserved
- build-type: Simple
- cabal-version: >=1.10
- executable meh
- main-is: Main.hs
- build-depends: base >= 4.10.1 && < 4.12
- , aeson >= 1.2.4 && < 1.4
- hs-source-dirs: app
- type: exitcode-stdio-1.0
- default-language: Haskell2010
- ## meh.nix ##
- { mkDerivation, aeson, base, stdenv }:
- mkDerivation {
- pname = "meh";
- version = "0.1.0.0";
- src = ./.;
- isLibrary = false;
- isExecutable = true;
- executableHaskellDepends = [ aeson base ];
- description = "meh";
- license = stdenv.lib.licenses.unfree;
- hydraPlatforms = stdenv.lib.platforms.none;
- }
Advertisement
Add Comment
Please, Sign In to add comment