From 5f8d59c40596fd0d86d1e7ee978cc1249a3a4f24 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Wed, 30 Apr 2025 18:51:29 +0200 Subject: [PATCH] Replace substituteAll with replaceVars --- modules/nixos/graphical/compositor/launcher.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/nixos/graphical/compositor/launcher.nix b/modules/nixos/graphical/compositor/launcher.nix index 44eeef6b..7bbac327 100644 --- a/modules/nixos/graphical/compositor/launcher.nix +++ b/modules/nixos/graphical/compositor/launcher.nix @@ -1,10 +1,8 @@ { pkgs, stdenv }: let - script = pkgs.substituteAll { - src = ./launcher.zsh; + script = pkgs.replaceVars ./launcher.zsh { inherit (pkgs) fzy - jq libqalculate nix pass @@ -12,7 +10,6 @@ let uni zsh ; - # wfRecorder = pkgs.wf-recorder; wlClipboard = pkgs.wl-clipboard; xdgUserDirs = pkgs.xdg-user-dirs; };