diff --git a/.github/workflows/update-nix-flake.yml b/.github/workflows/update-nix-flake.yml new file mode 100644 index 0000000..3d29be9 --- /dev/null +++ b/.github/workflows/update-nix-flake.yml @@ -0,0 +1,19 @@ +name: update-nix-flake + +on: + workflow_dispatch: + schedule: + # 毎月10日に起動 + - cron: '0 0 10 * *' + +defaults: + run: + shell: bash + +jobs: + call-nix-flake-updater: + uses: ishiy1993/nix-flake-updater/.github/workflows/nix-flake-updater.yml@v0 + with: + base_branch: master + timezone: JST-9 + reviewer: ishiy1993 diff --git a/flake.lock b/flake.lock index 4d6c906..e46c790 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "flake-utils": { "locked": { - "lastModified": 1659877975, - "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "owner": "numtide", "repo": "flake-utils", - "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", "type": "github" }, "original": { @@ -17,16 +17,16 @@ }, "nixpkgs": { "locked": { - "lastModified": 1663067291, - "narHash": "sha256-1BTrqhLMamWf53sJobtMiUDI91PEw6xF8YEwg2VE8w4=", + "lastModified": 1674333941, + "narHash": "sha256-jelQS56nVVFXGOZg6yUZ/3QWgU1Loa4Bzd4+TEPJX+c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d86a4619b7e80bddb6c01bc01a954f368c56d1df", + "rev": "339fc3dcc98f39d08496fb90c0d6b5fb81519246", "type": "github" }, "original": { "owner": "NixOS", - "ref": "nixos-22.05", + "ref": "nixos-22.11", "repo": "nixpkgs", "type": "github" } diff --git a/flake.nix b/flake.nix index c4a0f93..cca4736 100644 --- a/flake.nix +++ b/flake.nix @@ -1,7 +1,7 @@ { description = "nnoir"; inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.05"; + nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11"; flake-utils.url = "github:numtide/flake-utils"; }; outputs = { self, nixpkgs, flake-utils }: @@ -63,7 +63,7 @@ name = "idein/nnoir-tools"; tag = "latest"; created = "now"; - contents = [ + copyToRoot = [ nnoir nnoir-onnx ];