mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
treewide: Fix eval-release.nix for aarch64
This commit is contained in:
parent
c87ae41764
commit
1508945755
@ -12,7 +12,7 @@ let
|
||||
then "i686-apple-darwin"
|
||||
else if stdenv.system == "x86_64-darwin"
|
||||
then "x86_64-apple-darwin"
|
||||
else abort "missing boostrap url for platform ${stdenv.system}";
|
||||
else throw "missing bootstrap url for platform ${stdenv.system}";
|
||||
|
||||
# fetch hashes by running `print-hashes.sh 1.14.0`
|
||||
bootstrapHash =
|
||||
@ -24,7 +24,7 @@ let
|
||||
then "fe1b3d67329a22d67e3b8db8858a43022e2e746dde60ef4a2db3f2cac16ea9bd"
|
||||
else if stdenv.system == "x86_64-darwin"
|
||||
then "3381341524b0184da5ed2cdcddc2a25e2e335e87f1cf676f64d98ee5e6479f20"
|
||||
else throw "missing boostrap hash for platform ${stdenv.system}";
|
||||
else throw "missing bootstrap hash for platform ${stdenv.system}";
|
||||
|
||||
needsPatchelf = stdenv.isLinux;
|
||||
|
||||
|
@ -5,12 +5,12 @@ let
|
||||
|
||||
platform = if stdenv.system == "x86_64-linux"
|
||||
then "x86_64-unknown-linux-gnu"
|
||||
else abort "missing boostrap url for platform ${stdenv.system}";
|
||||
else throw "missing bootstrap url for platform ${stdenv.system}";
|
||||
|
||||
bootstrapHash =
|
||||
if stdenv.system == "x86_64-linux"
|
||||
then "1v7jvwigb29m15wilzcrk5jmlpaccpzbkhlzf7z5qw08320gvc91"
|
||||
else throw "missing boostrap hash for platform ${stdenv.system}";
|
||||
else throw "missing bootstrap hash for platform ${stdenv.system}";
|
||||
|
||||
needsPatchelf = stdenv.isLinux;
|
||||
|
||||
|
@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.elastic.co/kibana/kibana/${name}-${plat}-${elasticArch}.tar.gz";
|
||||
sha256 = shas."${stdenv.system}";
|
||||
sha256 = shas."${stdenv.system}" or (throw "Unknown architecture");
|
||||
};
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
@ -7,7 +7,7 @@ let
|
||||
else if stdenv.system == "x86_64-darwin" then "bandwidth-mac64"
|
||||
else if stdenv.system == "i686-darwin" then "bandwidth-mac32"
|
||||
else if stdenv.system == "i686-cygwin" then "bandwidth-win32"
|
||||
else null;
|
||||
else throw "Unknown architecture";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "bandwidth-${version}";
|
||||
|
@ -3,7 +3,7 @@
|
||||
let arch =
|
||||
if stdenv.isi686 then "i386"
|
||||
else if stdenv.isx86_64 then "x86_64"
|
||||
else abort "Unknown architecture";
|
||||
else throw "Unknown architecture";
|
||||
in stdenv.mkDerivation rec {
|
||||
name = "grub4dos-${version}";
|
||||
version = "0.4.6a-2016-12-24";
|
||||
|
Loading…
Reference in New Issue
Block a user