diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
commit | 8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 (patch) | |
tree | d03b70f693463fc836a8dbe4240424d2547530c8 /pkgs/mywatch | |
parent | c4273035cf5876e3ba8ed2c6b492d31c2de290ee (diff) | |
download | nixsap-8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3.tar.gz |
(* HUGE *) Use nixpkgs overlays
Diffstat (limited to 'pkgs/mywatch')
-rw-r--r-- | pkgs/mywatch/default.nix | 11 | ||||
-rw-r--r-- | pkgs/mywatch/main.nix | 21 |
2 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/mywatch/default.nix b/pkgs/mywatch/default.nix new file mode 100644 index 0000000..673ac17 --- /dev/null +++ b/pkgs/mywatch/default.nix @@ -0,0 +1,11 @@ +{ haskell, haskellPackages }: + +let myHaskellPkgs = haskellPackages.override { + overrides = self: super: { + mysql = haskell.lib.dontCheck super.mysql; + mysql-simple = haskell.lib.dontCheck super.mysql-simple; + }; +}; + +in myHaskellPkgs.callPackage ./main.nix { } + diff --git a/pkgs/mywatch/main.nix b/pkgs/mywatch/main.nix new file mode 100644 index 0000000..8d78483 --- /dev/null +++ b/pkgs/mywatch/main.nix @@ -0,0 +1,21 @@ +{ mkDerivation, aeson, base, bytestring, ConfigFile +, data-default-class, docopt, fast-logger, filepath, http-types +, interpolatedstring-perl6, MissingH, mtl, mysql, mysql-simple +, network, resource-pool, scotty, stdenv, text, unix +, unordered-containers, wai, wai-extra, wai-middleware-static, warp +}: +mkDerivation { + pname = "mywatch"; + version = "0.3.0"; + sha256 = "1a7fqyn0pvnbxzn9fiaib4pj7hq5p2qgnbdwryg70lkgnjm4y0h4"; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + aeson base bytestring ConfigFile data-default-class docopt + fast-logger filepath http-types interpolatedstring-perl6 MissingH + mtl mysql mysql-simple network resource-pool scotty text unix + unordered-containers wai wai-extra wai-middleware-static warp + ]; + description = "Web application to view and kill MySQL queries"; + license = stdenv.lib.licenses.mit; +} |