fix installPhase

This commit is contained in:
Andre Henriques 2023-05-08 20:29:35 +01:00
parent 15f0343b15
commit 75f1452db0

View File

@ -33,7 +33,7 @@
version = "0.1"; version = "0.1";
src = ./.; src = ./.;
LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib"; LIBCLANG_PATH="${pkgs.llvmPackages.libclang.lib}/lib";
doCheck = false; # doCheck = false;
# RUST_BACKTRACE=1; # RUST_BACKTRACE=1;
buildInputs = with pkgs; [ buildInputs = with pkgs; [
pipewire pipewire
@ -47,12 +47,11 @@
cargoLock = { cargoLock = {
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
}; };
#installPhase = ''
# mkdir -p $out/bin
# #cp ./target/release/pipewire-autoconnect $out/bin
#'';
}; };
installPhase = ''
mkdir -p $out/bin
cp target/release/pipewire-autoconnect $out/bin
'';
}); });
}; };
} }