1
1
mirror of https://github.com/google/ormolu.git synced 2024-12-11 08:44:45 +03:00
ormolu/nix/gitignore/default.nix
Luc Tielen 6b73283246 Clean nix configuration
* Point to more recent nixpkgs commit. This fixes build issue with python
  3.7.3 (only on darwin?).

* Separate shell.nix and default.nix. This is so that lorri can be used for
  development.

* Add nix output to .gitignore.

* Format *.nix using nixfmt.

* Use gitignore for filtering files in nix derivation.
2019-06-23 19:17:05 +02:00

9 lines
329 B
Nix

{ lib }:
let
rev = "ec5dd0536a5e4c3a99c797b86180f7261197c124";
sha256 = "0k2r8y21rn4kr5dmddd3906x0733fs3bb8hzfpabkdav3wcy3klv";
url = "https://github.com/hercules-ci/gitignore/archive/${rev}.tar.gz";
nixGitIgnore = builtins.fetchTarball { inherit url sha256; };
in (import nixGitIgnore { inherit lib; }).gitignoreSource