implement fix for Ormolu in nix-shell (#1471)

https://github.com/input-output-hk/haskell.nix/issues/1337#issuecomment-1011371831
This commit is contained in:
Peter Becich 2022-05-15 16:40:21 -07:00 committed by GitHub
parent 6d6df8044e
commit 8eeac1d0ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,6 +66,15 @@ in { haskell-nix = prev.haskell-nix // {
})];
};
ormolu = {
modules = [
({ lib, ... }: {
options.nonReinstallablePkgs =
lib.mkOption { apply = lib.remove "Cabal"; };
})
];
};
}."${name}" or {};
}; }