diff --git a/.direnv/flake-profile b/.direnv/flake-profile index e289079..40be88b 120000 --- a/.direnv/flake-profile +++ b/.direnv/flake-profile @@ -1 +1 @@ -flake-profile-4-link \ No newline at end of file +flake-profile-5-link \ No newline at end of file diff --git a/.direnv/flake-profile-4-link b/.direnv/flake-profile-4-link deleted file mode 120000 index c725eaa..0000000 --- a/.direnv/flake-profile-4-link +++ /dev/null @@ -1 +0,0 @@ -/nix/store/w5360780glm3vqyyfsa70xnxxc79zxih-nix-shell-env \ No newline at end of file diff --git a/.direnv/flake-profile-5-link b/.direnv/flake-profile-5-link new file mode 120000 index 0000000..02108f2 --- /dev/null +++ b/.direnv/flake-profile-5-link @@ -0,0 +1 @@ +/nix/store/7xjfqyrvi0kbpxnm4ys31xgn1f89wg56-nix-shell-env \ No newline at end of file diff --git a/nix/keyboard.nix b/nix/keyboard.nix index f87e3b5..0f67641 100644 --- a/nix/keyboard.nix +++ b/nix/keyboard.nix @@ -8,10 +8,6 @@ , dbus , xorg , pulseaudio -, cargo -, rust-analyzer -, rustc -, clippy , lib , ... }: @@ -45,10 +41,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config wrapGAppsHook4 - cargo - rustc - rust-analyzer - clippy + rust-bin.nightly."2024-05-10".default ]; copyLibs = true; @@ -56,7 +49,7 @@ rustPlatform.buildRustPackage rec { postInstall = '' mkdir -p $HOME/.config/reset mkdir -p $HOME/.config/reset/plugins - ln -sf $out/target/release/lib${pname}.so $HOME/.config/reset/plugins/. + ln -sf $out/target/release/lib${pname}_plugin.so $HOME/.config/reset/plugins/. ''; meta = with lib; { diff --git a/nix/monitor.nix b/nix/monitor.nix index 765fd3b..3a19585 100644 --- a/nix/monitor.nix +++ b/nix/monitor.nix @@ -7,10 +7,6 @@ , libadwaita , dbus , pulseaudio -, cargo -, rust-analyzer -, rustc -, clippy , lib , ... }: @@ -46,10 +42,7 @@ rustPlatform.buildRustPackage rec { nativeBuildInputs = [ pkg-config wrapGAppsHook4 - cargo - rustc - rust-analyzer - clippy + rust-bin.nightly."2024-05-10".default ]; copyLibs = true;