Added after build options

This commit is contained in:
Andre Henriques 2023-05-08 19:26:41 +01:00
parent 8b0f920280
commit 15f0343b15

View File

@ -29,8 +29,8 @@
lib = pkgs.lib; lib = pkgs.lib;
in in
pkgs.rustPlatform.buildRustPackage { pkgs.rustPlatform.buildRustPackage {
name = "pipewire-autoconnect"; pname = "pipewire-autoconnect";
verion = "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;
@ -48,6 +48,11 @@
lockFile = ./Cargo.lock; lockFile = ./Cargo.lock;
}; };
}; };
installPhase = ''
mkdir -p $out/bin
cp target/release/pipewire-autoconnect $out/bin
'';
}); });
}; };
} }