effitask: fix build

This commit is contained in:
Matthias Devlamynck 2020-09-30 12:30:51 +02:00
parent e1773ee0bb
commit ab0e7bffa0

View file

@ -4,6 +4,7 @@
, pkg-config
, openssl
, gtk3
, rust
}:
rustPlatform.buildRustPackage rec {
@ -29,7 +30,7 @@ rustPlatform.buildRustPackage rec {
# default installPhase don't install assets
installPhase = ''
runHook preInstall
make install PREFIX="$out"
make install PREFIX="$out" TARGET="target/${rust.toRustTarget stdenv.hostPlatform}/release/effitask"
runHook postInstall
'';