Commit Graph

35 Commits

Author SHA1 Message Date
R. Ryantm
aa32303382 tinygo: 0.33.0 -> 0.34.0 2024-10-26 17:21:07 +00:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Ayke van Laethem
f04a15faf6
tinygo: 0.32.0 -> 0.33.0 2024-09-11 11:45:38 +02:00
Daniel Nagy
2c5d319573
tinygo: repair hydra build
by removing directories from the source, that are not referenced in
the build.
2024-08-24 10:45:00 +02:00
Ayke van Laethem
d07fa3cdac
tinygo: 0.31.2 -> 0.32.0 2024-08-04 19:16:51 +02:00
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
aleksana
592e3845c4 treewide: sha256 -> hash attribute for fetchgit 2024-07-14 19:10:08 +08:00
kirillrdy
5d1a8fcb66
Merge pull request #257183 from TrevorSmale/master
tinygo: fix typo
2024-04-04 19:47:50 +11:00
TS
4079ceddd5 tinygo: fix typo 2024-04-03 23:52:30 +02:00
R. Ryantm
c27a1d2fac tinygo: 0.31.1 -> 0.31.2 2024-03-22 22:40:47 +00:00
Mustafa Çalışkan
512f4ae57c
tinygo: dont set buildid empty 2024-03-04 20:17:45 +01:00
Ayke van Laethem
edcd078d38
tinygo: use our own wasi-libc build (not the Nix version)
We need our own build because we modify the build flags in a particular
way. Also, we've only tested wasi-libc at the version pinned in the
submodule, later versions may or may not work correctly.
2024-03-04 20:17:45 +01:00
Ayke van Laethem
c8f5054348
tinygo: move runtime dependencies out of bootstrapTools
This looks cleaner to me, although I don't know the usual Nix convention
for this sort of thing.
2024-03-04 20:17:45 +01:00
Ayke van Laethem
044b2be6a1
tinygo: 0.30.0 -> 0.31.1
I've dropped a number of patches that were unnecessary after some
improvements in TinyGo to make it work better with in a Nix environment.
2024-03-04 20:17:40 +01:00
Ayke van Laethem
993efa596b
tinygo: clean up Clang header path patch
See the comment in default.nix for details. But basically, there are
only two place that needs a modification to set the correct path.

As a side effect, this makes cross compiling CGo code to Darwin work.
2023-10-12 03:32:48 +02:00
Kirill Radzikhovskyy
16ef368cfb tinygo: 0.26.0 -> 0.30.0 2023-10-11 09:19:18 +11:00
Fabián Heredia Montiel
ff323ed355 treewide: vendorSha256 → vendorHash
via: `find pkgs/ -type f -exec sed -i 's/vendorSha256 = "sha256/vendorHash = "sha256/' {};`
2023-09-13 01:03:44 -06:00
Kirill Radzikhovskyy
ef17252dbc tinygo: fix reproducible vendor 2023-08-10 09:45:30 +10:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Emily Trau
27463cf1d5 tinygo: 0.25.0 -> 0.26.0 2023-01-16 18:09:56 +11:00
Mustafa Çalışkan
db29c11af5 tinygo: 0.23.0 -> 0.25.0 2022-09-16 13:44:04 +03:00
Mustafa Çalışkan
5e3d09b3b0 tinygo: 0.16.0 -> 0.23.0 2022-05-20 00:37:01 +03:00
Madoura
b18031c413
treewide/meta: Remove chiiruno and replace with Madouura (#169096)
* maintainers: remove chiiruno

* nixos/zeronet.nix: replace chiiruno with Madouura

* nixos/hydron: replace chiiruno with Madouura

* nixos/tests/bcachefs: replace chiiruno with Madouura

* lutris: replace chiiruno with Madouura

* qtchan: replace chiiruno with Madouura

* tinygo: replace chiiruno with Madouura

* vlang: replace chiiruno with Madouura

* merkletools: replace chiiruno with Madouura

* easyjson: replace chiiruno with Madouura

* quicktemplate: replace chiiruno with Madouura

* statik: replace chiiruno with Madouura

* dumb: replace chiiruno with Madouura

* sndio: replace chiiruno with Madouura

* hydron: replace chiiruno with Madouura

* edid-decode-unstable: replace chiiruno with Madouura

* tewisay: replace chiiruno with Madouura

* svt-av1: replace chiiruno with Madouura
2022-04-18 02:13:36 +03:00
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Lluís Batlle i Rossell
b996c8d335 tinygo: 0.13.1 -> 0.16.0
And enable microcontroller targets. Works for me for microbit.
2020-12-12 16:56:08 +01:00
zowoq
809f97c099 tinygo: remove enableParallelBuilding = true 2020-08-17 17:13:01 +10:00
zowoq
42313b92bc buildGoModule: remove platform.all from packages 2020-08-15 19:34:47 -07:00
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
zowoq
3c5750d1cd buildGoModule packages: editorconfig fixes 2020-07-31 13:58:04 +10:00
R. RyanTM
fdedbbf4e1 tinygo: 0.13.0 -> 0.13.1 2020-05-20 02:17:42 +00:00
Colin L Rice
d6162dab50
go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01:00
xrelkd
9ce430fc38 tinygo: 0.12.0 -> 0.13.0 2020-04-16 10:20:02 +08:00
R. RyanTM
096ab84b0d tinygo: 0.11.0 -> 0.12.0 2020-03-14 13:52:08 +00:00
R. RyanTM
58c74d1a93 tinygo: 0.10.0 -> 0.11.0 2020-01-26 12:47:37 +00:00
Okina Matara
7741e4462c
tinygo: init at 0.10.0 2019-12-08 01:00:34 -06:00