diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a3f4fce3..a349cb07 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -37,7 +37,7 @@ jobs: uses: DeterminateSystems/nix-installer-action@main - name: Check formatting via Alejandra - run: nix run nixpkgs#alejandra -- --check . --exclude npins + run: nix run nixpkgs#alejandra -- -c . check-typos: name: "Check source tree for typos" diff --git a/flake.lock b/flake.lock index 540715e9..e31038ab 100644 --- a/flake.lock +++ b/flake.lock @@ -38,11 +38,11 @@ }, "mnw": { "locked": { - "lastModified": 1744592022, - "narHash": "sha256-QuWrCRiF3CUM99sgj3gXbIzB1IAVWS5IEfFHadbMA2g=", + "lastModified": 1744497692, + "narHash": "sha256-ikWRNR/P/aKCCySZnUfF1W0u0t6rSoJgQgKeDdCBAK8=", "owner": "Gerg-L", "repo": "mnw", - "rev": "cf9e19413b6c2d995b55565cd99facf9c751b653", + "rev": "c5322a2bf74c0066fd15ca35721561397a2e7eab", "type": "github" }, "original": { diff --git a/npins/sources.nix b/npins/sources.nix index 3ae0b99e..162f1d94 100644 --- a/npins/sources.nix +++ b/npins/sources.nix @@ -98,9 +98,7 @@ builtins.mapAttrs Channel = getZip; Tarball = getUrl; } - .${ - spec.type - } + .${spec.type} or (builtins.throw "Unknown source type ${spec.type}"); in spec // {outPath = mayOverride (func spec);}