Commit Graph

15 Commits

Author SHA1 Message Date
Gaetan Lepage
310061a7f9 justbuild: use default version of protobuf 2024-10-14 08:14:46 +02:00
Gaetan Lepage
7de2696dc2 justbuild: add update script 2024-10-14 08:14:46 +02:00
Gaetan Lepage
a9679031d9 justbuild: add tests.version test 2024-10-14 08:14:46 +02:00
Gaetan Lepage
8c4502b9ef justbuild: 1.3.1 -> 1.3.2
Diff:
https://github.com/just-buildsystem/justbuild/compare/v1.3.1...v1.3.2

Changelog:
https://github.com/just-buildsystem/justbuild/releases/tag/v1.3.2
2024-10-14 08:14:46 +02:00
Gaetan Lepage
ffd9d8f0f1 justbuild: format 2024-10-14 08:14:46 +02: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
nicoo
2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Klaus T. Aehlig
258c4925a5 justbuild: 1.2.4 -> 1.3.1
Also
- include just-deduplicate-repos to the installed binaries
- during the build of just-mr reuse the local build root of
  the build of just, in order to avoid building the code shared
  between just and just-mr twice
2024-05-31 20:23:10 +02:00
Christian Lütke Stetzkamp
5c01177666 justbuild: Fix build 2024-04-09 20:05:23 +02:00
Weijia Wang
c317b4b571 justbuild: mark as broken 2024-03-18 14:22:45 +01:00
Christian Lütke Stetzkamp
62123bb51d justbuild: 1.2.1 -> 1.2.4 2024-01-04 20:02:18 +01:00
Aaron Jheng
80aaa46d4c
protobuf: use new package definition only 2023-10-11 13:20:31 +00:00
Stanisław Pitucha
de37bc613c justbuild: partial fixes for darwin
They don't make the build successful, but most issues are removed.
Darwin requires the gcc environment to build.
2023-09-30 10:07:17 +10:00
Christian Lütke Stetzkamp
34fb737d9c justbuild: init at 1.2.1 2023-09-28 14:16:07 +02:00