Commit 2c1dc51b authored by Valentin Reis's avatar Valentin Reis
Browse files

utils lib update.

parent 05b98a74
Pipeline #5990 passed with stages
in 2 minutes and 47 seconds
let
f = { mkDerivation, stdenv
, cabal-install
, apply-refact
, hdevtools
, hindent
, haskell-tools-refactor
, fswatch
, hlint
, protolude
, shake
, brittany
, ghcid
}:
mkDerivation {
pname = "dummy";
version = "";
src = "";
libraryHaskellDepends = [
cabal-install
apply-refact
hdevtools
hindent
haskell-tools-refactor
fswatch
hlint
protolude
shake
brittany
ghcid
];
description = "";
license = stdenv.lib.licenses.mit;
};
in
rec {
filter = path:
builtins.filterSource (path: _:
......@@ -14,22 +50,14 @@ rec {
htop
];
devHPackages = p: with p; [
cabal-install
apply-refact
hdevtools
hindent
hlint
shake
brittany
ghcid
];
getHackEnv = pkgs: super: package : super.shellFor {
packages = p: [package];
withHoogle = true;
buildInputs = devInputs pkgs ++ devHPackages super;
};
packages = p: [
package
(pkgs.haskellPackages.callPackage f {})
];
withHoogle = true;
buildInputs = devInputs pkgs;
};
cabalDevLoader = self: path: set:
(self.callCabal2nix (baseNameOf path) (filter path) set);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment