From 1d1aea12df344f79460b1a9cc17361711b7d9c51 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 17 Apr 2024 17:54:05 +0200 Subject: [PATCH 1/3] ci: Set environment `NIX_ABORT_ON_WARN=true` Resolves ngi-nix/ngipkgs#155 --- .github/workflows/check.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 60cc71a6..206564cb 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -1,4 +1,4 @@ -name: nix flake check +name: nix flake on: push: @@ -8,6 +8,18 @@ on: workflow_dispatch: jobs: + eval: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - uses: DeterminateSystems/nix-installer-action@main + with: + extra-conf: | + experimental-features = no-url-literals + - run: nix ${{ runner.debug && '--debug' }} flake check --impure --no-build --show-trace + env: + NIX_ABORT_ON_WARN: true + check: runs-on: ubuntu-22.04 steps: From cf7a0ca31da543c8a39b720911ac26be01a03281 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 17 Apr 2024 18:38:51 +0200 Subject: [PATCH 2/3] flake: Fix evaluation --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index bcaa57b7..3adabb07 100644 --- a/flake.nix +++ b/flake.nix @@ -139,6 +139,8 @@ domain = "invalid"; hostName = "options"; }; + + system.stateVersion = "23.05"; } ] ++ attrValues self.nixosModules; From 07e87465dd0af3f17be9323de25d5faf3e69cac4 Mon Sep 17 00:00:00 2001 From: Lorenz Leutgeb Date: Wed, 17 Apr 2024 18:44:57 +0200 Subject: [PATCH 3/3] mcaptcha: Fix license SPDX identifier Seems to match with the file name of the license at . I might file a PR later. --- pkgs/by-name/mcaptcha/frontend-package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/mcaptcha/frontend-package.json b/pkgs/by-name/mcaptcha/frontend-package.json index bb0d0fdd..c9598b87 100644 --- a/pkgs/by-name/mcaptcha/frontend-package.json +++ b/pkgs/by-name/mcaptcha/frontend-package.json @@ -2,7 +2,7 @@ "name": "vanilla", "main": "index.js", "version": "1.0.0", - "license": "AGPL-3.0", + "license": "AGPL-3.0-or-later", "scripts": { "build": "webpack --mode production", "lint": "yarn run eslint templates",