diff --git a/shell.nix b/shell.nix index 6d48b6f..9be2f49 100644 --- a/shell.nix +++ b/shell.nix @@ -20,7 +20,8 @@ pkgs.mkShell { RUST_BACKTRACE = 1; - shellHook = '' - alias gust=/home/nixolas/Documents/Gust/target/debug/gust - ''; + shellHook = '' + cargo install --locked bacon + export PATH=$HOME/.cargo/bin:$PATH +''; } diff --git a/src/music_player.rs b/src/music_player.rs index 34a47b7..a691d5e 100644 --- a/src/music_player.rs +++ b/src/music_player.rs @@ -1,5 +1,5 @@ //use rodio::decoder::DecoderError; -use rodio::{Decoder, OutputStream, OutputStreamHandle, Sink}; +use rodio::{Decoder, OutputStreamHandle, Sink}; use std::fs::File; use std::io::BufReader;