3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #99238 from mdevlamynck/fix-effitask

effitask: fix build
This commit is contained in:
WORLDofPEACE 2020-10-01 18:38:26 -04:00 committed by GitHub
commit 5c2446f9aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
'';