nodejs: Disable unstableVersion
It's pretty pointless to have an unstable version older than the stable version.
This commit is contained in:
parent
2b5fc4fd73
commit
488d7a70e1
@ -8,7 +8,7 @@ let
|
||||
ln -sv /usr/sbin/dtrace $out/bin
|
||||
'';
|
||||
|
||||
version = if unstableVersion then "0.11.13" else "0.12.0";
|
||||
version = "0.12.0";
|
||||
|
||||
deps = {
|
||||
inherit openssl zlib libuv;
|
||||
@ -32,9 +32,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://nodejs.org/dist/v${version}/node-v${version}.tar.gz";
|
||||
sha256 = if unstableVersion
|
||||
then "1642zj3sajhqflfhb8fsvy84w9mm85wagm8w8300gydd2q6fkmhm"
|
||||
else "0cifd2qhpyrbxx71a4hsagzk24qas8m5zvwcyhx69cz9yhxf404p";
|
||||
sha256 = "0cifd2qhpyrbxx71a4hsagzk24qas8m5zvwcyhx69cz9yhxf404p";
|
||||
};
|
||||
|
||||
configureFlags = concatMap sharedConfigureFlags (builtins.attrNames deps);
|
||||
|
Loading…
Reference in New Issue
Block a user