From c6de176b0b207ba2d3da7b6ea2d93d49449f93e6 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 16 Nov 2024 23:46:43 +0000 Subject: [PATCH] fix: jujutsu tests fail on new version --- flake.lock | 91 +++++++++++++++++++++++++++++++++++++++++++++++++----- flake.nix | 7 +++++ 2 files changed, 91 insertions(+), 7 deletions(-) diff --git a/flake.lock b/flake.lock index 9721ee0..0b650cf 100644 --- a/flake.lock +++ b/flake.lock @@ -195,6 +195,24 @@ "inputs": { "systems": "systems" }, + "locked": { + "lastModified": 1726560853, + "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_2" + }, "locked": { "lastModified": 1710146030, "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", @@ -208,9 +226,9 @@ "type": "indirect" } }, - "flake-utils_2": { + "flake-utils_3": { "inputs": { - "systems": "systems_2" + "systems": "systems_3" }, "locked": { "lastModified": 1705309234, @@ -226,9 +244,9 @@ "type": "github" } }, - "flake-utils_3": { + "flake-utils_4": { "inputs": { - "systems": "systems_3" + "systems": "systems_4" }, "locked": { "lastModified": 1726560853, @@ -297,11 +315,33 @@ "type": "github" } }, + "jujutsu": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1731797343, + "narHash": "sha256-y33gAd6RJo4O1/AS5yP9quxNkWJTAvOwap1hA9RIo2w=", + "owner": "martinvonz", + "repo": "jj", + "rev": "e8bbd89ec16b9c5f339bb31954eb57769a6e797f", + "type": "github" + }, + "original": { + "owner": "martinvonz", + "repo": "jj", + "type": "github" + } + }, "mac-app-util": { "inputs": { "cl-nix-lite": "cl-nix-lite", "flake-compat": "flake-compat", - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "nixpkgs": [ "nixpkgs" ] @@ -374,7 +414,7 @@ }, "nix2vim": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": "flake-utils_3", "nixpkgs": [ "nixpkgs" ] @@ -603,6 +643,7 @@ "gh-collaborators": "gh-collaborators", "hmts-nvim-src": "hmts-nvim-src", "home-manager": "home-manager", + "jujutsu": "jujutsu", "mac-app-util": "mac-app-util", "nextcloud-cookbook": "nextcloud-cookbook", "nextcloud-external": "nextcloud-external", @@ -637,6 +678,27 @@ "zenyd-mpv-scripts": "zenyd-mpv-scripts" } }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "jujutsu", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1729304879, + "narHash": "sha256-H7KGGJUU9BcDNnfXiATBGgs6FJKWQdfftNJS+/v2aMU=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "b259ef799b5ac014604da71ecd92d4a52603ed2d", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "snipe-nvim-src": { "flake": false, "locked": { @@ -698,6 +760,21 @@ "type": "github" } }, + "systems_4": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "telescope-nvim-src": { "flake": false, "locked": { @@ -898,7 +975,7 @@ "wsl": { "inputs": { "flake-compat": "flake-compat_2", - "flake-utils": "flake-utils_3", + "flake-utils": "flake-utils_4", "nixpkgs": [ "nixpkgs" ] diff --git a/flake.nix b/flake.nix index 39fbb55..ad2c6b3 100644 --- a/flake.nix +++ b/flake.nix @@ -175,6 +175,12 @@ flake = false; }; + # Git alternative + # Fixes: https://github.com/martinvonz/jj/issues/4784 + jujutsu = { + url = "github:martinvonz/jj"; + }; + # Ren and rep - CLI find and replace rep = { url = "github:robenkleene/rep-grep"; @@ -260,6 +266,7 @@ overlays = [ inputs.nur.overlay inputs.nix2vim.overlay + inputs.jujutsu.overlays.default # Fix: https://github.com/martinvonz/jj/issues/4784 (import ./overlays/neovim-plugins.nix inputs) (import ./overlays/disko.nix inputs) (import ./overlays/tree-sitter.nix inputs)