lol

renoise: Don't use builtins.currentSystem

stdenv.system should be almost always used instead of builtins.currentSystem
or cross-evaluation (e.g. evaluating a i686 NixOS system on a 64-bit nix)
will be subtly broken.

+2 -2
+2 -2
pkgs/applications/audio/renoise/default.nix
··· 6 6 buildInputs = [ libX11 libXext libXcursor libXrandr alsaLib libjack2 ]; 7 7 8 8 src = 9 - if builtins.currentSystem == "x86_64-linux" then 9 + if stdenv.system == "x86_64-linux" then 10 10 if demo then 11 11 fetchurl { 12 12 url = "http://files.renoise.com/demo/Renoise_3_0_1_Demo_x86_64.tar.bz2"; ··· 18 18 name = "rns_3_0_1_linux_x86_64.tar.gz"; 19 19 sha256 = "1yb5w5jrg9dk9fg5rfvfk6p0rxn4r4i32vxp2l9lzhbs02pv15wd"; 20 20 } 21 - else if builtins.currentSystem == "i686-linux" then 21 + else if stdenv.system == "i686-linux" then 22 22 if demo then 23 23 fetchurl { 24 24 url = "http://files.renoise.com/demo/Renoise_3_0_1_Demo_x86.tar.bz2";