Skip to content

Commit

Permalink
nix: Move back to versioned rust-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
DashieTM committed Jun 3, 2024
1 parent ccd39d3 commit 003f6c0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .direnv/flake-profile
1 change: 0 additions & 1 deletion .direnv/flake-profile-4-link

This file was deleted.

1 change: 1 addition & 0 deletions .direnv/flake-profile-5-link
11 changes: 2 additions & 9 deletions nix/keyboard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
, dbus
, xorg
, pulseaudio
, cargo
, rust-analyzer
, rustc
, clippy
, lib
, ...
}:
Expand Down Expand Up @@ -45,18 +41,15 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [
pkg-config
wrapGAppsHook4
cargo
rustc
rust-analyzer
clippy
rust-bin.nightly."2024-05-10".default
];

copyLibs = true;

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; {
Expand Down
9 changes: 1 addition & 8 deletions nix/monitor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
, libadwaita
, dbus
, pulseaudio
, cargo
, rust-analyzer
, rustc
, clippy
, lib
, ...
}:
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 003f6c0

Please sign in to comment.