From 3f846161032c44146cf82cac13ea5cb842f21f7f Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Mon, 3 Jun 2024 14:18:58 -0700 Subject: [PATCH] Remove test subflake --- .github/workflows/update.yml | 4 +--- test/subflake/flake.lock | 25 ------------------------- test/subflake/flake.nix | 23 ----------------------- 3 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 test/subflake/flake.lock delete mode 100644 test/subflake/flake.nix diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e1835d1..6f3d4e7 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -20,6 +20,4 @@ jobs: uses: ./. with: _internal-strict-mode: true - flake-dirs: | - . - test/subflake + diff --git a/test/subflake/flake.lock b/test/subflake/flake.lock deleted file mode 100644 index a5657de..0000000 --- a/test/subflake/flake.lock +++ /dev/null @@ -1,25 +0,0 @@ -{ - "nodes": { - "nixpkgs": { - "locked": { - "lastModified": 1716330097, - "narHash": "sha256-8BO3B7e3BiyIDsaKA0tY8O88rClYRTjvAp66y+VBUeU=", - "rev": "5710852ba686cc1fd0d3b8e22b3117d43ba374c2", - "revCount": 629726, - "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.629726%2Brev-5710852ba686cc1fd0d3b8e22b3117d43ba374c2/018fa276-eb5e-762d-b67b-85f281987019/source.tar.gz" - }, - "original": { - "type": "tarball", - "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.%2A.tar.gz" - } - }, - "root": { - "inputs": { - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/test/subflake/flake.nix b/test/subflake/flake.nix deleted file mode 100644 index e0c3040..0000000 --- a/test/subflake/flake.nix +++ /dev/null @@ -1,23 +0,0 @@ -# Used for testing the flake-dirs parameter -{ - description = "update-flake-lock test sub-flake"; - - inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.*.tar.gz"; - - outputs = { self, nixpkgs }: - let - supportedSystems = [ "x86_64-linux" "aarch64-darwin" "aarch64-linux" "x86_64-darwin" ]; - forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f { - pkgs = import nixpkgs { inherit system; }; - }); - in - { - devShells = forEachSupportedSystem ({ pkgs }: { - default = pkgs.mkShell { - packages = with pkgs; [ - ponysay - ]; - }; - }); - }; -}