lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

mdevctl: fix script dir location

+21 -2
+3 -2
nixos/modules/programs/mdevctl.nix
··· 16 16 config = lib.mkIf cfg.enable { 17 17 environment.systemPackages = with pkgs; [ mdevctl ]; 18 18 19 - environment.etc."mdevctl.d/scripts.d/notifiers/.keep".text = ""; 20 - environment.etc."mdevctl.d/scripts.d/callouts/.keep".text = ""; 19 + environment.etc."mdevctl.d/.keep".text = ""; 20 + environment.etc."mdevctl/scripts.d/notifiers/.keep".text = ""; 21 + environment.etc."mdevctl/scripts.d/callouts/.keep".text = ""; 21 22 22 23 }; 23 24 }
+5
pkgs/by-name/md/mdevctl/package.nix
··· 15 15 hash = "sha256-4K4NW3DOTtzZJ7Gg0mnRPr88YeqEjTtKX+C4P8i923E="; 16 16 }; 17 17 18 + # https://github.com/mdevctl/mdevctl/issues/111 19 + patches = [ 20 + ./script-dir.patch 21 + ]; 22 + 18 23 useFetchCargoVendor = true; 19 24 cargoHash = "sha256-xfrW7WiKBM9Hz49he/42z9gBrwZ3sKGH/u105hcyln0="; 20 25
+13
pkgs/by-name/md/mdevctl/script-dir.patch
··· 1 + diff --git a/src/environment.rs b/src/environment.rs 2 + index 3db5933..f6da56c 100644 3 + --- a/src/environment.rs 4 + +++ b/src/environment.rs 5 + @@ -35,7 +35,7 @@ pub trait Environment { 6 + } 7 + 8 + fn scripts_base(&self) -> PathBuf { 9 + - self.root().join("usr/lib/mdevctl/scripts.d") 10 + + self.root().join("etc/mdevctl/scripts.d") 11 + } 12 + 13 + fn callout_dir(&self) -> PathBuf {