Return default shell to minimal state
parent
33c2b5421d
commit
553819dd82
|
@ -120,17 +120,15 @@
|
|||
findFiles = "$(find app -name '*.hs')";
|
||||
in
|
||||
rec {
|
||||
default =
|
||||
thisNative.env.overrideAttrs (a: {
|
||||
nativeBuildInputs = a.nativeBuildInputs ++ [ thisNative.passthru.pkgs.fourmolu ];
|
||||
});
|
||||
default = thisNative.env;
|
||||
ghci = default.overrideAttrs (_: {
|
||||
shellHook = ''
|
||||
ghci ${unwords (options ++ extensions)} ${findFiles}
|
||||
exit $?
|
||||
'';
|
||||
});
|
||||
fourmolu = default.overrideAttrs (_: {
|
||||
fourmolu = default.overrideAttrs (a: {
|
||||
nativeBuildInputs = a.nativeBuildInputs ++ [ thisNative.passthru.pkgs.fourmolu ];
|
||||
shellHook = ''
|
||||
fourmolu --mode inplace \
|
||||
--indentation 2 --check-idempotence --import-export-comma-style leading \
|
||||
|
|
Loading…
Reference in New Issue