unigine-valley: install files to a more idiomatic location

Previously, the entire installation was copied to $out/opt/unigine/valley.
Using $out/lib instead of $out/opt would be more consistent with other Nix packages.
This commit is contained in:
Kier Davis 2016-12-08 16:50:54 +00:00
parent 0d1d1bd7e2
commit c3f49dcaf0
No known key found for this signature in database
GPG Key ID: 8139C5FCEDA73ABF

View File

@ -70,7 +70,7 @@ in
buildPhase = "";
installPhase = ''
instdir=$out/opt/unigine/valley
instdir=$out/lib/unigine/valley
# Install executables and libraries
mkdir -p $instdir/bin
@ -96,7 +96,7 @@ in
meta = {
description = "The Unigine Valley GPU benchmarking tool";
homepage = "http://unigine.com/products/benchmarks/valley/";
license = stdenv.lib.licenses.unfree; # see also: /nix/store/*-unigine-valley-1.0/opt/unigine/valley/documentation/License.pdf
license = stdenv.lib.licenses.unfree; # see also: /nix/store/*-unigine-valley-1.0/lib/unigine/valley/documentation/License.pdf
maintainers = [ stdenv.lib.maintainers.kierdavis ];
platforms = ["x86_64-linux" "i686-linux"];
};