haskell.lib.packagesFromDirectory: only `.nix` files
This changes `haskell.lib.packagesFromDirectory` to ignore non-Nixfiles so that it doesn't attempt to run `callPackage` on, say, a`.md` file in the same directory.
Gabriella Gonzalez 2 years ago aa75fa1e 5cd79713