tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
tuxguitar: fix nixpkgs tarball job
Luca Bruno
11 years ago
4a2986e6
fa3bcc4f
+5
-5
1 changed file
expand all
collapse all
unified
split
pkgs
applications
editors
music
tuxguitar
default.nix
+5
-5
pkgs/applications/editors/music/tuxguitar/default.nix
···
1
1
{ stdenv, fetchurl, swt, jdk, makeWrapper, alsaLib }:
2
2
3
3
-
let metadata = if stdenv.system == "i686-linux"
4
4
-
then { arch = "x86"; sha256 = "1qmb51k0538pn7gv4nsvhfv33xik4l4af0qmpllkzrikmj8wvzlb"; }
5
5
-
else if stdenv.system == "x86_64-linux"
6
6
-
then { arch = "x86_64"; sha256 = "12af47jhlrh9aq5b3d13l7cdhlndgnfpy61gz002hajbq7i00ixh"; }
7
7
-
else { };
3
3
+
let metadata = assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
4
4
+
if stdenv.system == "i686-linux" then
5
5
+
{ arch = "x86"; sha256 = "1qmb51k0538pn7gv4nsvhfv33xik4l4af0qmpllkzrikmj8wvzlb"; }
6
6
+
else
7
7
+
{ arch = "x86_64"; sha256 = "12af47jhlrh9aq5b3d13l7cdhlndgnfpy61gz002hajbq7i00ixh"; };
8
8
in stdenv.mkDerivation rec {
9
9
version = "1.2";
10
10
name = "tuxguitar-${version}";