From 4085e5b1917a25e2959faaef191cf8d310d81fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 4 Aug 2022 17:46:35 +0200 Subject: [PATCH 1/2] bump deps --- nix/sources.json | 14 +++++++------- nix/tools.nix | 3 +-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/nix/sources.json b/nix/sources.json index 48bdcccf..58a8317f 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -5,22 +5,22 @@ "homepage": "", "owner": "hercules-ci", "repo": "gitignore.nix", - "rev": "2ced4519f865341adcb143c5d668f955a2cb997f", - "sha256": "0fc5bgv9syfcblp23y05kkfnpgh3gssz6vn24frs8dzw39algk2z", + "rev": "f2ea0f8ff1bce948ccb6b893d15d5ea3efaf1364", + "sha256": "02q2yvakyh9x9h9x9az2rr3h6h0zymhrl0z2xflc6blvz6zzqkf2", "type": "tarball", - "url": "https://github.com/hercules-ci/gitignore/archive/2ced4519f865341adcb143c5d668f955a2cb997f.tar.gz", + "url": "https://github.com/hercules-ci/gitignore.nix/archive/f2ea0f8ff1bce948ccb6b893d15d5ea3efaf1364.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nixpkgs": { - "branch": "master", + "branch": "nixos-22.05", "description": "A read-only mirror of NixOS/nixpkgs tracking the released channels. Send issues and PRs to", "homepage": "https://github.com/NixOS/nixpkgs", "owner": "NixOS", "repo": "nixpkgs", - "rev": "77a7a4197740213879b9a1d2e1788c6c8ade4274", - "sha256": "1asrniyxlqxrs4g0l225gvixwy45rbjfskqdz3xnv8xv2law9xk5", + "rev": "478f3cbc8448b5852539d785fbfe9a53304133be", + "sha256": "1xdr33l7hg7v81dm4m5a8hysa33z6gqisq0hyrdkds3yrnnxfp2w", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/77a7a4197740213879b9a1d2e1788c6c8ade4274.tar.gz", + "url": "https://github.com/NixOS/nixpkgs/archive/478f3cbc8448b5852539d785fbfe9a53304133be.tar.gz", "url_template": "https://github.com///archive/.tar.gz" } } diff --git a/nix/tools.nix b/nix/tools.nix index dd4fecf1..bff6da73 100644 --- a/nix/tools.nix +++ b/nix/tools.nix @@ -35,10 +35,9 @@ { inherit hlint shellcheck stylua shfmt hindent cabal-fmt alejandra nixpkgs-fmt nixfmt nix-linter statix rustfmt clippy cargo html-tidy clang-tools hadolint; inherit (elmPackages) elm-format elm-review elm-test; - inherit (haskellPackages) stylish-haskell brittany hpack fourmolu; + inherit (haskellPackages) stylish-haskell brittany hpack fourmolu ormolu; inherit (python39Packages) yamllint ansible-lint; inherit (nodePackages) eslint markdownlint-cli prettier; - ormolu = haskell.packages.ghc921.ormolu; purty = callPackage ./purty { purty = nodePackages.purty; }; terraform-fmt = callPackage ./terraform-fmt { }; hpack-dir = callPackage ./hpack-dir { hpack = haskellPackages.hpack; }; From 8e484ac0e43c69ddead06950e9bc11d19bb5a59a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 4 Aug 2022 18:00:46 +0200 Subject: [PATCH 2/2] simplify flake testing --- .github/workflows/ci.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 872e3128..afdf1f8a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -25,13 +25,11 @@ jobs: - uses: actions/checkout@v3 - uses: cachix/install-nix-action@v17 with: - install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install - install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve' extra_nix_config: | experimental-features = nix-command flakes - uses: cachix/cachix-action@v10 with: name: pre-commit-hooks signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' - - run: nix flake check - - run: nix eval .#lib.x86_64-linux.run + - run: nix flake check --show-trace + - run: nix eval .#lib.x86_64-linux.run --show-trace