From bf6b9bc4d0e44145bb6ea926a24edf696bc66036 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Wed, 8 Mar 2023 17:37:51 -0800 Subject: [PATCH] added bacon --- shell.nix | 7 ++++--- src/music_player.rs | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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;