From 000f942c2708665364ee7618d3b09c74757a25ef Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 3 Aug 2026 00:22:52 -0400 Subject: [PATCH] Build Tangled CI through Nix flake --- .tangled/workflows/build-and-test.yml | 13 +++---------- flake.lock | 8 ++++---- flake.nix | 2 +- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/.tangled/workflows/build-and-test.yml b/.tangled/workflows/build-and-test.yml index 0d17d56..a6bd576 100644 --- a/.tangled/workflows/build-and-test.yml +++ b/.tangled/workflows/build-and-test.yml @@ -6,15 +6,8 @@ engine: nixery dependencies: nixpkgs: - - cargo - - rustc - - clippy - - rustfmt + - nix steps: - - name: Check formatting - command: cargo fmt --check - - name: Lint - command: cargo clippy --all-targets -- -D warnings - - name: Run tests - command: cargo test --all-targets + - name: Build + command: nix build diff --git a/flake.lock b/flake.lock index 50c4663..afea44d 100644 --- a/flake.lock +++ b/flake.lock @@ -2,16 +2,16 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1785599192, - "narHash": "sha256-dg4RTtDxnXY13UkJNdhmgTUTl0n/IJBlCigfO7nutZw=", + "lastModified": 1785571196, + "narHash": "sha256-KoTsyMQqnXQZq8deCEnu4QkyldkwH/bpMMhUcfMdGIw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6d65bfc1bcef2ef39a239d38e577e92a89fb0f07", + "rev": "148bab9c1c3c53136ecb44a6ea356a0ed5b39b06", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-26.05", + "ref": "nixos-unstable", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index 08baaa4..1188830 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "Appa peer-to-peer file sync"; - inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; outputs = { self, nixpkgs }: let -- 2.51.2