diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c2bed20..4fdb841 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,4 +23,4 @@ jobs: - name: Flake check id: flake-check run: | - nix flake check + nix build .#check.x86_64-linux diff --git a/flake.lock b/flake.lock index a63a4f1..c1409d6 100644 --- a/flake.lock +++ b/flake.lock @@ -54,16 +54,16 @@ ] }, "locked": { - "lastModified": 1648232278, + "lastModified": 1648246591, "narHash": "sha256-GDyLjj64sA65MPMlOtzs5DHPK4O5O8u6jMYKiGHgaPU=", - "ref": "lc/fourmolu", - "rev": "822770e9ca42d594a25f5b161f93f21c5d023bbd", - "revCount": 19, + "ref": "master", + "rev": "3a4289e086d48b409c8c6eb51de1d9e405c7f379", + "revCount": 20, "type": "git", "url": "https://gitlab.homotopic.tech/nix/lint-utils.git" }, "original": { - "ref": "lc/fourmolu", + "ref": "master", "type": "git", "url": "https://gitlab.homotopic.tech/nix/lint-utils.git" } diff --git a/flake.nix b/flake.nix index d3e9387..e0cbe76 100644 --- a/flake.nix +++ b/flake.nix @@ -11,7 +11,7 @@ lint-utils = { type = "git"; url = "https://gitlab.homotopic.tech/nix/lint-utils.git"; - ref = "lc/fourmolu"; + ref = "master"; inputs.nixpkgs.follows = "nixpkgs"; }; }; @@ -67,9 +67,9 @@ # Used by `nix flake check` checks = { - format-haskell = inputs.lint-utils.linters.${system}.${haskellFormatter}; - format-cabal = inputs.lint-utils.linters.${system}.cabal; - format-nix = inputs.lint-utils.linters.${system}.nixpkgs-fmt; + format-haskell = inputs.lint-utils.linters.${system}.${haskellFormatter} ./.; + format-cabal = inputs.lint-utils.linters.${system}.cabal-fmt ./.; + format-nix = inputs.lint-utils.linters.${system}.nixpkgs-fmt ./.; }; check = pkgs.runCommand "combined-checks"