From 0ed4698d124a4bfd9e57fbe99d89b6a46a7c11f0 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 20 Feb 2022 14:36:28 +0530 Subject: fix bug with tmux-prompt --- flake.lock | 59 ++++++++++++++++++++++--------------------------------- programs/tmux.nix | 4 ++-- 2 files changed, 25 insertions(+), 38 deletions(-) diff --git a/flake.lock b/flake.lock index 06df8e2..4714032 100644 --- a/flake.lock +++ b/flake.lock @@ -2,7 +2,7 @@ "nodes": { "fenix": { "inputs": { - "nixpkgs": "nixpkgs_4", + "nixpkgs": "nixpkgs_3", "rust-analyzer-src": "rust-analyzer-src" }, "locked": { @@ -21,7 +21,7 @@ }, "fenix_2": { "inputs": { - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_5", "rust-analyzer-src": "rust-analyzer-src_2" }, "locked": { @@ -71,7 +71,7 @@ }, "gitignore": { "inputs": { - "nixpkgs": "nixpkgs_5" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1635165013, @@ -89,7 +89,7 @@ }, "gitignore_2": { "inputs": { - "nixpkgs": "nixpkgs_7" + "nixpkgs": "nixpkgs_6" }, "locked": { "lastModified": 1635165013, @@ -130,14 +130,14 @@ "inputs": { "flake-compat": "flake-compat", "neovim-flake": "neovim-flake", - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1643443970, - "narHash": "sha256-NVm4ccMpP72i5kD8izidLD3a4s/5WlWesrYv1Arz8O4=", + "lastModified": 1644135144, + "narHash": "sha256-ga02Em84w/rmDVoHha8PG9wiznz9Ew7ReETbXnokj7M=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "4c80ac9a435c2a0d22cb7067eb65cf3f6962124d", + "rev": "98a805c76bf18c9a45b0e0c729cc0e2975c25628", "type": "github" }, "original": { @@ -149,15 +149,18 @@ "neovim-flake": { "inputs": { "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" + "nixpkgs": [ + "neovim", + "nixpkgs" + ] }, "locked": { "dir": "contrib", - "lastModified": 1643415762, - "narHash": "sha256-qyk81eVlmm2U7apLHZlggoj1v9MIKX1YWWaALPKPNFc=", + "lastModified": 1644113939, + "narHash": "sha256-n5rTM+kjEoXxTqaHle4AhrSiqRW2fc2U+Kor1whbaXQ=", "owner": "neovim", "repo": "neovim", - "rev": "082ff2190c793d21c213748e556191f8aaa76cde", + "rev": "8215c05945054755b2c3cadae198894372dbfe0f", "type": "github" }, "original": { @@ -184,11 +187,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1643347846, - "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", + "lastModified": 1643805626, + "narHash": "sha256-AXLDVMG+UaAGsGSpOtQHPIKB+IZ0KSd9WS77aanGzgc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5bb20f9dc70e9ee16e21cc404b6508654931ce41", + "rev": "554d2d8aa25b6e583575459c297ec23750adb6cb", "type": "github" }, "original": { @@ -199,22 +202,6 @@ } }, "nixpkgs_2": { - "locked": { - "lastModified": 1643169865, - "narHash": "sha256-+KIpNRazbc8Gac9jdWCKQkFv9bjceaLaLhlwqUEYu8c=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "945ec499041db73043f745fad3b2a3a01e826081", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "nixpkgs_3": { "locked": { "lastModified": 1643347846, "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", @@ -230,7 +217,7 @@ "type": "github" } }, - "nixpkgs_4": { + "nixpkgs_3": { "locked": { "lastModified": 1643347846, "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", @@ -246,7 +233,7 @@ "type": "github" } }, - "nixpkgs_5": { + "nixpkgs_4": { "locked": { "lastModified": 1643322911, "narHash": "sha256-WLe4lXAYXH/v80iO02npX1wdXq4nIVEHJTONLXbQrL0=", @@ -260,7 +247,7 @@ "type": "indirect" } }, - "nixpkgs_6": { + "nixpkgs_5": { "locked": { "lastModified": 1643347846, "narHash": "sha256-O0tyXF//ppRpe9yT1Uu5n34yI2MWDyY6ZiJ4Qn5zIkE=", @@ -276,7 +263,7 @@ "type": "github" } }, - "nixpkgs_7": { + "nixpkgs_6": { "locked": { "lastModified": 1643322911, "narHash": "sha256-WLe4lXAYXH/v80iO02npX1wdXq4nIVEHJTONLXbQrL0=", @@ -317,7 +304,7 @@ "home-manager": "home-manager", "neovim": "neovim", "nixos-hardware": "nixos-hardware", - "nixpkgs": "nixpkgs_3", + "nixpkgs": "nixpkgs_2", "prompt": "prompt", "statix": "statix" } diff --git a/programs/tmux.nix b/programs/tmux.nix index 1e3a488..5f58108 100644 --- a/programs/tmux.nix +++ b/programs/tmux.nix @@ -82,8 +82,8 @@ set -ag status-right "#[fg=colour7]#(bat -q)#[fg=colour12]" # status left - set -g status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt cwd #{pane_current_path}) " - set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt vcs #{pane_current_path})" + set -g status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt cwd '#{pane_current_path}') " + set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt vcs '#{pane_current_path}')" ''; }; } -- cgit v1.2.3