We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3588181 commit a14363fCopy full SHA for a14363f
tinygo.nix
@@ -11,7 +11,7 @@ let
11
};
12
"aarch64-darwin" = {
13
url = "https://github.com/tinygo-org/tinygo/releases/download/v${version}/tinygo${version}.darwin-arm64.tar.gz";
14
- sha256 = lib.fakeSha256;
+ sha256 = "sha256-apuuTleq+L+BTNYt9tUn1AI5TspZJXsrsd3dO8s6Uac=";
15
16
"x86_64-linux" = {
17
url = "https://github.com/tinygo-org/tinygo/releases/download/v${version}/tinygo${version}.linux-amd64.tar.gz";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
33
inherit (sources.${stdenv.hostPlatform.system}) url sha256;
34
35
36
- nativeBuildInputs = [ autoPatchelfHook ];
+ nativeBuildInputs = [ ] ++ lib.optionals (!stdenv.isDarwin) [ autoPatchelfHook ];
37
38
installPhase = ''
39
mkdir -p $out
0 commit comments