diff options
author | Luca Bruno <lethalman88@gmail.com> | 2015-03-11 18:34:26 +0100 |
---|---|---|
committer | Luca Bruno <lethalman88@gmail.com> | 2015-03-11 18:34:26 +0100 |
commit | 4a2986e6549c849cd059ff0734c167f50267b99e (patch) | |
tree | 3a3caf2a4537b4baeb89ba8695d4da576b4640f3 /pkgs/applications/editors/music | |
parent | fa3bcc4f1c168d4d6248e214f8c9d996859df7a3 (diff) | |
download | nixpkgs-4a2986e6549c849cd059ff0734c167f50267b99e.tar nixpkgs-4a2986e6549c849cd059ff0734c167f50267b99e.tar.gz nixpkgs-4a2986e6549c849cd059ff0734c167f50267b99e.tar.bz2 nixpkgs-4a2986e6549c849cd059ff0734c167f50267b99e.tar.lz nixpkgs-4a2986e6549c849cd059ff0734c167f50267b99e.tar.xz nixpkgs-4a2986e6549c849cd059ff0734c167f50267b99e.tar.zst nixpkgs-4a2986e6549c849cd059ff0734c167f50267b99e.zip |
tuxguitar: fix nixpkgs tarball job
Diffstat (limited to 'pkgs/applications/editors/music')
-rw-r--r-- | pkgs/applications/editors/music/tuxguitar/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/editors/music/tuxguitar/default.nix b/pkgs/applications/editors/music/tuxguitar/default.nix index 09d30ad4e17..768842a3875 100644 --- a/pkgs/applications/editors/music/tuxguitar/default.nix +++ b/pkgs/applications/editors/music/tuxguitar/default.nix @@ -1,10 +1,10 @@ { stdenv, fetchurl, swt, jdk, makeWrapper, alsaLib }: -let metadata = if stdenv.system == "i686-linux" - then { arch = "x86"; sha256 = "1qmb51k0538pn7gv4nsvhfv33xik4l4af0qmpllkzrikmj8wvzlb"; } - else if stdenv.system == "x86_64-linux" - then { arch = "x86_64"; sha256 = "12af47jhlrh9aq5b3d13l7cdhlndgnfpy61gz002hajbq7i00ixh"; } - else { }; +let metadata = assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"; + if stdenv.system == "i686-linux" then + { arch = "x86"; sha256 = "1qmb51k0538pn7gv4nsvhfv33xik4l4af0qmpllkzrikmj8wvzlb"; } + else + { arch = "x86_64"; sha256 = "12af47jhlrh9aq5b3d13l7cdhlndgnfpy61gz002hajbq7i00ixh"; }; in stdenv.mkDerivation rec { version = "1.2"; name = "tuxguitar-${version}"; |