From cda104d1fedcd5f49ae82bfb3e5603e68d0d5e81 Mon Sep 17 00:00:00 2001 From: ene Date: Wed, 22 Feb 2023 17:58:39 +0100 Subject: Fix(river): Add further dependency for the init script --- home-manager/config/river/default.nix | 3 ++- home-manager/config/river/init | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'home-manager') diff --git a/home-manager/config/river/default.nix b/home-manager/config/river/default.nix index add1dec8..2d85e802 100644 --- a/home-manager/config/river/default.nix +++ b/home-manager/config/river/default.nix @@ -2,6 +2,7 @@ config, pkgs, sysLib, + river_init_lesser, ... }: { xdg.configFile."river/init".source = @@ -9,7 +10,7 @@ name = "river_init"; script = ./init; dependencies = builtins.attrValues { - # TODO inherit river_init_lesser + river_init_lesser = river_init_lesser.legacyPackages.x86_64-linux.default; inherit (pkgs) dash diff --git a/home-manager/config/river/init b/home-manager/config/river/init index 2f14fcaa..c90c143e 100755 --- a/home-manager/config/river/init +++ b/home-manager/config/river/init @@ -5,7 +5,7 @@ err_fail() { if ! "$@";then - printf "%s\n" "$@" >> ~/river_log + printf "%s\n" "$*" >> ~/river_log exec ~/.config/river/res/safe_init fi } -- cgit 1.4.1